- Автор темы
- #1
В общем есть joomla, в сессии лежит название языка, делаю так:
Получаю: (вопрос: как вытянуть значение яцейки "lang")
PHP:
print_r($_SESSION) ;
PHP:
Array
(
[__default] => Array
(
[session.counter] => 520
[session.timer.start] => 1298373960
[session.timer.last] => 1298390014
[session.timer.now] => 1298390023
[session.client.browser] => Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
[registry] => JRegistry Object
(
[_defaultNameSpace] => session
[_registry] => Array
(
[session] => Array
(
[data] => stdClass Object
(
)
)
[application] => Array
(
[data] => stdClass Object
(
[lang] => ru-RU
)
)
)
[_errors] => Array
(
)
)
[user] => JUser Object
(
[id] => 0
[name] =>
[username] =>
[email] =>
[password] =>
[password_clear] =>
[usertype] =>
[block] =>
[sendEmail] => 0
[gid] => 0
[registerDate] =>
[lastvisitDate] =>
[activation] =>
[params] =>
[aid] => 0
[guest] => 1
[_params] => JParameter Object
(
[_raw] =>
[_xml] =>
[_elements] => Array
(
)
[_elementPath] => Array
(
[0] => Z:\home\joomla\www\libraries\joomla\html\parameter\element
)
[_defaultNameSpace] => _default
[_registry] => Array
(
[_default] => Array
(
[data] => stdClass Object
(
)
)
)
[_errors] => Array
(
)
)
[_errorMsg] =>
[_errors] => Array
(
)
)
)
)