Наследование: 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
 /**
  * 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();
 }