/**
  * Initializes the FlattenRecord from the given parameter array. 
  * @param $spec associative array of options. See class-level documentation for details.
  */
 function __construct($spec)
 {
     RecordTransformer::__construct($spec);
     $this->fieldPathes = $spec['fieldPathes'];
     $this->dataPath = @$spec['dataPath'];
     $this->errorPath = @$spec['errorPath'];
 }
 /**
  * Initializes the RecordTransformer from the given parameter array.
  * @param $spec associative array of options. See class-level documentation for details.
  */
 function __construct($spec)
 {
     RecordTransformer::__construct($spec);
 }