modX.getSessionState
Последнее обновление Dec 21st, 2019 | История страницы | Улучшить эту страницу | Сообщить о проблеме
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$301 per month—let's make that $500!
Learn moremodX::getSessionState¶
Возвращает состояние СЕССИИ, используемой modX.
Возможные значения для состояния сеанса:
-
modX::SESSION_STATE_UNINITIALIZED
-
modX::SESSION_STATE_UNAVAILABLE
-
modX::SESSION_STATE_EXTERNAL
-
modX::SESSION_STATE_INITIALIZED
Синтаксис¶
API Doc: modX::getSessionState()
integer getSessionState ()
Пример¶
$state = $modx->getSessionState();
Смотрите также¶
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$301 per month—let's make that $500!
Learn more