示例#1
0
 /**
  * Method description
  *
  * More detailed method description
  * @param    string $id    
  * @return   void
  */
 function setID($id = null)
 {
     if (!isset($id) || !is_scalar($id)) {
         $id = "__w" . self::$w_counter++;
     }
     parent::setId($id);
     $this->setIDLower(strtolower($this->getId()));
     $this->setClassLower(strtolower(get_class($this)));
     //$this->id = "".$id;
     //$this->setHTMLId($this->getId());
 }
示例#2
0
文件: WStyle.php 项目: point/cassea
 /**
  * Method description
  *
  * More detailed method description
  * @param    array $params
  */
 function __construct($id = null)
 {
     parent::__construct($id);
 }