Lines Matching defs:installed

36     /** @var string where templates are installed to */
106 * If the extension is installed locally
108 * @return bool If the extension is installed locally
175 * If the extension is installed in the correct directory
177 * @return bool If the extension is installed in the correct directory
212 $installed = $this->getInstalledVersion();
213 if ($installed === false || $installed === $this->getLang('unknownversion')) return true;
334 * Get the installed version of the extension
363 if (!empty($this->managerData['installed'])) return $this->managerData['installed'];
498 * @return string|bool The previously used download URL, false if the extension has been installed manually
624 * If the extension can probably be installed/updated or uninstalled
650 * @return array The list of installed extensions
669 $installed = $this->installArchive("$tmp/upload.archive", $overwrite, $basename);
670 $this->updateManagerData('', $installed);
671 $this->removeDeletedfiles($installed);
673 return $installed;
682 * @return array The list of installed extensions
687 $installed = $this->installArchive($path, $overwrite);
688 $this->updateManagerData($url, $installed);
689 $this->removeDeletedfiles($installed);
691 return $installed;
698 * @return array The list of installed extensions
704 $installed = $this->installArchive($path, $this->isInstalled(), $this->getBase());
705 $this->updateManagerData($url, $installed);
708 if (!isset($installed[$this->getID()])) {
709 throw new Exception('Error, the requested extension hasn\'t been installed or updated');
711 $this->removeDeletedfiles($installed);
714 return $installed;
824 * Save the given URL and current datetime in the manager.dat file of all installed extensions
827 * @param array $installed Optional list of installed plugins
829 protected function updateManagerData($url = '', $installed = null)
833 if (is_null($installed)) {
834 $installed = [$origID];
837 foreach (array_keys($installed) as $ext) {
844 if (isset($this->managerData['installed'])) {
847 $this->managerData['installed'] = date('r');
998 * @param string $file The path to the archive that shall be installed
999 * @param bool $overwrite If an already installed plugin should be overwritten
1002 * @return array list of installed extensions
1287 * @param array $installed
1289 private function removeDeletedfiles($installed)
1291 foreach ($installed as $extension) {