From 1f560ccd8a9e21871dbedd548fc97f231131c771 Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 30 Aug 2006 12:33:43 +0000 Subject: merge from 3.0 branch till 1363. --- framework/Web/UI/WebControls/THead.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'framework/Web/UI/WebControls/THead.php') diff --git a/framework/Web/UI/WebControls/THead.php b/framework/Web/UI/WebControls/THead.php index 5c91002b..a803d484 100644 --- a/framework/Web/UI/WebControls/THead.php +++ b/framework/Web/UI/WebControls/THead.php @@ -112,6 +112,22 @@ class THead extends TControl $this->setViewState('BaseUrl',$url,''); } + /** + * @return string the URL for the shortcut icon of the page. Defaults to ''. + */ + public function getShortcutIcon() + { + return $this->getViewState('ShortcutIcon',''); + } + + /** + * @param string the URL for the shortcut icon of the page. + */ + public function setShortcutIcon($url) + { + $this->setViewState('ShortcutIcon',$url,''); + } + /** * @return TMetaTagCollection meta tag collection */ @@ -136,6 +152,9 @@ class THead extends TControl $writer->write("
\n