/** * Construct. * * @param string $tag Element tag. * @param array $attributes Attributes. */ public function __construct($tag, $attributes = array()) { parent::__construct($tag, $attributes); $this->childAttributes = new Attributes(); }
/** * Construct. * * @param array $attributes The default html attributes. */ public function __construct($attributes = array()) { parent::__construct('label', $attributes); }