Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Habari
Session
error
Habari\Session::error PHP Метод
Документация по классу Session
Показать файл
Открыть проект
error()
публичный
статический
Метод
Store an error message in the user's session
public
static
error
(
string
$error
,
string
$key
= null )
$error
string
The error message
$key
string
An optional id that would guarantee a single unique message for this key
public static function error($error, $key = null) { self::add_to_set('errors', $error, $key); }
Session
add_to_set
cache_limiter
changed
clear_userid
cookie
create
destroy
error
gc
get_error
get_errors
get_notice
get_notices
get_set
get_subnet
has_errors
has_messages
init
messages_get
messages_out
notice
process_queue
queue
read
remove_error
remove_notice
session_data_hash
set_userid
shutdown
write