• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • File List

E:/E/GEAMP/www/openbiz/openbiz/bin/easy/element/LabelPassword.php

00001 <?PHP
00017 include_once("LabelText.php");
00018 
00028 class LabelPassword extends LabelText
00029 {
00030     public $m_Sortable;
00031     public $m_ColumnStyle;
00032     public $m_MaskChar;
00033     public $m_MaskLength;
00034 
00041     protected function readMetaData(&$xmlArr)
00042     {
00043         parent::readMetaData($xmlArr);
00044         $this->m_MaskChar = isset($xmlArr["ATTRIBUTES"]["MASKCHAR"]) ? $xmlArr["ATTRIBUTES"]["MASKCHAR"] : "*";
00045         $this->m_MaskLength = isset($xmlArr["ATTRIBUTES"]["MASKLENGTH"]) ? $xmlArr["ATTRIBUTES"]["MASKLENGTH"] : 6;
00046     }
00047 
00053     public function render()
00054     {
00055         $sHTML = "<span $style $func> ".str_repeat($this->m_MaskChar, $this->m_MaskLength)." </span>";
00056         return $sHTML;
00057     }
00058 
00059 }
00060 
00061 ?>

Generated on Thu Apr 19 2012 17:09:13 for openbiz by  doxygen 1.7.2