/[drupal]/contributions/modules/views/includes/plugins.inc
ViewVC logotype

Diff of /contributions/modules/views/includes/plugins.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.152.2.5, Thu Sep 24 23:28:23 2009 UTC revision 1.152.2.6, Wed Nov 11 01:08:29 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: plugins.inc,v 1.152.2.4 2009/09/21 21:25:53 merlinofchaos Exp $  // $Id: plugins.inc,v 1.152.2.5 2009/09/24 23:28:23 merlinofchaos Exp $
3  /**  /**
4   * @file plugins.inc   * @file plugins.inc
5   * Built in plugins for Views output handling.   * Built in plugins for Views output handling.
# Line 267  function views_views_plugins() { Line 267  function views_views_plugins() {
267          'help topic' => 'cache-time',          'help topic' => 'cache-time',
268        ),        ),
269      ),      ),
270        'exposed_form' => array(
271          'parent' => array(
272            'no ui' => TRUE,
273            'handler' => 'views_plugin_exposed_form',
274            'parent' => '',
275          ),
276          'basic' => array(
277            'title' => t('Basic'),
278            'help' => t('Basic exposed form'),
279            'handler' => 'views_plugin_exposed_form_basic',
280            'uses options' => TRUE,
281            'help topic' => 'exposed-form-basic',
282          ),
283          'input_required' => array(
284            'title' => t('Input required'),
285            'help' => t('An exposed form that only renders a view if the form contains user input.'),
286            'handler' => 'views_plugin_exposed_form_input_required',
287            'uses options' => TRUE,
288            'help topic' => 'exposed-form-input-required',
289          ),
290        ),
291    );    );
292  }  }
293    
# Line 276  function views_views_plugins() { Line 297  function views_views_plugins() {
297   * @return Nested array of plugins, grouped by type.   * @return Nested array of plugins, grouped by type.
298   */   */
299  function views_discover_plugins() {  function views_discover_plugins() {
300    $cache = array('display' => array(), 'style' => array(), 'row' => array(), 'argument default' => array(), 'argument validator' => array(), 'access' => array(), 'cache' => array());    $cache = array('display' => array(), 'style' => array(), 'row' => array(), 'argument default' => array(), 'argument validator' => array(), 'access' => array(), 'cache' => array(), 'exposed_form' => array());
301    // Get plugins from all mdoules.    // Get plugins from all mdoules.
302    foreach (module_implements('views_plugins') as $module) {    foreach (module_implements('views_plugins') as $module) {
303      $function = $module . '_views_plugins';      $function = $module . '_views_plugins';

Legend:
Removed from v.1.152.2.5  
changed lines
  Added in v.1.152.2.6

  ViewVC Help
Powered by ViewVC 1.1.2