Beispiel #1
0
 /**
  * (non-PHPdoc)
  * @see library/Zend/Form/Zend_Form_Element#init()
  */
 public function init()
 {
     parent::init();
     // call the CrFramework form element common init function
     // refer to CrFramework_Form_Element_ElementCommon.php
     CrFramework_Form_Element_ElementCommon::init($this, $this->_cssClass);
 }
Beispiel #2
0
 /**
  * set string length validator
  * @param $min
  * @param $max
  */
 public function setStringLength($min, $max)
 {
     // call the CrFramework form element common setStringLength function
     // refer to CrFramework_Form_Element_ElementCommon.php
     CrFramework_Form_Element_ElementCommon::setStringLength($this, $min, $max);
 }