Exemplo n.º 1
0
 /**
  * Data grid column constructor.
  * @param  string  textual caption of column
  * @param  int     maximum number of dislayed characters
  */
 public function __construct($caption = NULL, $maxLength = NULL)
 {
     parent::__construct();
     $this->addComponent(new Nette\ComponentModel\Container(), 'filters');
     $this->header = Html::el();
     $this->cell = Html::el();
     $this->caption = $caption;
     if ($maxLength !== NULL) {
         $this->maxLength = $maxLength;
     }
     $this->monitor('DataGrid\\DataGrid');
 }
Exemplo n.º 2
0
 /**
  */
 public function __construct(Nette\ComponentModel\IContainer $parent = NULL, $name = NULL)
 {
     $this->monitor('Nette\\Application\\UI\\Presenter');
     parent::__construct($parent, $name);
 }
Exemplo n.º 3
0
 public function __construct(Nette\ComponentModel\IContainer $parent = NULL, $name = NULL)
 {
     parent::__construct($parent, $name);
     $this->monitor('Zax\\Application\\Routers\\NiceUrl\\NiceUrl');
 }
Exemplo n.º 4
0
 public function __construct($caption, $icon = null)
 {
     parent::__construct();
     $this->caption = $caption;
     $this->icon = $icon;
 }