public function executeGetList(\Library\HttpRequest $rq = NULL, $sessionTask = NULL, $isAjaxCall = FALSE) { // Init result $result = $this->InitResponseWS(); //Init PDO $list = array(); $project = \Applications\PMTool\Helpers\ProjectHelper::GetCurrentSessionProject($this->app()->user()); if ($sessionTask === NULL) { \Applications\PMTool\Helpers\TaskHelper::GetTaskListFromDb($this); } if ($isAjaxCall) { $step_result = $result[\Library\Enums\SessionKeys::ProjectTasks] !== NULL ? "success" : "error"; $this->SendResponseWS($result, array("resx_file" => \Applications\PMTool\Resources\Enums\ResxFileNameKeys::Task, "resx_key" => $this->action(), "step" => $step_result)); } }