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


PHP hikashop_setTitle函数代码示例

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


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

示例1: listing

    function listing()
    {
        hikashop_setTitle(JText::_('DOCUMENTATION'), 'help_header', 'documentation');
        if (!HIKASHOP_PHP5) {
            $bar =& JToolBar::getInstance('toolbar');
        } else {
            $bar = JToolBar::getInstance('toolbar');
        }
        $bar->appendButton('Link', 'hikashop', JText::_('HIKASHOP_CPANEL'), hikashop_completeLink('dashboard'));
        $config =& hikashop_config();
        $level = $config->get('level');
        $url = HIKASHOP_HELPURL . 'documentation&level=' . $level;
        if (hikashop_isSSL()) {
            $url = str_replace('http://', 'https://', $url);
        }
        $config =& hikashop_config();
        $menu_style = $config->get('menu_style', 'title_bottom');
        if (HIKASHOP_J30) {
            $menu_style = 'content_top';
        }
        if ($menu_style == 'content_top') {
            echo hikashop_getMenu('', $menu_style);
        }
        ?>
				<div id="hikashop_div">
						<iframe allowtransparency="true" scrolling="auto" height="450px" frameborder="0" width="100%" name="hikashop_frame" id="hikashop_frame" src="<?php 
        echo $url;
        ?>
">
						</iframe>
				</div>
<?php 
    }
开发者ID:q0821,项目名称:esportshop,代码行数:33,代码来源:documentation.php

示例2: onPaymentConfiguration

 function onPaymentConfiguration(&$element)
 {
     $this->hikabitcoin = JRequest::getCmd('name', 'hikabitcoin');
     if (empty($element)) {
         $element = new stdClass();
         $element->payment_name = 'hikabitcoin';
         $element->payment_description = 'Pay with bitcoin';
         $element->payment_images = 'bitcoin.png';
         $element->payment_type = $this->hikabitcoin;
         $element->payment_params = new stdClass();
         $element->payment_params->apiKey = '';
         $element->payment_params->notificationEmail = '';
         $element->payment_params->transactionSpeed = 'low';
         $element->payment_params->paid_status = 'created';
         $element->payment_params->confirmed_status = 'created';
         $element->payment_params->complete_status = 'confirmed';
         $element = array($element);
     }
     $obj = reset($element);
     if (empty($obj->payment_params->apiKey)) {
         $app = JFactory::getApplication();
         $lang = JFactory::getLanguage();
         $locale = strtolower(substr($lang->get('tag'), 0, 2));
         $app->enqueueMessage(JText::sprintf('ENTER_INFO_REGISTER_IF_NEEDED', 'Bitcoin', 'Merchant apiKey', 'Merchant', 'https://bitpay.com/start'));
     }
     $this->toolbar = array('save', 'apply', 'cancel', '|', array('name' => 'pophelp', 'target' => 'payment-hikabitcoin-form'));
     $app = JFactory::getApplication();
     if ($app->isAdmin()) {
         hikashop_setTitle('Bitcoin', 'plugin', 'plugins&plugin_type=payment&task=edit&name=' . $this->hikabitcoin);
     }
     $app->setUserState(HIKASHOP_COMPONENT . '.payment_plugin_type', $this->hikabitcoin);
     $this->address = hikashop_get('type.address');
     $this->category = hikashop_get('type.categorysub');
     $this->category->type = 'status';
 }
开发者ID:HikaShop,项目名称:hikashoppayment-bitcoin,代码行数:35,代码来源:hikabitcoin.php

示例3: form

 function form()
 {
     $warehouse_id = hikashop_getCID('warehouse_id');
     $class = hikashop_get('class.warehouse');
     if (!empty($warehouse_id)) {
         $element = $class->get($warehouse_id, true);
         $task = 'edit';
     } else {
         $element = new stdClass();
         $element->warehouse_published = 1;
         $task = 'add';
     }
     hikashop_setTitle(JText::_($this->nameForm), $this->icon, $this->ctrl . '&task=' . $task . '&warehouse=' . $warehouse_id);
     $this->toolbar = array('save', array('name' => 'save2new', 'display' => version_compare(JVERSION, '1.7', '>=')), 'apply', 'cancel', '|', array('name' => 'pophelp', 'target' => $this->ctrl . '-listing'));
     $editor = hikashop_get('helper.editor');
     $editor->name = 'data[warehouse][warehouse_description]';
     $editor->content = @$element->warehouse_description;
     $this->assignRef('editor', $editor);
     $this->assignRef('element', $element);
     $toggle = hikashop_get('helper.toggle');
     $this->assignRef('toggle', $toggle);
     $warehouse = hikashop_get('type.warehouse');
     $this->assignRef('warehouse', $warehouse);
     $popup = hikashop_get('helper.popup');
     $this->assignRef('popup', $popup);
 }
