本文整理汇总了PHP中ModuleGraph::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP ModuleGraph::__construct方法的具体用法?PHP ModuleGraph::__construct怎么用?PHP ModuleGraph::__construct使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ModuleGraph
的用法示例。
在下文中一共展示了ModuleGraph::__construct方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
function __construct()
{
$this->name = 'statsnewsletter';
$this->tab = 'Stats';
$this->version = 1.0;
parent::__construct();
$this->displayName = $this->l('Newsletter');
$this->description = $this->l('Display the newsletter registrations');
}
示例2:
function __construct()
{
$this->name = 'statssales';
$this->tab = 'analytics_stats';
$this->version = 1.0;
$this->author = 'PrestaShop';
parent::__construct();
$this->displayName = $this->l('Sales and orders');
$this->description = $this->l('Display the sales evolution and orders by statuses');
}
示例3: __construct
public function __construct()
{
$this->name = 'statspersonalinfos';
$this->tab = 'analytics_stats';
$this->version = 1.0;
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->displayName = $this->l('Registered Customer Info');
$this->description = $this->l('Display characteristics such as gender and age.');
}
示例4: __construct
public function __construct()
{
$this->name = 'statscarrier';
$this->tab = 'analytics_stats';
$this->version = 1.0;
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->displayName = $this->l('Carrier distribution');
$this->description = $this->l('Adds a graph displaying each carriers\' distribution to the Stats dashboard.');
}
示例5: __construct
public function __construct()
{
$this->name = 'statsvisits';
$this->tab = 'analytics_stats';
$this->version = '1.4';
$this->author = 'PrestaShop';
$this->need_instance = 0;
parent::__construct();
$this->displayName = $this->l('Visits and Visitors');
$this->description = $this->l('Adds statistics about your visits and visitors to the Stats dashboard.');
$this->ps_versions_compliancy = array('min' => '1.6', 'max' => _PS_VERSION_);
}