Inheritance: extends FOF30\Model\Model
コード例 #1
0
 /**
  * Public constructor. Initialises the protected members as well.
  *
  * @param array $config
  */
 public function __construct($config = array())
 {
     $config['update_component'] = 'pkg_ars';
     $config['update_sitename'] = 'Akeeba Release System';
     $config['update_site'] = 'http://cdn.akeebabackup.com/updates/ars.xml';
     parent::__construct($config);
 }
コード例 #2
0
ファイル: Updates.php プロジェクト: AlexanderKri/joom-upd
 /**
  * Refreshes the update sites, removing obsolete update sites in the process
  */
 public function refreshUpdateSite()
 {
     // Remove any update sites for the old com_akeeba package
     $this->removeObsoleteComponentUpdateSites();
     // Refresh our update sites
     parent::refreshUpdateSite();
 }