Lines Matching defs:url
328 if (!empty($this->localInfo['url'])) return $this->localInfo['url'];
679 * @param string $url
684 public function installFromURL($url, $overwrite = true)
686 $path = $this->download($url);
688 $this->updateManagerData($url, $installed);
702 $url = $this->getDownloadURL();
703 $path = $this->download($url);
705 $this->updateManagerData($url, $installed);
826 * @param string $url Where the extension was downloaded from. (empty for manual installs via upload)
829 protected function updateManagerData($url = '', $installed = null)
839 if ($url) {
840 $this->managerData['downloadurl'] = $url;
869 if ($key == 'url') $key = 'downloadurl';
913 * @param string $url url to download
918 protected function downloadToFile($url, $file, $defaultName = '')
927 $data = $http->get($url);
961 * @param string $url The url to get the archive from
965 public function download($url)
967 // check the url
968 if (!preg_match('/https?:\/\//i', $url)) {
973 $file = parse_url($url, PHP_URL_PATH);
975 $file = md5($url);
986 if (!$file = $this->downloadToFile($url, $tmp . '/', $file)) {
990 '<bdi>' . hsc($url) . '</bdi>'