53 $this->structure = $data[
'structure'];
54 $this->structurePaths = $data[
'structurePaths'];
55 $this->records = $data[
'records'];
57 if (!empty($data[
'queries'])) {
58 $this->queries = $data[
'queries'];
103 $structures = array();
105 if (empty($this->structurePaths[$recordIdentifier])) {
109 foreach ($this->structurePaths[$recordIdentifier] as $steps) {
111 $steps[] = $recordIdentifier;
113 if (!empty($fieldName)) {
114 $steps[] = $fieldName;
117 foreach ($steps as $step) {
126 $structures[implode(
'/', $steps)] =
$structure;
findStructures($recordIdentifier, $fieldName='')
__construct($identifier, array $data)