Lines Matching defs:result
1023 $result = ['old' => [], 'new' => []];
1025 if (!$this->findFolders($result, $tmp . '/' . $base, $default)) {
1029 // choose correct result array
1030 if (count($result['new'])) {
1031 $install = $result['new'];
1033 $install = $result['old'];
1106 * in the 'new' key of the $result array.
1109 * in the 'old' key of the $result array.
1115 * @param array $result - results are stored here
1121 protected function findFolders(&$result, $directory, $default_type = 'plugin', $subdir = '')
1148 $result['new'][] = $info;
1173 $result['old'][] = $info;
1179 $this->findFolders($result, $directory, $default_type, "$found_dir");