<?php

/*
  MailBeez Automatic Trigger Email Campaigns
  http://www.mailbeez.com

  Copyright (c) 2010 - 2012 MailBeez

  Released under the GNU General Public License
 */

///////////////////////////////////////////////////////////////////////////////
///																			 //
///                 MailBeez Core file - do not edit                         //
///                                                                          //
///////////////////////////////////////////////////////////////////////////////

require_once(MH_DIR_CONFIG . 'config_customer_insight/classes/viewbeez.php');
class view_reviews_products extends viewbeez
{

// class constructor
    function __construct()
    {
        parent::__construct();
        $this->code = 'view_reviews_products';
        $this->module = 'view_reviews_products';
        $this->version = '1.0';
        $this->title = mh_lng('MAILBEEZ_VIEW_REVIEW_PRODUCTS_TITLE');
        $this->description = mh_lng('MAILBEEZ_REVIEW_PRODUCTS_DESCRIPTION');
        $this->sort_order = 40;
        $this->enabled = !mh_saas();
        $this->set_template();
    }

    function view_reviews_products()
    {
        return self::__construct();
    }    
    
    
    function get_view_content($template)
    {
        $smarty = $this->init_view_content($template);

        return $this->parse_view_content($smarty, $template);
    }

    function get_view_summary()
    {
        $smarty = $this->init_view_summary();

        return $this->parse_view_summary($smarty);
    }

}

