public static function getFlash($key)
    {
        $var = Security::getInstance()->getFlash($key);
        Security::getInstance()->setFlash($key, null);
        return $var;
    }
public static function getFlash($key)
    {
        $var = Security::getInstance()->getFlash($key);
        Security::getInstance()->setFlash($key, null);
        return $var;
    }
public static function getFlash ( $ key ) { $ var = Security :: getInstance ( ) -> getFlash ( $ key ) ; Security :: getInstance ( ) -> setFlash ( $ key , null ) ; return $ var ; }
Template function that get a flash session var
@param string $key
@return mixed
Template function that get a flash session var