Ejemplo 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 ComponentContainer(), 'filters');
     $this->header = Html::el();
     $this->cell = Html::el();
     $this->caption = $caption;
     if ($maxLength !== NULL) {
         $this->maxLength = $maxLength;
     }
     $this->monitor('DataGrid');
 }
Ejemplo n.º 2
0
 /**
  */
 public function __construct(IComponentContainer $parent = NULL, $name = NULL)
 {
     $this->monitor('Presenter');
     parent::__construct($parent, $name);
 }
Ejemplo n.º 3
0
 function __construct(IComponentContainer $parent = NULL, $name = NULL)
 {
     $this->monitor('Nette\\Application\\Presenter');
     parent::__construct($parent, $name);
 }