Beispiel #1
0
 /**
  * Render the location within the object hierarchy.
  * @param boolean $use_links Show objects as links?
  * @param string $separator Optional separator. If not set, {@link APPLICATION_DISPLAY_OPTIONS::$obj_url_separator} is used.
  * @param TITLE_FORMATTER $formatter Optional formatter to use.
  * @return string
  */
 public function object_url($use_links, $separator = null, $formatter = null)
 {
     $Result = parent::object_url($use_links, $separator, $formatter);
     $branch = $this->branch();
     $branch_url = $branch->object_url($use_links, $separator, $formatter);
     if (!isset($separator)) {
         $separator = $this->app->display_options->obj_url_separator;
     }
     return $branch_url . $separator . $Result;
 }