/** * * @param string $identifier the id */ public function __construct($identifier, $value = "", $items = array(), $cssStyle = null, $onClick = null) { parent::__construct($identifier, "", $cssStyle, $onClick); $this->_template = (include 'templates/tplDropdown.php'); $this->btnCaption = $value; $this->tagName = "a"; $this->fromArray($items); if ($cssStyle !== NULL) { $this->asButton($cssStyle); } }