function PS_soldat(&$db) { parent::PS($db); $this->CLAN_MAP_MODTYPES = $this->CLAN_MODTYPES; // $this->soldat_remove_columns = array('headshotkills','headshotkillspct','accuracy','shotsperkill','damage'); $this->soldat_remove_columns = array(); }
/** * @return PS */ static function getInstance() { if (empty(self::$ps)) { if (!($paysystem = Cfg::get('PAYSYSTEM'))) { $paysystem = 'robokassa'; } $rs = DB::select("SELECT * FROM sc_pay_system WHERE name='{$paysystem}'"); if ($rs->next()) { $class_name = "PS" . ucfirst($paysystem); include_once "ps/{$class_name}.class.php"; self::$ps = new $class_name($rs->get('config')); } } return self::$ps; }
function PS_halflife(&$db) { parent::PS($db); }
function PS_cod(&$db) { parent::PS($db); $this->CLAN_MAP_MODTYPES = $this->CLAN_MODTYPES; $this->cod_remove_columns = array('headshotkills', 'headshotkillspct', 'accuracy'); }
function __construct() { $this->_ps = PS::get_pspell(); }