Example #1
0
 /**
  * 
  * @param string $content
  * @param array $options
  */
 public function __construct($content = '', $options = null)
 {
     if (is_array($content)) {
         $options = $content;
         $content = '';
     }
     parent::__construct('span', $content, $options);
     $this->addClass('help-block');
 }
Example #2
0
 /**
  * 
  * @param mixed $content
  * @param mixed $options
  */
 public function __construct($content = '', $options = null)
 {
     parent::__construct('div', $content, $options);
 }
 /**
  * 
  * @param mixed $content
  * @param mixed $options
  */
 public function __construct($content = '', $options = null)
 {
     parent::__construct('div', $content, $options);
     $this->addClass('input-group');
 }