/** * Download the Extension Repository * * This forces the system to retrieve the new set of extensions based on * license key * * @return boolean * * @access public */ public function downloadRepository() { $response = true; if ($extensions = aam_Core_API::getBlogOption('aam_extensions')) { if (is_array($extensions)) { $repo = aam_Core_Repository::getInstance($this->_parent); $repo->download(); } } return $response; }
/** * Constructor * * The filter "aam_cpanel" can be used to control the Control Panel items. * * @return void * * @access public */ public function __construct() { parent::__construct(); $this->_repository = aam_Core_Repository::getInstance(); }
/** * Load Installed extensions * * @return void * * @access protected */ protected function loadExtensions() { aam_Core_Repository::getInstance($this)->load(); }