public function view::get_path in Views (for Drupal 7) 7.3
Same name and namespace in other branches
- 6.3 includes/view.inc \view::get_path()
- 6.2 includes/view.inc \view::get_path()
Get the base path used for this view.
1 call to view::get_path()
- view::get_url in includes/
view.inc - Get the URL for the current view.
File
- includes/
view.inc, line 1695 - views_objects Objects that represent a View or part of a view
Class
- view
- An object to contain all of the data to generate a view.
Code
public function get_path() {
if (!empty($this->override_path)) {
return $this->override_path;
}
if (empty($this->display_handler)) {
if (!$this
->set_display('default')) {
return FALSE;
}
}
return $this->display_handler
->get_path();
}