public function __construct($label, $name, array $properties = null) { $this->_attributes["placeholder"] = "YYYY-Www (e.g. " . date("Y-\\WW") . ")"; $this->_attributes["title"] = $this->_attributes["placeholder"]; parent::__construct($label, $name, $properties); }
/** * @param String $name the name for this control. * @param String $displayUnit Full Zend_Measure unit. * For example: 'Zend_Measure_Temperature::CELSIUS' */ public function __construct($name, $displayUnit) { parent::__construct($name); $this->displayUnit = $displayUnit; }
public function __construct($sLabel, $sName, array $aProperties = null, $bMailCheck = true) { $this->_bMailCheck = $bMailCheck; parent::__construct($sLabel, $sName, $aProperties); }