Zend_Validate_StringLength::getMax PHP Méthode

getMax() public méthode

Returns the max option
public getMax ( ) : integer | null
Résultat integer | null
    public function getMax()
    {
        return $this->_max;
    }

Usage Example

 /**
  * Ensures that getMax() returns expected default value
  *
  * @return void
  */
 public function testGetMax()
 {
     $this->assertEquals(null, $this->_validator->getMax());
 }