Esempio n. 1
0
 /**
  * 
  * Creates a hidden input for the CSRF prevention
  * @param string $namespace
  * @return string
  */
 public static function CSRF($namespace = NULL)
 {
     if ($namespace === NULL) {
         $namespace = URL::title(Request::current()->uri());
     }
     return CSRF::form($namespace);
 }