Hi all. I have this code:

<code>
$configArray = array('LANGUAGE' =>array('it','en'):
.... [other configArray settings]

$config = new Zend_Config($configArray);
Zend_Registry::set('config',$config);
</code>

Now i need to know if a value is stored in LANGUAGE. I have thinked that Zend_registry::get('config')->LANGUAGE returned me an array but on the contrary it returns me an Object.

How can I receive an array from Zend_Registry ?

Tnx and sorry for my bad bad english.

M.

--
Michel 'ZioBudda' Morelli                       [EMAIL PROTECTED]
Consulenza sistemistica in ambito OpenSource.
Sviluppo applicazioni web dinamiche (LAMP+Ajax)
Telefono: 0200619074
Telefono Cell: +39-3939890025 --  Fax: +39-0291390660

http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ajaxblog.it MSN: [EMAIL PROTECTED] JABBER: [EMAIL PROTECTED]

Reply via email to