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