开发者ID:rodhoff,项目名称:MNW,代码行数:26,代码来源:view.html.php

示例4: update

 function update()
 {
     hikashop_setTitle(JText::_('UPDATE_ABOUT'), 'install', 'update');
     if (!HIKASHOP_PHP5) {
         $bar =& JToolBar::getInstance('toolbar');
     } else {
         $bar = JToolBar::getInstance('toolbar');
     }
     $bar->appendButton('Link', 'hikashop', JText::_('HIKASHOP_CPANEL'), hikashop_completeLink('dashboard'));
     return $this->_iframe(HIKASHOP_UPDATEURL . 'update');
 }
开发者ID:q0821,项目名称:esportshop,代码行数:11,代码来源:update.php

示例5: listing

 function listing()
 {
     $this->toolbar = array();
     $this->widgets();
     $this->links();
     hikashop_setTitle(HIKASHOP_NAME, 'hikashop', 'dashboard');
     if (HIKASHOP_J16 && JFactory::getUser()->authorise('core.admin', 'com_hikashop')) {
         $this->toolbar[] = array('name' => 'preferences');
     }
     $this->toolbar[] = array('name' => 'pophelp', 'target' => 'dashboard');
     $toggle = hikashop_get('helper.toggle');
     $this->assignRef('toggleClass', $toggle);
 }
开发者ID:q0821,项目名称:esportshop,代码行数:13,代码来源:view.html.php

示例6: wizard

 function wizard()
 {
     $db = JFactory::getDBO();
     hikashop_setTitle(JText::_('HIKA_WIZARD'), 'config', 'update&task=wizard');
     if (!HIKASHOP_PHP5) {
         $bar =& JToolBar::getInstance('toolbar');
     } else {
         $bar = JToolBar::getInstance('toolbar');
     }
     $bar->appendButton('Link', 'hikashop', JText::_('HIKA_SKIP'), hikashop_completeLink('update&task=post_install&fromversion=&update=0'));
     $languagesCodes = array();
     $languagesNames = array();
     if (HIKASHOP_J25) {
         $db->setQuery('SELECT * FROM ' . hikashop_table('languages', false) . ' WHERE `published` = 1');
         $languages = $db->loadObjectList();
         foreach ($languages as $language) {
             $path = JLanguage::getLanguagePath(JPATH_ROOT) . DS . $language->lang_code . DS . $language->lang_code . '.com_hikashop.ini';
             if (!JFile::exists($path)) {
                 $languagesCodes[] = $language->lang_code;
                 $languagesNames[] = $language->title;
             }
         }
     }
     if (!empty($languagesCodes)) {
         $languageCodes = implode('_', $languagesCodes);
     }
     if (!empty($languagesNames)) {
         $languagesNames = implode(', ', $languagesNames);
     }
     $this->assignRef('languageCodes', $languageCodes);
     $this->assignRef('languageNames', $languagesNames);
     $fieldsClass = hikashop_get('class.field');
     $this->assignRef('fieldsClass', $fieldsClass);
     static $Itemid;
     if (isset($Itemid) && !empty($Itemid)) {
         $url_itemid = '&item_id=' . $Itemid;
     } else {
         $url_itemid = '';
     }
     $address = new stdClass();
     $extraFields = array();
     $extraFields['address'] = $fieldsClass->getFields('frontcomp', $address, 'address', 'update&task=state' . $url_itemid);
     $this->assignRef('extraFields', $extraFields);
     $this->assignRef('address', $address);
     $db->setQuery('SELECT * FROM ' . hikashop_table('currency') . ' WHERE 1 ORDER BY `currency_code`');
     $currencies = $db->loadObjectList();
     $this->assignRef('currencies', $currencies);
     hikashop_loadJslib('jquery');
     $app = JFactory::getApplication();
     $app->enqueueMessage(JText::_('WELCOME_WIZARD', 'success'));
 }
开发者ID:q0821,项目名称:esportshop,代码行数:51,代码来源:view.html.php

