summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/TComponent.php2
-rw-r--r--framework/Web/UI/TPage.php3
2 files changed, 4 insertions, 1 deletions
diff --git a/framework/TComponent.php b/framework/TComponent.php
index 7443168d..8ec2cf57 100644
--- a/framework/TComponent.php
+++ b/framework/TComponent.php
@@ -307,7 +307,7 @@ class TComponent
* Detaches an existing event handler.
* This method is the opposite of {@link attachEventHandler}.
* @param string event name
- * @param string callback the event handler to be removed
+ * @param callback the event handler to be removed
* @return boolean if the removal is successful
*/
public function detachEventHandler($name,$handler)
diff --git a/framework/Web/UI/TPage.php b/framework/Web/UI/TPage.php
index cb49d325..27742ddd 100644
--- a/framework/Web/UI/TPage.php
+++ b/framework/Web/UI/TPage.php
@@ -803,6 +803,9 @@ class TPage extends TTemplateControl
}
/**
+ * Sets the page title.
+ * Note, a {@link THead} control needs to place on the page
+ * in order that this title be rendered.
* @param string page title. This will override the title set in {@link getHead Head}.
*/
public function setTitle($value)