static public function plain($objects) {
    $data = array();
    foreach ($objects as $object) {
      $data[] = $object->getRecord();
    }

    return $data;
  }
static public function plain($objects) {
    $data = array();
    foreach ($objects as $object) {
      $data[] = $object->getRecord();
    }

    return $data;
  }
static public function plain ( $ objects ) { $ data = array ( ) ; foreach ( $ objects as $ object ) { $ data [ ] = $ object -> getRecord ( ) ; } return $ data ; }
Convert the array of objects into a plain array.

@param $objects

@return array
Convert the array of objects into a plain array .