public function __construct($title = '') { parent::__construct(); if ($title) { $this->setOption('title', $title); } $this->addSemanticType('panel'); }
public function __construct($width, $scale = 100) { parent::__construct(); $this->addSemanticType('column'); if ($width < 0) { throw new Exception('Column width cant be negative'); } if ($scale <= 0) { throw new Exception('Column width cant be 0 or negative'); } $this->width = $width; $this->scale = $scale; }
public function __construct($title = null) { parent::__construct($title); $this->setOption('title', $title); $this->addSemanticType('tab'); }
public function __construct() { parent::__construct(); $this->addSemanticType('columnGroup'); }
public function __construct() { parent::__construct(); $this->addSemanticType('inline'); }