public function __construct($section, $id) { parent::__construct(); $this->_entity = $this->_entities->getEntity($section); $entity_tbl = $this->_entity->getTbl(); $this->setTable($entity_tbl); }
public function __construct($section, $id) { parent::__construct(); $this->setTable('facepost'); $this->setModel($section, $id); $this->_sm_credentials = new SocialmediaCredentialsModel(); $this->_sm_credentials->fetchAll(); }
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']; }
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); }
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); }
public function __construct() { parent::__construct(); $this->setEntity('log'); }
public function __construct() { parent::__construct(); $this->setEntity('socialmedia_credentials'); }
public function __construct() { parent::__construct(); $this->setTable('issuu'); $this->setApi(); }
public function __construct() { parent::__construct(); $this->setTable('admin'); }