/[drupal]/contributions/modules/views/modules/node/views_plugin_argument_default_node.inc
ViewVC logotype

Diff of /contributions/modules/views/modules/node/views_plugin_argument_default_node.inc

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

revision 1.1 by merlinofchaos, Wed Sep 3 19:21:29 2008 UTC revision 1.1.2.1 by merlinofchaos, Thu Nov 26 00:35:16 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: comment.views_default.inc,v 1.6 2008/06/10 21:30:43 merlinofchaos Exp $  // $Id: views_plugin_argument_default_node.inc,v 1.1 2008/09/03 19:21:29 merlinofchaos Exp $
3  /**  /**
4   * @file   * @file
5   * Contains the node from URL argument default plugin.   * Contains the node from URL argument default plugin.
# Line 7  Line 7 
7    
8  /**  /**
9   * Default argument plugin to extract a node via menu_get_object   * Default argument plugin to extract a node via menu_get_object
10     *
11     * This plugin actually has no options so it odes not need to do a great deal.
12   */   */
13  class views_plugin_argument_default_node extends views_plugin_argument_default {  class views_plugin_argument_default_node extends views_plugin_argument_default {
   function argument_form(&$form, &$form_state) {  
   }  
   
14    function get_argument() {    function get_argument() {
15      foreach (range(1, 3) as $i) {      foreach (range(1, 3) as $i) {
16        $node = menu_get_object('node', $i);        $node = menu_get_object('node', $i);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.2.1

  ViewVC Help
Powered by ViewVC 1.1.3