Esempio n. 1
0
 public static function link($destination, $text)
 {
     return '<a href="' . HTML::escape(URI::get($destination)) . '">' . HTML::escape($text) . '</a>';
 }
Esempio n. 2
0
 public function logout()
 {
     Auth::logout();
     Flash::set('Logged you out.');
     $this->redirect(URI::get('user/login'));
 }