Lines Matching full:versions
138 * Get all versions and their titles
144 $versions = $this->readVersionDirs();
146 // get titles for the versions
148 foreach (array_keys($versions) as $ns) {
151 if ($title) $versions[$ns] = $title;
153 uksort($versions, [$this, 'sortByDepthAndVersion']);
155 return $versions;
174 * Traverse the version directories and find all versions
185 $versions = [];
197 $versions[ltrim("$subns:$itemid", ':')] = $match[0];
202 … $versions = array_merge($versions, $this->readVersionDirs($dir, ltrim("$sub/$item", '/')));
206 return $versions;