public static function assignSmarty(&$smarty)
 {
     PageManager::$smarty = $smarty;
 }