本文整理汇总了PHP中acymailingController类的典型用法代码示例。如果您正苦于以下问题:PHP acymailingController类的具体用法?PHP acymailingController怎么用?PHP acymailingController使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了acymailingController类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: loadZohoFields
function loadZohoFields()
{
$app = JFactory::getApplication();
$zohoHelper = acymailing_get('helper.zoho');
$zohoHelper->authtoken = JRequest::getVar('zoho_apikey');
$list = JRequest::getVar('zoho_list');
JRequest::setVar('layout', 'import');
$zohoFields = $zohoHelper->getFieldsRaw($list);
if (!empty($zohoHelper->error)) {
$app->enqueueMessage($zohoHelper->error, 'error');
return parent::display();
}
$zohoFieldsParsed = $zohoHelper->parseXMLFields($zohoFields);
if (!empty($zohoHelper->error)) {
$app->enqueueMessage($zohoHelper->error, 'error');
return parent::display();
}
$config = acymailing_config();
$newconfig = new stdClass();
$newconfig->zoho_fieldsname = implode(',', $zohoFieldsParsed);
$newconfig->zoho_list = $list;
$newconfig->zoho_apikey = $zohoHelper->authtoken;
$config->save($newconfig);
$app->enqueueMessage(JText::_('ACY_FIELDSLOADED'));
return parent::display();
}
示例2: display
function display($cachable = false, $urlparams = false)
{
if (!empty($this->aclCat) and !$this->isAllowed($this->aclCat, 'manage')) {
return;
}
return parent::display($cachable, $urlparams);
}
示例3: display
function display()
{
if (!empty($this->aclCat) and !$this->isAllowed($this->aclCat, 'manage')) {
return;
}
return parent::display();
}
示例4: array
function __construct($config = array())
{
parent::__construct($config);
JRequest::setVar('tmpl','component');
$this->registerDefaultTask('click');
}
示例5: tag
function tag()
{
if (!$this->isAllowed($this->aclCat, 'view')) {
return;
}
JRequest::setVar('layout', 'tag');
return parent::display();
}
示例6: process
function process()
{
if (!$this->isAllowed($this->aclCat, 'process')) {
return;
}
JRequest::setVar('layout', 'process');
return parent::display();
}
示例7: forward
function forward()
{
if (!$this->isAllowed('statistics', 'manage')) {
return;
}
JRequest::setVar('layout', 'forward');
return parent::display();
}
示例8: detaillisting
function detaillisting()
{
if (!$this->isAllowed($this->aclCat, 'manage') || !$this->isAllowed('subscriber', 'view')) {
return;
}
JRequest::setVar('layout', 'detaillisting');
return parent::display();
}
示例9: view
function view()
{
$statsClass = acymailing_get('class.stats');
$statsClass->countReturn = false;
$statsClass->saveStats();
JRequest::setVar('layout', 'view');
return parent::display();
}
示例10: mailinglist
function mailinglist()
{
if (!$this->isAllowed('statistics', 'manage')) {
return;
}
JRequest::setVar('layout', 'mailinglist');
return parent::display();
}
示例11: sendready
function sendready()
{
if (!$this->isAllowed('newsletters', 'send')) {
return;
}
JRequest::setVar('layout', 'sendconfirm');
return parent::display();
}
示例12: export
function export()
{
if (!$this->isAllowed('subscriber', 'export')) {
return;
}
JRequest::setVar('layout', 'export');
return parent::display();
}
示例13: unsub
function unsub()
{
$userClass = acymailing::get('class.subscriber');
$user = $userClass->identify();
if (empty($user)) {
return false;
}
JRequest::setVar('layout', 'unsub');
return parent::display();
}
示例14: array
function __construct($config = array())
{
parent::__construct($config);
JHTML::_('behavior.tooltip');
JRequest::setVar('tmpl', 'component');
jimport('joomla.filesystem.file');
jimport('joomla.filesystem.folder');
jimport('joomla.filesystem.path');
$this->registerDefaultTask('browse');
}
示例15: listing
function listing()
{
if (!acymailing_level(3)) {
$acyToolbar = acymailing::get('helper.toolbar');
$acyToolbar->setTitle(JText::_('BOUNCE_HANDLING'), 'bounces');
$acyToolbar->display();
acymailing_display(JText::_('ACY_BOUNCE_AVAILABLE') . '<br /><br /><a target="_blank" href="' . ACYMAILING_REDIRECT . 'acymailing-features">' . JText::_('ACY_FEATURES') . '</a>', 'info');
return;
}
return parent::listing();
}