/** * 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'); }
/** */ public function __construct(Nette\ComponentModel\IContainer $parent = NULL, $name = NULL) { $this->monitor('Nette\\Application\\UI\\Presenter'); parent::__construct($parent, $name); }
public function __construct(Nette\ComponentModel\IContainer $parent = NULL, $name = NULL) { parent::__construct($parent, $name); $this->monitor('Zax\\Application\\Routers\\NiceUrl\\NiceUrl'); }
public function __construct($caption, $icon = null) { parent::__construct(); $this->caption = $caption; $this->icon = $icon; }