Ejemplo n.º 1
0
 public function __construct($identifier)
 {
     parent::__construct($identifier, "input");
     $this->setProperty("name", $identifier);
     $this->setProperty("class", "form-control");
     $this->setProperty("role", "input");
     $this->setProperty("value", "");
     $this->setProperty("type", "text");
 }
 public function __construct($identifier, $tagName = "p")
 {
     parent::__construct($identifier, $tagName);
     $this->_template = "<%tagName% id='%identifier%' %properties%>%wrapContentBefore%%content%%wrapContentAfter%</%tagName%>";
 }
Ejemplo n.º 3
0
 public function __construct($identifier)
 {
     parent::__construct($identifier, "span");
     $this->_template = '<span class="glyphicon %glyphicon%" aria-hidden="true"></span>';
 }
Ejemplo n.º 4
0
 public function __construct($identifier)
 {
     parent::__construct($identifier, "img");
 }