public function createView($records)
    {
        if ($records instanceof Content) {
            $this->processSingleRecord($records);
        } elseif ($records instanceof QueryResultset) {
            $this->processRecords($records);
        }

        return $records;
    }