当前位置: 首页>>代码示例>>PHP>>正文


PHP acymailingController::display方法代码示例

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


在下文中一共展示了acymailingController::display方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: 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

示例2: 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

示例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: tag

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

示例5: process

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

示例6: sendready

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

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

示例9: 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

示例10: 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

示例11: export

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

示例12: 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

示例13: 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

示例14: 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

示例15: 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


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