本文整理汇总了PHP中LeftAndMain::Link方法的典型用法代码示例。如果您正苦于以下问题:PHP LeftAndMain::Link方法的具体用法?PHP LeftAndMain::Link怎么用?PHP LeftAndMain::Link使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类LeftAndMain
的用法示例。
在下文中一共展示了LeftAndMain::Link方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Link
public function Link($action = null)
{
if (!$action) {
$action = $this->sanitiseClassName($this->modelClass);
}
return parent::Link($action);
}
示例2: Link
/**
* 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: Link
/**
* 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: Link
public function Link($action = null)
{
if (!$action) {
$action = $this->modelClass;
}
return parent::Link($action);
}
示例5: Link
/**
* 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);
}