/** * Get the number of total installs in GetSparks.org history * @return int */ public static function getGlobalInstallCount() { $CI =& get_instance(); $CI->load->model('spark'); return Spark::getGlobalInstallCount() + config_item('install_count_base'); }