ActiveSubmissionsListGridHandler::loadData PHP Method

loadData() protected method

protected loadData ( $request, $filter )
    protected function loadData($request, $filter)
    {
        $submissionDao = Application::getSubmissionDAO();
        $context = $request->getContext();
        $rangeInfo = $this->getGridRangeInfo($request, $this->getId());
        list($search, $column, $stageId) = $this->getFilterValues($filter);
        $title = $author = $editor = null;
        if ($column == 'title') {
            $title = $search;
        } elseif ($column == 'author') {
            $author = $search;
        } elseif ($column == 'editor') {
            $editor = $search;
        }
        $nonExistingUserId = 0;
        return $submissionDao->getActiveSubmissions($context->getId(), $title, $author, $editor, $stageId, $rangeInfo, $filter['orphaned']);
    }