public function __construct($id, $DataSource, $header = true, $paginator = false, $useajax = false) { AbstractList::__construct($id, $DataSource); $this->header = $header; $this->paginator = $paginator; $this->useajax = $useajax; }
/** * Конструктор * @param mixed ID компонента * @param mixed ID строки * @param mixed Провадер данных для таблицы */ public function __construct($id, $DataSource, EventReceiver $receiver, $handler) { AbstractList::__construct($id, $DataSource); $this->rowevent = new Event($receiver, $handler); }