WURFL/Configuration/XmlConfig.php
private function persistence($persistenceElement)
    {
        $persistence = array();
        if ($persistenceElement) {
            $persistence['provider'] = (string)$persistenceElement[0]->provider;
            $persistence['params'] = $this->_toArray((string)$persistenceElement[0]->params);
        }
        return $persistence;
    }
private function persistence($persistenceElement)
    {
        $persistence = array();
        if ($persistenceElement) {
            $persistence['provider'] = (string)$persistenceElement[0]->provider;
            $persistence['params'] = $this->_toArray((string)$persistenceElement[0]->params);
        }
        return $persistence;
    }
private function persistence ( $ persistenceElement ) { $ persistence = array ( ) ; if ( $ persistenceElement ) { $ persistence [ 'provider' ] = ( string ) $ persistenceElement [ 0 ] -> provider ; $ persistence [ 'params' ] = $ this -> _toArray ( ( string ) $ persistenceElement [ 0 ] -> params ) ; } return $ persistence ; }
Returns persistence provider info from XML config
@param array $persistenceElement array of SimpleXMLElement objects
@return array Persistence info
Returns persistence provider info from XML config