public function init($id, $mod, $query) { $this->id = $id; $this->mod = $mod; $this->query = $query; $this->formInfo = CalemReportUtil::getReportById($this->id, $this->mod); //Initializing data model $this->createDataModel(); //Init render $this->createRender(); }