You are here

function views_content_cache_key::view_key_from_arguments in Views content cache 6.2

Same name and namespace in other branches
  1. 7.3 plugins/views_content_cache/base.inc \views_content_cache_key::view_key_from_arguments()

Returns an array of views arguments that can supply valid key values.

Plugins can define types of arguments that can optionally be checked for key values when looking up cache segments.

Return value

An array of argument handler classes that this plugin supports.

2 calls to views_content_cache_key::view_key_from_arguments()
views_content_cache_key::additional_options_for_arguments in plugins/base.inc
Handy helper method that scans the given view looking for arguments.
views_content_cache_key::view_key in plugins/base.inc
An array of keys to check in this cache segment when viewing the view.
2 methods override views_content_cache_key::view_key_from_arguments()
views_content_cache_key_node::view_key_from_arguments in plugins/node.inc
We support using the node type argument for the view key
views_content_cache_key_og::view_key_from_arguments in plugins/og.inc
Returns an array of views arguments that can supply valid key values.

File

plugins/base.inc, line 112

Class

views_content_cache_key
Base class for the views content cache plugins.

Code

function view_key_from_arguments() {
  return array();
}