コード例 #1
0
ファイル: WComponent.php プロジェクト: point/cassea
 /**
  * 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);
 }