Exemplo n.º 1
0
 function __construct()
 {
     parent::__construct();
     $this->request = file_get_contents('php://input');
     if (!empty($this->request)) {
         $this->request = json_decode($this->request, true);
     }
     $this->load->library('form_validation');
 }
Exemplo n.º 2
0
 function __construct($opt = null)
 {
     parent::__construct($opt);
     $this->playlistDb = $opt['PlaylistInfoDB'] ? $opt['PlaylistInfoDB'] : new PlaylistInfoDB();
     $this->voiceDb = $opt['VoiceInfoDB'] ? $opt['VoiceInfoDB'] : new VoiceInfoDB();
 }
Exemplo n.º 3
0
 function __construct($userKey, $userSecret)
 {
     parent::__construct($userKey, $userSecret);
 }
Exemplo n.º 4
0
 public function __construct($request)
 {
     parent::__construct($request);
     $this->db = new Db();
 }