/** * 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'); }
/** */ public function __construct(IComponentContainer $parent = NULL, $name = NULL) { $this->monitor('Presenter'); parent::__construct($parent, $name); }
function __construct(IComponentContainer $parent = NULL, $name = NULL) { $this->monitor('Nette\\Application\\Presenter'); parent::__construct($parent, $name); }