• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP acymailingController类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中acymailingController的典型用法代码示例。如果您正苦于以下问题:PHP acymailingController类的具体用法?PHP acymailingController怎么用?PHP acymailingController使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



在下文中一共展示了acymailingController类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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();
 }
开发者ID:unrealprojects,项目名称:journal,代码行数:26,代码来源:data.php


示例2: display

 function display($cachable = false, $urlparams = false)
 {
     if (!empty($this->aclCat) and !$this->isAllowed($this->aclCat, 'manage')) {
         return;
     }
     return parent::display($cachable, $urlparams);
 }
开发者ID:utopszkij,项目名称:lmp,代码行数:7,代码来源:dashboard.php


示例3: display

 function display()
 {
     if (!empty($this->aclCat) and !$this->isAllowed($this->aclCat, 'manage')) {
         return;
     }
     return parent::display();
 }
开发者ID:bizanto,项目名称:Hooked,代码行数:7,代码来源:dashboard.php


示例4: array

	function __construct($config = array())
	{
		parent::__construct($config);

		JRequest::setVar('tmpl','component');
		$this->registerDefaultTask('click');

	}
开发者ID:utopszkij,项目名称:lmp,代码行数:8,代码来源:url.php


示例5: tag

 function tag()
 {
     if (!$this->isAllowed($this->aclCat, 'view')) {
         return;
     }
     JRequest::setVar('layout', 'tag');
     return parent::display();
 }
开发者ID:bizanto,项目名称:Hooked,代码行数:8,代码来源:tag.php


示例6: process

 function process()
 {
     if (!$this->isAllowed($this->aclCat, 'process')) {
         return;
     }
     JRequest::setVar('layout', 'process');
     return parent::display();
 }
开发者ID:bizanto,项目名称:Hooked,代码行数:8,代码来源:queue.php


示例7: forward

 function forward()
 {
     if (!$this->isAllowed('statistics', 'manage')) {
         return;
     }
     JRequest::setVar('layout', 'forward');
     return parent::display();
 }
开发者ID:andreassetiawanhartanto,项目名称:PDKKI,代码行数:8,代码来源:stats.php


示例8: detaillisting

 function detaillisting()
 {
     if (!$this->isAllowed($this->aclCat, 'manage') || !$this->isAllowed('subscriber', 'view')) {
         return;
     }
     JRequest::setVar('layout', 'detaillisting');
     return parent::display();
 }
开发者ID:utopszkij,项目名称:lmp,代码行数:8,代码来源:statsurl.php


示例9: view

 function view()
 {
     $statsClass = acymailing_get('class.stats');
     $statsClass->countReturn = false;
     $statsClass->saveStats();
     JRequest::setVar('layout', 'view');
     return parent::display();
 }
开发者ID:andreassetiawanhartanto,项目名称:PDKKI,代码行数:8,代码来源:archive.php


示例10: mailinglist

 function mailinglist()
 {
     if (!$this->isAllowed('statistics', 'manage')) {
         return;
     }
     JRequest::setVar('layout', 'mailinglist');
     return parent::display();
 }
开发者ID:educakanchay,项目名称:educared,代码行数:8,代码来源:stats.php


示例11: sendready

 function sendready()
 {
     if (!$this->isAllowed('newsletters', 'send')) {
         return;
     }
     JRequest::setVar('layout', 'sendconfirm');
     return parent::display();
 }
开发者ID:jmangarret,项目名称:webtuagencia24,代码行数:8,代码来源:send.php


示例12: export

 function export()
 {
     if (!$this->isAllowed('subscriber', 'export')) {
         return;
     }
     JRequest::setVar('layout', 'export');
     return parent::display();
 }
开发者ID:freaqzilla,项目名称:joomla-site,代码行数:8,代码来源:data.php


示例13: unsub

 function unsub()
 {
     $userClass = acymailing::get('class.subscriber');
     $user = $userClass->identify();
     if (empty($user)) {
         return false;
     }
     JRequest::setVar('layout', 'unsub');
     return parent::display();
 }
开发者ID:rlee1962,项目名称:diylegalcenter,代码行数:10,代码来源:user.php


示例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');
 }
开发者ID:ForAEdesWeb,项目名称:AEW1,代码行数:10,代码来源:editor.php


示例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();
 }
开发者ID:sumithMadhushan,项目名称:joomla-project,代码行数:11,代码来源:bounces.php


示例16: remove

 function remove()
 {
     if (!$this->isAllowed($this->aclCat, 'delete')) {
         return;
     }
     JRequest::checkToken() or die('Invalid Token');
     $listIds = JRequest::getVar('cid', array(), '', 'array');
     $subscriberObject = acymailing_get('class.list');
     $num = $subscriberObject->delete($listIds);
     acymailing_enqueueMessage(JText::sprintf('SUCC_DELETE_ELEMENTS', $num), 'message');
     JRequest::setVar('layout', 'listing');
     return parent::display();
 }
