public function Link($action = null)
 {
     if (!$action) {
         $action = $this->sanitiseClassName($this->modelClass);
     }
     return parent::Link($action);
 }
 /**
  * Returns the link to the report admin section, or the specific report that is currently displayed
  * @return String
  */
 public function Link($action = null)
 {
     if ($this->reportObject) {
         $link = $this->reportObject->getLink($action);
     } else {
         $link = self::join_links(parent::Link('index'), $action);
     }
     return $link;
 }
Пример #3
0
	/**
	 * Returns the link to the report admin section, or the specific report that is currently displayed
	 * @return String
	 */
	public function Link($action = null) {
		$link = parent::Link($action);
		if ($this->reportObject) $link = $this->reportObject->getLink($action);
		return $link;
	}
Пример #4
0
 public function Link($action = null)
 {
     if (!$action) {
         $action = $this->modelClass;
     }
     return parent::Link($action);
 }
Пример #5
0
 /**
  * Returns the link to the report admin section, or the specific report that is currently displayed
  * @return String
  */
 public function Link($action = null)
 {
     return self::join_links(parent::Link('index'), $action);
 }