summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/controls/DocLink.php
diff options
context:
space:
mode:
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');
}
}
}