Exemplo n.º 1
0
 public function __construct($section, $id)
 {
     parent::__construct();
     $this->_entity = $this->_entities->getEntity($section);
     $entity_tbl = $this->_entity->getTbl();
     $this->setTable($entity_tbl);
 }
Exemplo n.º 2
0
 public function __construct($section, $id)
 {
     parent::__construct();
     $this->setTable('facepost');
     $this->setModel($section, $id);
     $this->_sm_credentials = new SocialmediaCredentialsModel();
     $this->_sm_credentials->fetchAll();
 }
Exemplo n.º 3
0
 public function __construct($options)
 {
     parent::__construct();
     $this->setTable($options['photo_item']);
     $this->_photo = $options['photo'];
     $this->_photo_item = $options['photo_item'];
     $this->_id_photo = $options['id_photo'];
     $this->_id_photo_item = $options['id_photo_item'];
 }
Exemplo n.º 4
0
 public function __construct()
 {
     parent::__construct();
     $this->setTable('soundcloud');
     $this->_sm_credentials = new SocialmediaCredentialsModel();
     $this->_sm_credentials->fetchAll();
     $client_id = $this->_sm_credentials->row['sc_client_id'];
     $client_secret = $this->_sm_credentials->row['sc_client_secret'];
     $redirect_uri = URL . '/admin/sound_cloud/';
     $this->_api = new Service($client_id, $client_secret, $redirect_uri);
 }
Exemplo n.º 5
0
 public function __construct()
 {
     parent::__construct();
     $this->_sm_credentials = new SocialmediaCredentialsModel();
     $this->_sm_credentials->fetchAll();
     $this->setStatus();
     $this->_youtube_client = new Google_Client();
     $this->_youtube_client->setClientId($this->_sm_credentials->row['youtube_id']);
     $this->_youtube_client->setClientSecret($this->_sm_credentials->row['youtube_secret']);
     $this->_youtube_client->setRedirectUri(URL . '/admin/youtube/');
     $this->_youtube_client->addScope(array("https://www.googleapis.com/auth/youtube"));
     $this->_youtube_client->setAccessType('offline');
     $this->_youtube_client->setApprovalPrompt('force');
     $this->_youtube = new Google_Service_YouTube($this->_youtube_client);
 }
Exemplo n.º 6
0
 public function __construct()
 {
     parent::__construct();
     $this->setEntity('log');
 }
 public function __construct()
 {
     parent::__construct();
     $this->setEntity('socialmedia_credentials');
 }
Exemplo n.º 8
0
 public function __construct()
 {
     parent::__construct();
     $this->setTable('issuu');
     $this->setApi();
 }
Exemplo n.º 9
0
 public function __construct()
 {
     parent::__construct();
     $this->setTable('admin');
 }