Ejemplo n.º 1
0
 public function __construct($title = '')
 {
     parent::__construct();
     if ($title) {
         $this->setOption('title', $title);
     }
     $this->addSemanticType('panel');
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
Archivo: Tab.php Proyecto: gsouf/uform
 public function __construct($title = null)
 {
     parent::__construct($title);
     $this->setOption('title', $title);
     $this->addSemanticType('tab');
 }
Ejemplo n.º 4
0
 public function __construct()
 {
     parent::__construct();
     $this->addSemanticType('columnGroup');
 }
Ejemplo n.º 5
0
 public function __construct()
 {
     parent::__construct();
     $this->addSemanticType('inline');
 }