/** * Constructor. * Initializes the type to 'Item'. */ public function __construct() { $this->type = self::TYPE_ITEM; parent::__construct(); }
/** * Constructor. * Sets TagName property to 'a'. */ public function __construct() { parent::__construct(); $this->setTagName('a'); }
/** * Constructor. * This method sets the foreground color to red. */ public function __construct() { parent::__construct(); $this->setForeColor('red'); }
public function __construct() { parent::__construct(); $this->menuItems = new TCollection(); }
/** * Set the items list to be empty. * @return void */ public function __construct() { $this->items = new TCollection(); parent::__construct(); }
/** * Constructor. * Sets TagName property to 'input'. */ function __construct() { parent::__construct(); $this->setTagName('input'); }
/** * Constructor. */ function __construct() { parent::__construct(); // $this->setTagName('span'); }