public function __construct() { parent::__construct(); $this->private_key = $this->brafton_config->get('brafton_importer.brafton_video_private_key'); $this->public_key = $this->brafton_config->get('brafton_importer.brafton_video_public_key'); $this->feed_number = $this->brafton_config->get('brafton_importer.brafton_video_feed_number'); $this->video_url = 'http://livevideo.api.' . $this->domain . '/v2/'; $this->photo_url = 'http://pictures.' . $this->domain . '/v2/'; $this->video_date_setting = $this->brafton_config->get('brafton_importer.brafton_video_publish_date'); $this->video_author_id = $this->brafton_config->get('brafton_importer.brafton_video_author'); $this->get_cta_info(); }
/** * Constructor function. Is this necessary? * * @return void */ public function __construct() { parent::__construct(); $this->article_date_setting = $this->brafton_config->get('brafton_importer.brafton_publish_date'); $this->article_author_id = $this->brafton_config->get('brafton_importer.brafton_article_author'); }