开发者ID:madcsaba,项目名称:li-de,代码行数:13,代码来源:list.php


示例17: view

 function view()
 {
     $statsClass = acymailing_get('class.stats');
     $statsClass->countReturn = false;
     $statsClass->saveStats();
     $printEnabled = JRequest::getVar('print', 0);
     if ($printEnabled) {
         $js = "setTimeout(function(){\r\n\t\t\t\t\tif(document.getElementById('iframepreview')){\r\n\t\t\t\t\t\tdocument.getElementById('iframepreview').contentWindow.focus();\r\n\t\t\t\t\t\tdocument.getElementById('iframepreview').contentWindow.print();\r\n\t\t\t\t\t}else{\r\n\t\t\t\t\t\twindow.print();\r\n\t\t\t\t\t}\r\n\t\t\t\t},2000);";
         $doc = JFactory::getDocument();
         $doc->addScriptDeclaration($js);
     }
     JRequest::setVar('layout', 'view');
     return parent::display();
 }
开发者ID:sam-akopyan,项目名称:hamradio,代码行数:14,代码来源:archive.php


示例18: remove

 function remove()
 {
     if (!$this->isAllowed('subscriber', 'delete')) {
         return;
     }
     JRequest::checkToken() or die('Invalid Token');
     $subscriberIds = JRequest::getVar('cid', array(), '', 'array');
     $subscriberObject = acymailing::get('class.subscriber');
     $num = $subscriberObject->delete($subscriberIds);
     $app =& JFactory::getApplication();
     $app->enqueueMessage(JText::sprintf('SUCC_DELETE_ELEMENTS', $num), 'message');
     JRequest::setVar('layout', 'listing');
     return parent::display();
 }
开发者ID:bizanto,项目名称:Hooked,代码行数:14,代码来源:subscriber.php


示例19: forward

 function forward()
 {
     $config = acymailing::config();
     if (!$config->get('forward', true)) {
         return $this->view();
     }
     $key = JRequest::getString('key');
     $mailid = JRequest::getInt('mailid');
     $mailerHelper = acymailing::get('helper.mailer');
     $mailtosend = $mailerHelper->load($mailid);
     if (empty($key) or $mailtosend->key !== $key) {
         return $this->view();
     }
     JRequest::setVar('layout', 'forward');
     return parent::display();
 }
开发者ID:rlee1962,项目名称:diylegalcenter,代码行数:16,代码来源:archive.php


示例20: array

 function __construct($config = array())
 {
     parent::__construct($config);
     $this->registerDefaultTask('toggle');
     $this->allowedTablesColumn['list'] = array('published' => 'listid', 'visible' => 'listid');
     $this->allowedTablesColumn['subscriber'] = array('confirmed' => 'subid', 'html' => 'subid', 'enabled' => 'subid');
     $this->allowedTablesColumn['template'] = array('published' => 'tempid', 'premium' => 'tempid');
     $this->allowedTablesColumn['mail'] = array('published' => 'mailid', 'visible' => 'mailid');
     $this->allowedTablesColumn['listsub'] = array('status' => 'listid,subid');
     $this->allowedTablesColumn['plugins'] = array('published' => 'id');
     $this->allowedTablesColumn['followup'] = array('add' => 'mailid', 'addall' => 'mailid', 'update' => 'mailid');
     $this->allowedTablesColumn['rules'] = array('published' => 'ruleid');
     $this->allowedTablesColumn['filter'] = array('published' => 'filid');
     $this->allowedTablesColumn['fields'] = array('published' => 'fieldid', 'required' => 'fieldid', 'frontcomp' => 'fieldid', 'backend' => 'fieldid', 'listing' => 'fieldid', 'frontlisting' => 'fieldid', 'frontjoomlaregistration' => 'fieldid', 'frontjoomlaprofile' => 'fieldid', 'joomlaprofile' => 'fieldid');
     $this->allowedTablesColumn['config'] = array('addindex' => 'namekey', 'guessport' => 'port');
     $this->deleteColumns['queue'] = array('subid', 'mailid');
     $this->deleteColumns['filter'] = array('filid', 'filid');
     $this->deleteColumns['rules'] = array('ruleid', 'ruleid');
     header('Cache-Control: no-store, no-cache, must-revalidate');
     header('Cache-Control: post-check=0, pre-check=0', false);
     header('Pragma: no-cache');
 }
开发者ID:ForAEdesWeb,项目名称:AEW4,代码行数:22,代码来源:toggle.php



注:本文中的acymailingController类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP acymailingView类代码示例发布时间:2022-05-23
下一篇:
PHP acymailing类代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap