/** * Method description * * More detailed method description * @param array * @return void */ function parseParams(SimpleXMLElement $elem) { if (isset($elem['dateformat'])) { $this->setDateFormat((string) $elem['dateformat']); } $this->addToMemento(array("dateformat")); parent::parseParams($elem); }
/** * Method description * * More detailed method description * @param array * @return void */ function parseParams(SimpleXMLElement $elem) { if (isset($elem['step'])) { $this->setStep((int) $elem['step']); } if (isset($elem['min'])) { $this->setMin((int) $elem['min']); } if (isset($elem['max'])) { $this->setMax((int) $elem['max']); } if (isset($elem['text'])) { $this->setText((string) $elem['text']); } $this->setSize(5); $this->addToMemento(array("step", "min", "max", "text")); parent::parseParams($elem); }