コード例 #1
0
ファイル: PlaylistProgram.php プロジェクト: hidetobara/voices
 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
ファイル: BasePlayProgram.php プロジェクト: hidetobara/voices
 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);
 }