Perforce Chronicle 2012.2/486814
API Documentation
|
Specialized version of Zend_Validate_Callback that allows construction without a callback function. More...
Public Member Functions | |
__construct ($callback=null) | |
Make callback optional. |
Specialized version of Zend_Validate_Callback that allows construction without a callback function.
This is useful when the callback function wants a reference to the validator.
P4Cms_Validate_Callback::__construct | ( | $ | callback = null | ) |
Make callback optional.
callable | null | $callback | the callback to use or null |
{ if ($callback) { parent::__construct($callback); } }