コード例 #1
0
ファイル: Week.php プロジェクト: Trieg/php-form-builder-class
 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);
 }
コード例 #2
0
 /** 
  * @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;
 }
コード例 #3
0
 public function __construct($sLabel, $sName, array $aProperties = null, $bMailCheck = true)
 {
     $this->_bMailCheck = $bMailCheck;
     parent::__construct($sLabel, $sName, $aProperties);
 }