You are here

function views_plugin_argument_default::get_argument in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 plugins/views_plugin_argument_default.inc \views_plugin_argument_default::get_argument()
  2. 7.3 plugins/views_plugin_argument_default.inc \views_plugin_argument_default::get_argument()

Return the default argument.

2 calls to views_plugin_argument_default::get_argument()
views_plugin_argument_default::argument_form in plugins/views_plugin_argument_default.inc
views_plugin_argument_default_php::get_argument in plugins/views_plugin_argument_default_php.inc
Return the default argument.
5 methods override views_plugin_argument_default::get_argument()
views_plugin_argument_default_current_user::get_argument in modules/user/views_plugin_argument_default_current_user.inc
Return the default argument.
views_plugin_argument_default_node::get_argument in modules/node/views_plugin_argument_default_node.inc
Return the default argument.
views_plugin_argument_default_php::get_argument in plugins/views_plugin_argument_default_php.inc
Return the default argument.
views_plugin_argument_default_taxonomy_tid::get_argument in modules/taxonomy/views_plugin_argument_default_taxonomy_tid.inc
Return the default argument.
views_plugin_argument_default_user::get_argument in modules/user/views_plugin_argument_default_user.inc
Return the default argument.

File

plugins/views_plugin_argument_default.inc, line 70
Contains the fixed argument default plugin.

Class

views_plugin_argument_default
The fixed argument default handler; also used as the base.

Code

function get_argument() {
  return isset($this->argument->options[$this->option_name]) ? $this->argument->options[$this->option_name] : '';
}