src/libraries/adapters/DatabaseSimpleDb.php
/**
    * Normalizes data from simpleDb into schema definition
    *
    * @param SimpleXMLObject $raw A user from SimpleDb in SimpleXML.
    * @return array
    */
Normalizes data from simpleDb into schema definition
@param SimpleXMLObject $raw A user from SimpleDb in SimpleXML.
@return array
Normalizes data from simpleDb into schema definition @param SimpleXMLObject $raw A user from SimpleDb in SimpleXML . @return array
private function normalizeUser($raw)
  {
    $user = array();
    $user['id'] = strval($raw->Name);
    foreach($raw->Attribute as $item)
    {
      $name = (string)$item->Name;
      $value = (string)$item->Value;
      $user[$name] = $value;
    }
    return $user;
  }
private function normalizeUser ( $ raw ) { $ user = array ( ) ; $ user [ 'id' ] = strval ( $ raw -> Name ) ; foreach ( $ raw -> Attribute as $ item ) { $ name = ( string ) $ item -> Name ; $ value = ( string ) $ item -> Value ; $ user [ $ name ] = $ value ; } return $ user ; }
Normalizes data from simpleDb into schema definition
 @param SimpleXMLObject $raw A user from SimpleDb in SimpleXML.
Normalizes data from simpleDb into schema definition @param SimpleXMLObject $raw A user from SimpleDb in SimpleXML .