當前位置: 首頁>>代碼示例>>PHP>>正文


PHP comquick2cartHelper::getLanguageConstantForJs方法代碼示例

本文整理匯總了PHP中comquick2cartHelper::getLanguageConstantForJs方法的典型用法代碼示例。如果您正苦於以下問題:PHP comquick2cartHelper::getLanguageConstantForJs方法的具體用法?PHP comquick2cartHelper::getLanguageConstantForJs怎麽用?PHP comquick2cartHelper::getLanguageConstantForJs使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在comquick2cartHelper的用法示例。


在下文中一共展示了comquick2cartHelper::getLanguageConstantForJs方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: __construct

 /**
  * Constructor
  *
  * @since   2.2
  */
 public function __construct()
 {
     // Add social library according to the social integration
     $qtcParams = JComponentHelper::getParams('com_quick2cart');
     $socialintegration = $qtcParams->get('integrate_with', 'none');
     // Load main file
     jimport('techjoomla.jsocial.jsocial');
     jimport('techjoomla.jsocial.joomla');
     if ($socialintegration != 'none') {
         if ($socialintegration == 'JomSocial') {
             jimport('techjoomla.jsocial.jomsocial');
         } elseif ($socialintegration == 'EasySocial') {
             jimport('techjoomla.jsocial.easysocial');
         }
     }
     $getLanguageConstantForJs = comquick2cartHelper::getLanguageConstantForJs();
 }
開發者ID:BetterBetterBetter,項目名稱:B3App,代碼行數:22,代碼來源:helper.php

示例2: jimport

JHtml::_('behavior.formvalidation');
jimport('joomla.form.formvalidator');
JHtml::_('behavior.tooltip');
JHtmlBehavior::framework();
jimport('joomla.html.parameter');
jimport('joomla.filesystem.file');
JHtml::_('behavior.modal');
$root_url = JUri::root();
$document = JFactory::getDocument();
if (!class_exists('comquick2cartHelper')) {
    //require_once $path;
    $path = JPATH_SITE . DS . 'components' . DS . 'com_quick2cart' . DS . 'helper.php';
    JLoader::register('comquick2cartHelper', $path);
    JLoader::load('comquick2cartHelper');
}
$getLanguageConstantForJs = comquick2cartHelper::getLanguageConstantForJs();
$stepjs_initalization = "\nvar  qtc_cartAlertMsg =\"" . JText::_("COM_QUICK2CART_COULD_NOT_CHANGE_CART_DETAIL_NOW") . "\";\nvar  qtc_shipMethRemovedMsg =\"" . JText::_("COM_QUICK2CART_COULD_NOT_CHANGE_SHIPMETH_DETAIL_NOW") . "\";\n\n";
$document->addScriptDeclaration($stepjs_initalization);
//$document->addScript($root_url.'components/com_quick2cart/assets/js/fuelux2.3loader.min.js');
$document->addStyleSheet($root_url . 'components/com_quick2cart/assets/css/fuelux2.3.1.css');
$document->addStyleSheet($root_url . 'components/com_quick2cart/assets/css/qtc_steps.css');
//$document->addScript($root_url.'components/com_quick2cart/assets/js/qtc_steps.js');
//$document->addScript($root_url.'components/com_quick2cart/assets/js/flowplayer-3.2.9.min.js');
$user = JFactory::getUser();
$jinput = JFactory::getApplication()->input;
$params = JComponentHelper::getParams('com_quick2cart');
$entered_numerics = "'" . JText::_('QTC_ENTER_NUMERICS') . "'";
?>
<div class="<?php 
echo Q2C_WRAPPER_CLASS;
?>
開發者ID:BetterBetterBetter,項目名稱:B3App,代碼行數:31,代碼來源:default.php


注:本文中的comquick2cartHelper::getLanguageConstantForJs方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。