Exemple #1
0
 function __construct()
 {
     parent::__construct();
     $this->loadHelper('mailer', 'mailer');
     /*$hooks = array(
                     "searchStrs" => array("#CAMPAIGNNAME#"),
                     "subjectStrs" => array('rajesh')
             );
             $titlename = "(OpenAPI) New Campaign";
             $templatename = "new-campaign.txt";
             $this->mailer->_getTemplateMsg($templatename,$hooks,$titlename);
     
     		$admintemplatename = "new-campaign-admin.txt";
     		$this->mailer->_getTemplateMsg($admintemplatename,$hooks,$titlename,ADMIN_SUPPORT_MAIL);
     */
     $this->loadHelper('changelog', 'changelog');
     $this->changelog->checkCampaignDiff(1600);
 }
/**
 * create instance of the main controller file (Bidstalk)
 *
 * @access public
 * @return instance of the main controller file
 */
function &instance()
{
    $bidstalk = Bidstalk::get_instance();
    return $bidstalk;
    //->autoload['sys'];
}