summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/controls/DocLink.php
diff options
context:
space:
mode:
authorCiro Mattia Gonano <ciromattia@gmail.com>2013-09-11 15:56:48 +0200
committerCiro Mattia Gonano <ciromattia@gmail.com>2013-09-11 15:57:07 +0200
commit3069eaf35e833ffe4a1c1c7829dd7e168ae27420 (patch)
treed0c2e4d934cc34ba7d4232f759923b5a257dcb21 /demos/quickstart/protected/controls/DocLink.php
parentb833247ce597ec26159b46c8dfbea7f1e265950b (diff)
Merge up to r3319
Diffstat (limited to 'demos/quickstart/protected/controls/DocLink.php')
-rw-r--r--demos/quickstart/protected/controls/DocLink.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/quickstart/protected/controls/DocLink.php b/demos/quickstart/protected/controls/DocLink.php
index b1043821..758a1645 100644
--- a/demos/quickstart/protected/controls/DocLink.php
+++ b/demos/quickstart/protected/controls/DocLink.php
@@ -20,8 +20,8 @@ class DocLink extends THyperLink
$paths=explode('.',$this->getClassPath());
if(count($paths)>1)
{
- $classFile=array_pop($paths).'.html';
- $this->setNavigateUrl(self::BASE_URL . '/' . implode('.',$paths) . '/' . $classFile);
+ $classFile='class-'.array_pop($paths).'.html';
+ $this->setNavigateUrl(self::BASE_URL . '/' . $classFile);
if($this->getText() === '')
$this->setText('API Manual');
}