Return to Snippet

Revision: 67440
at September 22, 2014 23:15 by rnauka


Initial Code
public function isValid($value, $context = null)
    {
    $this->setValue($value);
    $value = $this->getValue();
     
    if ((('' === $value) || (null === $value))
    && !$this->isRequired()
    && $this->getAllowEmpty()
    ) {
    return true;
    }
    //....
     
    }

Initial URL


Initial Description
Zend_Form_Element isValidreview

Initial Title
Zend_Form_Element isValid

Initial Tags


Initial Language
PHP