summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/controls/DocLink.php
diff options
context:
space:
mode:
authorwei <>2006-08-05 03:42:04 +0000
committerwei <>2006-08-05 03:42:04 +0000
commitc927f9343001b456c1fa25dc541c3f1b005510f8 (patch)
tree77471b0dbb0327e1c601ec4ffaeb02d9222dc4bd /demos/quickstart/protected/controls/DocLink.php
parent58f7aa0ebe9920d33a22b95c3f73fc4b70a75426 (diff)
Fixed #278
Diffstat (limited to 'demos/quickstart/protected/controls/DocLink.php')
-rw-r--r--demos/quickstart/protected/controls/DocLink.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/demos/quickstart/protected/controls/DocLink.php b/demos/quickstart/protected/controls/DocLink.php
index 74398efb..e8ca7dfa 100644
--- a/demos/quickstart/protected/controls/DocLink.php
+++ b/demos/quickstart/protected/controls/DocLink.php
@@ -22,7 +22,8 @@ class DocLink extends THyperLink
{
$classFile=array_pop($paths).'.html';
$this->setNavigateUrl(self::BASE_URL . '/' . implode('.',$paths) . '/' . $classFile);
- $this->setText('API Manual');
+ if($this->getText() === '')
+ $this->setText('API Manual');
}
}
}