Example #1
0
 /**
  * Sets the title of the page. This method appends the title set to
  * the name of the site.
  *
  * @param string $title
  */
 public static function setTitle($title = "")
 {
     if ($title == "") {
         Application::$title = Application::$site_name;
     } else {
         Application::$title = $title . " | " . Application::$site_name;
     }
 }