protected function readMetaData(&$xmlArr) { parent::readMetaData($xmlArr); $this->currentCss = isset($xmlArr["ATTRIBUTES"]["CURRENTCSSCLASS"]) ? $xmlArr["ATTRIBUTES"]["CURRENTCSSCLASS"] : null; $this->currentPage = isset($xmlArr["ATTRIBUTES"]["CURRENTPAGE"]) ? $xmlArr["ATTRIBUTES"]["CURRENTPAGE"] : null; $this->totalPage = isset($xmlArr["ATTRIBUTES"]["TOTALPAGE"]) ? $xmlArr["ATTRIBUTES"]["TOTALPAGE"] : null; }
protected function readMetaData(&$xmlArr) { parent::readMetaData($xmlArr); $this->cssClass = isset($xmlArr["ATTRIBUTES"]["CSSCLASS"]) ? $xmlArr["ATTRIBUTES"]["CSSCLASS"] : "element_spacer"; $this->cssErrorClass = isset($xmlArr["ATTRIBUTES"]["CSSERRORCLASS"]) ? $xmlArr["ATTRIBUTES"]["CSSERRORCLASS"] : $this->cssClass . "_error"; $this->cssFocusClass = isset($xmlArr["ATTRIBUTES"]["CSSFOCUSCLASS"]) ? $xmlArr["ATTRIBUTES"]["CSSFOCUSCLASS"] : $this->cssClass . "_focus"; }
/** * Read array meta data, and store to meta object * * @param array $xmlArr * @return void */ protected function readMetaData(&$xmlArr) { parent::readMetaData($xmlArr); $this->trueImg = isset($xmlArr["ATTRIBUTES"]["TRUEIMG"]) ? $xmlArr["ATTRIBUTES"]["TRUEIMG"] : "flag_y.gif"; $this->falseImg = isset($xmlArr["ATTRIBUTES"]["FALSEIMG"]) ? $xmlArr["ATTRIBUTES"]["FALSEIMG"] : "flag_n.gif"; $this->trueValue = isset($xmlArr["ATTRIBUTES"]["TRUEVALUE"]) ? $xmlArr["ATTRIBUTES"]["TRUEVALUE"] : true; $this->falseValue = isset($xmlArr["ATTRIBUTES"]["FLASEVALUE"]) ? $xmlArr["ATTRIBUTES"]["FLASEVALUE"] : false; }
/** * Read array meta data, and store to meta object * * @param array $xmlArr * @return void */ protected function readMetaData(&$xmlArr) { parent::readMetaData($xmlArr); $this->maskChar = isset($xmlArr["ATTRIBUTES"]["MASKCHAR"]) ? $xmlArr["ATTRIBUTES"]["MASKCHAR"] : "*"; $this->maskLength = isset($xmlArr["ATTRIBUTES"]["MASKLENGTH"]) ? $xmlArr["ATTRIBUTES"]["MASKLENGTH"] : 6; }
public function render() { $sHTML = parent::render(); $sHTML = $sHTML . $this->getIDPrefix(); return $sHTML; }
protected function readMetaData(&$xmlArr) { parent::readMetaData($xmlArr); $this->prefix = isset($xmlArr["ATTRIBUTES"]["URLPREFIX"]) ? $xmlArr["ATTRIBUTES"]["URLPREFIX"] : null; $this->prefix = Expression::evaluateExpression($this->prefix, $this); }