示例7: form

 function form()
 {
     $tabs = hikashop_get('helper.tabs');
     $email_log_id = hikashop_getCID('email_log_id');
     $email_logClass = hikashop_get('class.email_log');
     if (!empty($email_log_id)) {
         $element = $email_logClass->get($email_log_id, true);
         $task = 'edit';
     }
     hikashop_setTitle(JText::_($this->nameForm), $this->icon, $this->ctrl . '&task=' . $task . '&email_log=' . $email_log_id);
     $this->toolbar = array('cancel', '|', array('name' => 'pophelp', 'target' => $this->ctrl . '-listing'));
     $email_order_id = array('order_admin_notification', 'order_creation_notification', 'order_status_notification', 'order_notification', 'payment_notification', 'order_cancel');
     $email_product_id = array('contact_request', 'new_comment');
     $email_user_id = array('user_account', 'user_account_admin_notification');
     if (in_array($element->email_log_name, $email_product_id)) {
         $productClass = hikashop_get('class.product');
         $productClass->getProducts($element->email_log_ref_id);
         if (isset($productClass->products[$element->email_log_ref_id])) {
             $fullProduct = $productClass->products[$element->email_log_ref_id];
         } elseif (isset($productClass->all_products[$element->email_log_ref_id]) && isset($productClass->all_products[$element->email_log_ref_id]->product_parent_id)) {
             $productClass->getProducts($productClass->all_products[$element->email_log_ref_id]->product_parent_id);
             $fullProduct = $productClass->products[$productClass->all_products[$element->email_log_ref_id]->product_parent_id];
         }
         if (isset($fullProduct->product_name) && !empty($fullProduct->product_name)) {
             $this->assignRef('email_product_name', $fullProduct->product_name);
         }
     }
     if (in_array($element->email_log_name, $email_order_id)) {
         $orderClass = hikashop_get('class.order');
         $fullOrder = $orderClass->get($element->email_log_ref_id);
         if (isset($fullOrder->order_number) && !empty($fullOrder->order_number)) {
             $this->assignRef('email_order_number', $fullOrder->order_number);
         }
     }
     if (in_array($element->email_log_name, $email_user_id)) {
         $userClass = hikashop_get('class.user');
         $fullUser = $userClass->get($element->email_log_ref_id);
         if (isset($fullUser->name) && !empty($fullUser->name)) {
             $this->assignRef('email_user_name', $fullUser->name);
         }
     }
     $this->assignRef('email_order_id', $email_order_id);
     $this->assignRef('email_product_id', $email_product_id);
     $this->assignRef('email_user_id', $email_user_id);
     $this->assignRef('tabs', $tabs);
     $this->assignRef('element', $element);
 }
开发者ID:q0821,项目名称:esportshop,代码行数:47,代码来源:view.html.php

