| 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 |
| 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]; |
|
|
} |
|
|
} |
|