/[drupal]/contributions/modules/apachesolr/apachesolr.d6.inc
ViewVC logotype

Diff of /contributions/modules/apachesolr/apachesolr.d6.inc

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

revision 1.1.2.1, Tue Sep 22 15:30:33 2009 UTC revision 1.1.2.2, Thu Nov 5 17:17:21 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id$  // $Id: apachesolr.d6.inc,v 1.1.2.1 2009/09/22 15:30:33 claudiucristea Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 77  function db_type_placeholder($type) { Line 77  function db_type_placeholder($type) {
77    // will cause the query to fail.    // will cause the query to fail.
78    return 'unsupported type '. $type .'for db_type_placeholder';    return 'unsupported type '. $type .'for db_type_placeholder';
79  }  }
   
 function menu_get_object($type = 'node', $position = 1, $path = NULL) {  
   $router_item = menu_get_item($path);  
   if (isset($router_item['load_functions'][$position]) && !empty($router_item['map'][$position]) && $router_item['load_functions'][$position] == $type .'_load') {  
     return $router_item['map'][$position];  
   }  
 }  

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

  ViewVC Help
Powered by ViewVC 1.1.2