/** * Runs through all packages on the marketplace, sees if they're installed here, and updates the available version number for them */ public static function checkPackageUpdates() { $items = Marketplace::getAvailableMarketplaceItems(false); foreach ($items as $i) { $p = Package::getByHandle($i->getHandle()); if (is_object($p)) { $p->updateAvailableVersionNumber($i->getVersion()); } } }
public function getAvailableMarketplaceItems($filterInstalled = true) { return parent::getAvailableMarketplaceItems($filterInstalled); }