Ejemplo n.º 1
0
 /**
  * Constructs the class with given parameters and parses object related
  * data.
  *
  * @param HausDesign_Io_Reader $reader The reader object.
  * @param Array $options The options array.
  */
 public function __construct($reader = null, &$options = array())
 {
     parent::__construct($reader, $options, 'HHmm');
     $this->_hours = substr($this->getText(), 0, 2);
     $this->_minutes = substr($this->getText(), 2, 2);
 }
Ejemplo n.º 2
0
 /**
  * Constructs the class with given parameters and parses object related
  * data.
  *
  * @param HausDesign_Io_Reader $reader The reader object.
  * @param Array $options The options array.
  */
 public function __construct($reader = null, &$options = array())
 {
     parent::__construct($reader, $options, 'Y');
 }