示例8: listing

 function listing()
 {
     $app = JFactory::getApplication();
     $pageInfo = new stdClass();
     $pageInfo->filter = new stdClass();
     $pageInfo->filter->order = new stdClass();
     $pageInfo->limit = new stdClass();
     $config =& hikashop_config();
     $pageInfo->search = $app->getUserStateFromRequest($this->paramBase . ".search", 'search', '', 'string');
     $pageInfo->limit->value = $app->getUserStateFromRequest($this->paramBase . '.limit', 'limit', $app->getCfg('list_limit'), 'int');
     $pageInfo->limit->start = $app->getUserStateFromRequest($this->paramBase . '.limitstart', 'limitstart', 0, 'int');
     $pageInfo->filter->order->value = $app->getUserStateFromRequest($this->paramBase . ".filter_order", 'filter_order', 'a.user_id', 'cmd');
     $pageInfo->filter->order->dir = $app->getUserStateFromRequest($this->paramBase . ".filter_order_Dir", 'filter_order_Dir', 'desc', 'word');
     jimport('joomla.filesystem.file');
     $mail_folder = rtrim(str_replace('{root}', JPATH_ROOT, $config->get('mail_folder', HIKASHOP_MEDIA . 'mail' . DS)), '/\\') . DS;
     $files = array('cron_report', 'order_admin_notification', 'order_creation_notification', 'order_status_notification', 'order_notification', 'user_account', 'user_account_admin_notification', 'out_of_stock', 'order_cancel', 'waitlist_notification', 'waitlist_admin_notification', 'new_comment', 'contact_request', 'subscription_eot', 'massaction_notification');
     $plugin_files = array();
     JPluginHelper::importPlugin('hikashop');
     $dispatcher = JDispatcher::getInstance();
     $dispatcher->trigger('onMailListing', array(&$plugin_files));
     if (!empty($plugin_files)) {
         $files = array_merge($files, $plugin_files);
     }
     $emails = array();
     foreach ($files as $file) {
         $folder = $mail_folder;
         $filename = $file;
         $email = new stdClass();
         if (is_array($file)) {
             $folder = $file['folder'];
             if (!empty($file['name'])) {
                 $email->name = $file['name'];
             }
             $filename = $file['filename'];
             $file = $file['file'];
         }
         $email->file = $file;
         $email->overriden_text = JFile::exists($folder . $filename . '.text.modified.php');
         $email->overriden_html = JFile::exists($folder . $filename . '.html.modified.php');
         $email->overriden_preload = JFile::exists($folder . $filename . '.preload.modified.php');
         $email->published = $config->get($file . '.published');
         $emails[] = $email;
     }
     $pageInfo->elements = new stdClass();
     $pageInfo->elements->total = count($emails);
     $emails = array_slice($emails, $pageInfo->limit->start, $pageInfo->limit->value);
     $pageInfo->elements->page = count($emails);
     $this->assignRef('rows', $emails);
     $this->assignRef('pageInfo', $pageInfo);
     hikashop_setTitle(JText::_($this->nameListing), $this->icon, $this->ctrl);
     $this->getPagination();
     $this->toolbar = array(array('name' => 'pophelp', 'target' => $this->ctrl . '-listing'), 'dashboard');
     $manage = hikashop_isAllowed($config->get('acl_email_manage', 'all'));
     $this->assignRef('manage', $manage);
     $delete = hikashop_isAllowed($config->get('acl_email_delete', 'all'));
     $this->assignRef('delete', $delete);
     jimport('joomla.client.helper');
     $ftp = JClientHelper::setCredentialsFromRequest('ftp');
     $this->assignRef('ftp', $ftp);
     $toggle = hikashop_get('helper.toggle');
     $this->assignRef('toggleClass', $toggle);
 }
开发者ID:rodhoff,项目名称:MNW,代码行数:62,代码来源:view.html.php

