From f75585111c1e7eb02ef2663dfdac8b19c08e36c6 Mon Sep 17 00:00:00 2001 From: Silvio Date: Mon, 16 Aug 2010 18:24:12 -0300 Subject: Setting page title at header() from CinisisDisplayHelper --- classes/helpers/CinisisDisplayHelper.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'classes/helpers/CinisisDisplayHelper.php') diff --git a/classes/helpers/CinisisDisplayHelper.php b/classes/helpers/CinisisDisplayHelper.php index 72e51b2..90e0069 100644 --- a/classes/helpers/CinisisDisplayHelper.php +++ b/classes/helpers/CinisisDisplayHelper.php @@ -11,7 +11,7 @@ class CinisisDisplayHelper { * Page title; */ function __construct($title) { - $this->header(); + $this->header($title); $this->title($title); } @@ -27,12 +27,16 @@ class CinisisDisplayHelper { /** * Draws the page header. + * + * @param $title + * Page title; */ - function header() { + function header($title) { echo ''; echo ''; echo ''; echo ''; + echo ''. $title .''; echo ''; echo ''; } -- cgit v1.2.3