function views_content_context_get_output

API function to get the view.

12 calls to views_content_context_get_output()
views_content_node_from_view_context in views_content/plugins/relationships/node_from_view.inc
Return a new context based on an existing context.
views_content_term_from_view_context in views_content/plugins/relationships/term_from_view.inc
Return a new context based on an existing context.
views_content_user_from_view_context in views_content/plugins/relationships/user_from_view.inc
Return a new context based on an existing context.
views_content_views_attachments_content_type_render in views_content/plugins/content_types/views_attachments.inc
Render the node_terms content type.
views_content_views_empty_content_type_render in views_content/plugins/content_types/views_empty.inc
Render the node_terms content type.

... See full list

File

views_content/views_content.module, line 178

Code

function views_content_context_get_output(&$context) {
    if (empty($context->output)) {
        $view = views_content_context_get_view($context);
        $context->output = $view->execute_display($context->data['display']);
    }
    return $context->output;
}