示例9: show

    function show()
    {
        $app = JFactory::getApplication();
        $pageInfo = new stdClass();
        $pageInfo->filter = new stdClass();
        $pageInfo->filter->order = new stdClass();
        $pageInfo->limit = new stdClass();
        $config =& hikashop_config();
        hikashop_setTitle(JText::_('IMPORT'), $this->icon, $this->ctrl . '&task=show');
        $importIcon = 'upload';
        if (HIKASHOP_J30) {
            $importIcon = 'import';
        }
        $this->toolbar = array(array('name' => 'custom', 'icon' => $importIcon, 'alt' => JText::_('IMPORT'), 'task' => 'import', 'check' => false), '|', array('name' => 'pophelp', 'target' => $this->ctrl), 'dashboard');
        $importData = array();
        $import = new stdClass();
        $import->text = JText::_('PRODUCTS_FROM_CSV');
        $import->key = 'file';
        $importData[] = $import;
        $textArea = new stdClass();
        $textArea->text = JText::_('PRODUCTS_FROM_TEXTAREA');
        $textArea->key = 'textarea';
        $importData[] = $textArea;
        $folder = new stdClass();
        $folder->text = JText::_('PRODUCTS_FROM_FOLDER');
        $folder->key = 'folder';
        $importData[] = $folder;
        $database = JFactory::getDBO();
        $query = 'SHOW TABLES LIKE ' . $database->Quote($database->getPrefix() . substr(hikashop_table('virtuemart_products', false), 3));
        $database->setQuery($query);
        $table = $database->loadResult();
        if (empty($table)) {
            $query = 'SHOW TABLES LIKE ' . $database->Quote($database->getPrefix() . substr(hikashop_table('vm_product', false), 3));
            $database->setQuery($query);
            $table = $database->loadResult();
            if (empty($table)) {
                $vm_here = false;
            } else {
                $vm_here = true;
                $version = 1;
                $this->assignRef('vmversion', $version);
            }
        } else {
            $vm_here = true;
            $version = 2;
            $this->assignRef('vmversion', $version);
        }
        $this->assignRef('vm', $vm_here);
        $vm = new stdClass();
        $vm->text = JText::sprintf('PRODUCTS_FROM_X', 'Virtuemart');
        $vm->key = 'vm';
        $importData[] = $vm;
        $mijo = new stdClass();
        $mijo->text = JText::sprintf('PRODUCTS_FROM_X', 'Mijoshop');
        $mijo->key = 'mijo';
        $importData[] = $mijo;
        $query = 'SHOW TABLES LIKE ' . $database->Quote($database->getPrefix() . substr(hikashop_table('mijoshop_product', false), 3));
        $database->setQuery($query);
        $table = $database->loadResult();
        if (empty($table)) {
            $mijo_here = false;
        } else {
            $mijo_here = true;
        }
        $this->assignRef('mijo', $mijo_here);
        $reds = new stdClass();
        $reds->text = JText::sprintf('PRODUCTS_FROM_X', 'Redshop');
        $reds->key = 'redshop';
        $importData[] = $reds;
        $query = 'SHOW TABLES LIKE ' . $database->Quote($database->getPrefix() . substr(hikashop_table('redshop_product', false), 3));
        $database->setQuery($query);
        $table = $database->loadResult();
        if (empty($table)) {
            $reds_here = false;
        } else {
            $reds_here = true;
        }
        $this->assignRef('reds', $reds_here);
        $openc = new stdClass();
        $openc->text = JText::sprintf('PRODUCTS_FROM_X', 'Opencart');
        $openc->key = 'openc';
        $importData[] = $openc;
        JPluginHelper::importPlugin('hikashop');
        $dispatcher = JDispatcher::getInstance();
        $dispatcher->trigger('onDisplayImport', array(&$importData));
        $this->assignRef('importData', $importData);
        $importValues = array();
        foreach ($importData as $data) {
            if (!empty($data->key)) {
                $importValues[] = JHTML::_('select.option', $data->key, $data->text);
            }
        }
        $this->assignRef('importValues', $importValues);
        $importFolders = array(JHTML::_('select.option', 'images', JText::_('HIKA_IMAGES')), JHTML::_('select.option', 'files', JText::_('HIKA_FILES')), JHTML::_('select.option', 'both', JText::_('FILES') . ' & ' . JText::_('HIKA_IMAGES')));
        $this->assignRef('importFolders', $importFolders);
        $js = '
		var currentoption = \'file\';
		function updateImport(newoption){
			document.getElementById(currentoption).style.display = "none";
			document.getElementById(newoption).style.display = \'block\';
//.........这里部分代码省略.........
开发者ID:rodhoff,项目名称:MNW,代码行数:101,代码来源:view.html.php

示例10: onPaymentConfiguration

 function onPaymentConfiguration(&$element)
 {
     $this->ceca = JRequest::getCmd('name', 'ceca');
     if (empty($element)) {
         $element = new stdClass();
         $element->payment_name = 'CECA';
         $element->payment_description = 'Puede pagar con tarjeta con este método de pago';
         $element->payment_images = 'MasterCard,VISA,Credit_card,American_Express';
         $element->payment_type = $this->ceca;
         $element->payment_params = new stdClass();
         $list = null;
         $element->payment_params->verified_status = 'confirmed';
         $element = array($element);
     }
     $lang =& JFactory::getLanguage();
     $locale = strtoupper(substr($lang->get('tag'), 0, 2));
     $key = key($element);
     $element[$key]->payment_params->status_url = HIKASHOP_LIVE . 'index.php?option=com_hikashop&ctrl=checkout&task=notify&notif_payment=ceca&lang=' . strtolower($locale);
     $this->toolbar = array('save', 'apply', 'cancel', '|', array('name' => 'pophelp', 'target' => 'payment-bluepaid-form'));
     hikashop_setTitle('Ceca', 'plugin', 'plugins&plugin_type=payment&task=edit&name=' . $this->ceca);
     $app = JFactory::getApplication();
     $app->setUserState(HIKASHOP_COMPONENT . '.payment_plugin_type', $this->ceca);
     $this->address = hikashop_get('type.address');
     $this->category = hikashop_get('type.categorysub');
     $this->category->type = 'status';
 }
开发者ID:q0821,项目名称:esportshop,代码行数:26,代码来源:ceca.php

示例11: select_coupon

 function select_coupon()
 {
     $badge = JRequest::getVar('badge', 'false');
     $this->assignRef('badge', $badge);
     $app = JFactory::getApplication();
     $pageInfo = new stdClass();
     $pageInfo->filter = new stdClass();
     $pageInfo->filter->order = new stdClass();
     $pageInfo->limit = new stdClass();
     $pageInfo->filter->order->value = $app->getUserStateFromRequest($this->paramBase . ".filter_order", 'filter_order', 'a.discount_id', 'cmd');
     $pageInfo->filter->order->dir = $app->getUserStateFromRequest($this->paramBase . ".filter_order_Dir", 'filter_order_Dir', 'desc', 'word');
     $pageInfo->search = $app->getUserStateFromRequest($this->paramBase . ".search", 'search', '', 'string');
     $pageInfo->search = JString::strtolower(trim($pageInfo->search));
     $pageInfo->filter->filter_type = $app->getUserStateFromRequest($this->paramBase . ".filter_type", 'filter_type', '', 'string');
     $pageInfo->limit->value = $app->getUserStateFromRequest($this->paramBase . '.list_limit', 'limit', $app->getCfg('list_limit'), 'int');
     if (empty($pageInfo->limit->value)) {
         $pageInfo->limit->value = 500;
     }
     $pageInfo->limit->start = $app->getUserStateFromRequest($this->paramBase . '.limitstart', 'limitstart', 0, 'int');
     $database = JFactory::getDBO();
     $searchMap = array('a.discount_code', 'a.discount_id');
     $filters = array();
     if ($badge != 'false') {
         $filters[] = 'a.discount_type="discount"';
     }
     if (!empty($pageInfo->search)) {
         $searchVal = '\'%' . hikashop_getEscaped($pageInfo->search, true) . '%\'';
         $filters[] = implode(" LIKE {$searchVal} OR ", $searchMap) . " LIKE {$searchVal}";
     }
     $query = ' FROM ' . hikashop_table('discount') . ' AS a';
     if ($badge == 'false' && !empty($pageInfo->filter->filter_type)) {
         switch ($pageInfo->filter->filter_type) {
             case 'all':
                 break;
             default:
                 $filters[] = 'a.discount_type = ' . $database->Quote($pageInfo->filter->filter_type);
                 break;
         }
     }
     if (!empty($filters)) {
         $query .= ' WHERE (' . implode(') AND (', $filters) . ')';
     }
     if (!empty($pageInfo->filter->order->value)) {
         $query .= ' ORDER BY ' . $pageInfo->filter->order->value . ' ' . $pageInfo->filter->order->dir;
     }
     $database->setQuery('SELECT a.*' . $query, $pageInfo->limit->start, $pageInfo->limit->value);
     $rows = $database->loadObjectList();
     if (!empty($pageInfo->search)) {
         $rows = hikashop_search($pageInfo->search, $rows, 'discount_id');
     }
     $database->setQuery('SELECT count(*)' . $query);
     $pageInfo->elements = new stdClass();
     $pageInfo->elements->total = $database->loadResult();
     $pageInfo->elements->page = count($rows);
     if ($pageInfo->limit->value == 500) {
         $pageInfo->limit->value = 100;
     }
     hikashop_setTitle(JText::_($this->nameListing), $this->icon, $this->ctrl);
     $config =& hikashop_config();
     $manage = hikashop_isAllowed($config->get('acl_discount_manage', 'all'));
     $this->assignRef('manage', $manage);
     $this->toolbar = array(array('name' => 'custom', 'icon' => 'copy', 'task' => 'copy', 'alt' => JText::_('HIKA_COPY'), 'display' => $manage), array('name' => 'addNew', 'display' => $manage), array('name' => 'editList', 'display' => $manage), array('name' => 'deleteList', 'display' => hikashop_isAllowed($config->get('acl_discount_delete', 'all'))), '|', array('name' => 'pophelp', 'target' => $this->ctrl . '-listing'), 'dashboard');
     $discountType = hikashop_get('type.discount');
     $this->assignRef('filter_type', $discountType);
     $toggleClass = hikashop_get('helper.toggle');
     $this->assignRef('toggleClass', $toggleClass);
     $this->assignRef('rows', $rows);
     $this->assignRef('pageInfo', $pageInfo);
     $this->getPagination();
     $currencyHelper = hikashop_get('class.currency');
     $this->assignRef('currencyHelper', $currencyHelper);
 }
开发者ID:rodhoff,项目名称:MNW,代码行数:72,代码来源:view.html.php


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