@@ 128-136 (lines=9) @@ | ||
125 | * @return mixed[] |
|
126 | * The items. |
|
127 | */ |
|
128 | public function getPartitionsItemsArray() |
|
129 | { |
|
130 | $data = array(); |
|
131 | ||
132 | foreach ($this->getPartitions() as $subset) { |
|
133 | $data[] = $subset->getRawItems(); |
|
134 | } |
|
135 | ||
136 | return array_values(array_filter($data)); |
|
137 | } |
|
138 | ||
139 | /** |
@@ 83-91 (lines=9) @@ | ||
80 | /** |
|
81 | * @return array |
|
82 | */ |
|
83 | public function getSubsetsAndItemsAsArray() |
|
84 | { |
|
85 | $data = array(); |
|
86 | ||
87 | foreach ($this->getSubsets() as $subset) { |
|
88 | $data[] = $subset->getRawItems(); |
|
89 | } |
|
90 | ||
91 | return array_values(array_filter($data)); |
|
92 | } |
|
93 | ||
94 | /** |