Auth::setAuthData()

Auth::setAuthData() – store extra information with the Auth session

Synopsis

void Auth::setAuthData ( string $name , mixed $value , boolean $overwrite = true )

Описание

This function allows the registration of extra information to be stored allowing with the authentication data.

Parameter

string $name

the name of the data field

mixed $value

the value of the data field

boolean $overwrite

whether to overwrite the value of the data field if it already exists.

Замечание

This function can not be called statically.

    Поддержать сайт на родительском проекте КГБ