コード例 #1
0
ファイル: DateTimeSelect.php プロジェクト: JeoffScott/dyplom
 /**
  * Constructor. Add the hour, minute and second select elements
  *
  * @param  null|int|string  $name    Optional name for the element
  * @param  array            $options Optional options for the element
  */
 public function __construct($name = null, $options = array())
 {
     parent::__construct($name, $options);
     $this->hourElement = new Select('hour');
     $this->minuteElement = new Select('minute');
     $this->secondElement = new Select('second');
 }