1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | $ ack -B3 -A3 --php '&new' PEAR PEAR/Downloader/Package.php 1384- $obj->setExplicitState($s); 1385- } 1386- 1387: $obj = &new PEAR_Downloader_Package($params[$i]->getDownloader()); 1388- PEAR::pushErrorHandling(PEAR_ERROR_RETURN); 1389- if (PEAR::isError($dir = $dl->getDownloadDir())) { 1390- PEAR::popErrorHandling(); -- 1437- // convert the dependencies into PEAR_Downloader_Package objects for the next time around 1438- $params[$i]->_downloadDeps = array(); 1439- foreach ($newdeps as $dep) { 1440: $obj = &new PEAR_Downloader_Package($params[$i]->getDownloader()); 1441- if ($s = $params[$i]->explicitState()) { 1442- $obj->setExplicitState($s); 1443- } PEAR/Dependency2.php 894- if (!class_exists('PEAR_Downloader_Package')) { 895- require_once 'PEAR/Downloader/Package.php'; 896- } 897: $dp = &new PEAR_Downloader_Package($dl); 898- $dp->setPackageFile($downloaded[$i]); 899- $params[$i] = &$dp; 900- } |