Hi All,

 

It’s possible to modify Zend_Config_Xml  to have :

public function __construct($filename, $section = null, $options = false)

 

$options can take some key/value such :

-          $options['allowModifications']

-          $options['autoTypeConvert'] to  automatic convert the String «
TRUE/true/FALSE/false » to boolean, string to integer type….

-          …

 

I migrate my configuration file of Zend_Config_Ini to Zend_Config_Xml and I
remark (the documentation said it so !) that all attributes are in string.

All  if/else instructions failed now !

 

I need your help

 

Best regards

 

 

Aristide R.  ZOUNGRANA

La Connaissance s'accroît quand on la partage

 

 

Reply via email to