Add PlPage::setTitle()
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 22 Jun 2008 21:26:20 +0000 (23:26 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 22 Jun 2008 21:26:20 +0000 (23:26 +0200)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
classes/plpage.php

index 5230036..5c2172b 100644 (file)
@@ -232,6 +232,14 @@ abstract class PlPage extends Smarty
     }
 
     // }}}
+    // {{{ function setTitle
+
+    public function setTitle($title)
+    {
+        $this->assign('pl_title', $title);
+    }
+
+    // }}}
     // {{{ function addJsLink
 
     public function addJsLink($path)