public function __construct($res, $type = false, $item_type = false, $data_type = false) { if (!$item_type) { $item_type = "GridDataItem"; } if (!$data_type) { $data_type = "KeyGridDataProcessor"; } parent::__construct($res, $type, $item_type, $data_type); $this->event->attach("beforeProcessing", array($this, "before_check_key")); $this->event->attach("afterProcessing", array($this, "after_check_key")); }
public function __construct($res, $type = false, $item_type = false, $data_type = false) { if (!$item_type) { $item_type = "TreeGridDataItem"; } if (!$data_type) { $data_type = "TreeGridDataProcessor"; } parent::__construct($res, $type, $item_type, $data_type); $this->event->attach("afterInsert", array($this, "parent_id_correction_a")); $this->event->attach("beforeProcessing", array($this, "parent_id_correction_b")); }
public function __construct($res, $type = false, $item_type = false, $data_type = false, $render_type = false) { if (!$item_type) { $item_type = "TreeGridDataItem"; } if (!$data_type) { $data_type = "TreeGridDataProcessor"; } if (!$render_type) { $render_type = "TreeRenderStrategy"; } parent::__construct($res, $type, $item_type, $data_type, $render_type); }
function __construct($res, $type = "MySQL") { parent::__construct($res, $type); }