src/libraries/adapters/DatabaseMySql.php
/**
    * Normalizes data from MySql into schema definition
    *
    * @param SimpleXMLObject $raw An action from SimpleDb in SimpleXML.
    * @return array
    */
Normalizes data from MySql into schema definition
@param SimpleXMLObject $raw An action from SimpleDb in SimpleXML.
@return array
Normalizes data from MySql into schema definition @param SimpleXMLObject $raw An action from SimpleDb in SimpleXML . @return array
private function normalizeActivity($raw)
  {
    $raw['data'] = json_decode($raw['data'], 1);
    return $raw;
  }
private function normalizeActivity ( $ raw ) { $ raw [ 'data' ] = json_decode ( $ raw [ 'data' ] , 1 ) ; return $ raw ; }
Normalizes data from MySql into schema definition
 @param SimpleXMLObject $raw An action from SimpleDb in SimpleXML.
Normalizes data from MySql into schema definition @param SimpleXMLObject $raw An action from SimpleDb in SimpleXML .