/** * 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()); }
/** * Method description * * More detailed method description * @param array $params */ function __construct($id = null) { parent::__construct($id); }