當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。