| [ Index ] |
PHP Cross Reference of Drupal 6 (yi-drupal) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 395 lines (16 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
date_api_argument_handler:: (17 methods):
construct()
init()
option_definition()
export_plugin()
options_form()
options_validate()
options_submit()
admin_summary()
get_default_argument()
format()
summary_name()
summary_argument()
title()
summary_query()
get_query_fields()
pre_query()
query()
Class: date_api_argument_handler - X-Ref
Date API argument handler.| construct() X-Ref |
| No description |
| init(&$view, $options) X-Ref |
| Get granularity and use it to create the formula and a format for the results. |
| option_definition() X-Ref |
| Default value for the date_fields option. |
| export_plugin($indent, $prefix, $storage, $option, $definition, $parents) X-Ref |
| Make sure our custom options get exported. Handle the options we know about, pass the rest to the parent plugin. |
| options_form(&$form, &$form_state) X-Ref |
| Add a form element to select date_fields for this argument. |
| options_validate($form, &$form_state) X-Ref |
| No description |
| options_submit($form, &$form_state) X-Ref |
| No description |
| admin_summary() X-Ref |
| No description |
| get_default_argument($raw = FALSE) X-Ref |
| Set the empty argument value to the current date, formatted appropriately for this argument. |
| format() X-Ref |
| No description |
| summary_name($data) X-Ref |
| Provide a link to the next level of the view from the summary. |
| summary_argument($data) X-Ref |
| Provide the argument to use to link from the summary to the next level; this will be called once per row of a summary, and used as part of $view->get_url(). param: $data |
| title() X-Ref |
| Provide a link to the next level of the view from the argument. |
| summary_query() X-Ref |
| Create a summary query that matches the granularity. Needed or Views will do a groupby on the complete date instead of only the part of the date actually used in the argument. |
| get_query_fields() X-Ref |
| No description |
| pre_query() X-Ref |
| Make sure the date field is added to the query. Do this in pre_query() so it will get done even if the argument is the wildcard, since query() is skipped when the wildcard is used. |
| query() X-Ref |
| Set up the query for this argument. The argument sent may be found at $this->argument. |
| Generated: Mon Jul 9 18:01:44 2012 | Cross-referenced by PHPXref 0.7 |