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;
 }
示例#2
0
 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";
 }
示例#3
0
 /**
  * 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;
 }
示例#4
0
 /**
  * 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;
 }
示例#5
0
 public function render()
 {
     $sHTML = parent::render();
     $sHTML = $sHTML . $this->getIDPrefix();
     return $sHTML;
 }
示例#6
0
 protected function readMetaData(&$xmlArr)
 {
     parent::readMetaData($xmlArr);
     $this->prefix = isset($xmlArr["ATTRIBUTES"]["URLPREFIX"]) ? $xmlArr["ATTRIBUTES"]["URLPREFIX"] : null;
     $this->prefix = Expression::evaluateExpression($this->prefix, $this);
 }