示例#1
0
 function __construct($userid, $mem)
 {
     parent::__construct($userid, $mem);
     $this->index = $mem['index'] ? intval($mem['index']) : 0;
     $this->pid = $mem['pid'];
     $this->playlistDb = $opt['PlaylistInfoDB'] ? $opt['PlaylistInfoDB'] : new PlaylistInfoDB();
 }
示例#2
0
 function __construct($userid, $mem, $opt = null)
 {
     parent::__construct($userid, $mem);
     $this->index = $mem['index'] ? intval($mem['index']) : 0;
     $this->cacher = $opt['Cache'] ? $opt['Cache'] : new FileCache();
     $this->voiceDb = $opt['VoiceInfoDB'] ? $opt['VoiceInfoDB'] : new VoiceInfoDB();
 }
示例#3
0
文件: Program.php 项目: hanihh/vvs_v2
 public static function model($className = __CLASS__)
 {
     return parent::model($className);
 }