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

PHP UniteFunctionsRev类代码示例

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

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



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

示例1: getControlFields

 /**
  * 
  * get fields that relevant for the control
  */
 public function getControlFields()
 {
     $arrControls = array();
     //get base elements array
     $arrBase = array();
     $arrBase["parent"] = (string) UniteFunctionsRev::getVal($this->element, 'parent');
     $arrBase["value"] = (string) UniteFunctionsRev::getVal($this->element, 'value');
     $arrBase["ctype"] = (string) UniteFunctionsRev::getVal($this->element, 'ctype');
     //validate fields:
     if (empty($arrBase["parent"])) {
         UniteFunctionsRev::throwError("The parent can't be empty in control");
     }
     if (empty($arrBase["value"])) {
         UniteFunctionsRev::throwError("The value can't be empty in control: {$arrBase['parent']}");
     }
     if (empty($arrBase["ctype"])) {
         UniteFunctionsRev::throwError("The ctype can't be empty in control: {$arrBase['parent']}");
     }
     //get children
     $strchild = (string) UniteFunctionsRev::getVal($this->element, 'child');
     //validate child
     if (empty($strchild)) {
         UniteFunctionsRev::throwError("The child can't be empty in control: {$arrBase['parent']}");
     }
     $strchild = trim($strchild);
     $children = explode(",", $strchild);
     foreach ($children as $child) {
         $arrControl = $arrBase;
         $arrControl["child"] = $child;
         $arrControls[] = $arrControl;
     }
     return $arrControls;
 }
开发者ID:DanyCan,项目名称:wisten.github.io,代码行数:37,代码来源:control.php


示例2: rev_slider_shortcode

 function rev_slider_shortcode($args)
 {
     $sliderAlias = UniteFunctionsRev::getVal($args, 0);
     ob_start();
     $slider = RevSliderOutput::putSlider($sliderAlias);
     $content = ob_get_contents();
     ob_clean();
     ob_end_clean();
     //handle slider output types
     if (!empty($slider)) {
         $outputType = $slider->getParam("output_type", "");
         switch ($outputType) {
             case "compress":
                 $content = str_replace("\n", "", $content);
                 $content = str_replace("\r", "", $content);
                 return $content;
                 break;
             case "echo":
                 echo $content;
                 //bypass the filters
                 break;
             default:
                 return $content;
                 break;
         }
     } else {
         return $content;
     }
     //normal output
 }
开发者ID:venkimithu,项目名称:npmgroups,代码行数:30,代码来源:revslider.php


示例3: getInput

 /**
  * Method to get the field input markup.
  *
  * @return	string	The field input markup.
  * @since	1.6
  */
 protected function getInput()
 {
     // Load the modal behavior script.
     JHtml::_('behavior.modal', 'a.modal');
     // Build the script.
     $script = array();
     $script[] = '	function onBulletsSelect(data){';
     $script[] = '		alert("do something: " + data)';
     $script[] = '		SqueezeBox.close();';
     $script[] = '	}';
     // Add the script to the document head.
     JFactory::getDocument()->addScriptDeclaration(implode("\n", $script));
     // Setup variables for display.
     $html = array();
     $link = 'index.php?option=com_uniterevolution&view=slider&layout=bullets&tmpl=component';
     $html[] = '<input type="hidden" name="' . $this->name . '" id="' . $this->id . '"' . ' value="' . $this->value . '" />';
     $bulletsText = "Change Bullets";
     $buttonID = $this->id . "-btn";
     $desc = UniteFunctionsRev::getVal($this->element, "description");
     $htmlAddon = "";
     if (!empty($desc)) {
         $htmlAddon = ' title="' . $desc . '"';
         //$class .= " hasTip";	//making problems with rel
     }
     // The user select button.
     $html[] = '	<a id="' . $buttonID . '" class="modal panel_button" ' . $htmlAddon . '  href="' . $link . '&amp;' . JSession::getFormToken() . '=1" rel="{handler: \'iframe\', size: {x: 900, y: 450}}">' . $bulletsText . '</a>';
     $html = implode("\n", $html);
     return $html;
 }
开发者ID:DanyCan,项目名称:wisten.github.io,代码行数:35,代码来源:bullets.php


示例4: putJavascript

    /**
     * 
     * javascript output to footer
     */
    public function putJavascript()
    {
        $urlPlugin = UniteBaseClassRev::$url_plugin . "rs-plugin/";
        $operations = new RevOperations();
        $arrValues = $operations->getGeneralSettingsValues();
        $use_hammer = UniteFunctionsRev::getVal($arrValues, "use_hammer_js", 'on');
        if ($use_hammer == 'off') {
            ?>
				<script type='text/javascript' src='<?php 
            echo $urlPlugin;
            ?>
js/jquery.themepunch.disablehammer.js?rev=<?php 
            echo GlobalsRevSlider::SLIDER_REVISION;
            ?>
'></script>
				<?php 
        }
        ?>
			<script type='text/javascript' src='<?php 
        echo $urlPlugin;
        ?>
js/jquery.themepunch.tools.min.js?rev=<?php 
        echo GlobalsRevSlider::SLIDER_REVISION;
        ?>
'></script>
			<script type='text/javascript' src='<?php 
        echo $urlPlugin;
        ?>
js/jquery.themepunch.revolution.min.js?rev=<?php 
        echo GlobalsRevSlider::SLIDER_REVISION;
        ?>
'></script>
			<?php 
    }
开发者ID:misfist,项目名称:missdrepants-network,代码行数:38,代码来源:revslider_front.php


示例5: yit_revslider_slider

function yit_revslider_slider()
{
    $operations = new RevOperations();
    $arrValues = $operations->getGeneralSettingsValues();

    $includesGlobally = UniteFunctionsRev::getVal($arrValues, "includes_globally","on");

    $isWidgetActive = is_active_widget( false, false, "rev-slider-widget", true );
    $hasShortcode = UniteFunctionsWPRev::hasShortcode("rev_slider");

    if ( yit_slider_get_setting('slider_type',yit_slider_name()) != 'revolution-slider' || $includesGlobally == "on" || $isWidgetActive || $hasShortcode ) {
        return;
    }

    wp_enqueue_style('rs-plugin-settings', RS_PLUGIN_URL .'public/assets/css/settings.css', array(), RevSliderGlobals::SLIDER_REVISION);

    $custom_css = RevOperations::getStaticCss();
    $custom_css = UniteCssParserRev::compress_css($custom_css);
    wp_add_inline_style('rs-plugin-settings', $custom_css);

    $setBase = (is_ssl()) ? "https://" : "http://";

    $url_jquery = $setBase . "ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js?app=revolution";
    wp_enqueue_script("jquery", $url_jquery);

    // put javascript to footer
    add_action('wp_footer', array($GLOBALS['productFront'], 'putJavascript'));
}
开发者ID:simonsays88,项目名称:costa,代码行数:28,代码来源:config.php


示例6: getInput

 /**
  * Method to get the field input markup.
  *
  * @return	string	The field input markup.
  * @since	1.6
  */
 protected function getInput()
 {
     // Load the modal behavior script.
     JHtml::_('behavior.modal', 'a.modal');
     // Build the script.
     $script = array();
     $script[] = '	function onArrowsSelect(data){';
     $script[] = '		UniteAdminRev.onArrowsChange(data);';
     $script[] = '		SqueezeBox.close();';
     $script[] = '	}';
     // Add the script to the document head.
     JFactory::getDocument()->addScriptDeclaration(implode("\n", $script));
     // Setup variables for display.
     $html = array();
     $link = 'index.php?option=' . GlobalsUniteRev::COMPONENT_NAME . '&view=slider&layout=arrows&tmpl=component&settingid=' . $this->id;
     $buttonType = $this->value;
     $arrArrowSet = HelperUniteRev::getArrowSet($buttonType);
     $arrowName = $arrArrowSet["name"];
     $html[] = '<input type="hidden" name="' . $this->name . '" id="' . $this->id . '"' . ' value="' . $this->value . '" />';
     $buttonID = $this->id . "-btn";
     $desc = UniteFunctionsRev::getVal($this->element, "description");
     // The the arrow
     $imageArrow = $arrArrowSet["url_right"];
     $html[] = '<span class="chooser-image-wrapper"><img id="' . $this->id . '-img" title="' . $arrowName . '" src="' . $imageArrow . '"></span>';
     //put select button
     $html[] = '	<a id="' . $buttonID . '" class="modal button-secondary button-chooser" href="' . $link . '&amp;' . JSession::getFormToken() . '=1" rel="{handler: \'iframe\', size: {x: 900, y: 450}}">Change</a>';
     $html = implode("\n", $html);
     return $html;
 }
开发者ID:DanyCan,项目名称:wisten.github.io,代码行数:35,代码来源:arrows.php


示例7: getSliderID

 /**
  * 
  * get slider id
  */
 public function getSliderID()
 {
     $sliderID = JRequest::getCmd("id");
     if (empty($sliderID)) {
         UniteFunctionsRev::throwError("Slider ID url argument not found (id)");
     }
     return $sliderID;
 }
开发者ID:DanyCan,项目名称:wisten.github.io,代码行数:12,代码来源:items.php


示例8: onAddScripts

 /**
  * 
  * a must function. you can not use it, but the function must stay there!.
  *   
  */
 public static function onAddScripts()
 {
     global $wp_version;
     $style_pre = '';
     $style_post = '';
     if ($wp_version < 3.7) {
         $style_pre = '<style type="text/css">';
         $style_post = '</style>';
     }
     $operations = new RevOperations();
     $arrValues = $operations->getGeneralSettingsValues();
     $includesGlobally = UniteFunctionsRev::getVal($arrValues, "includes_globally", "on");
     $includesFooter = UniteFunctionsRev::getVal($arrValues, "js_to_footer", "off");
     $strPutIn = UniteFunctionsRev::getVal($arrValues, "pages_for_includes");
     $isPutIn = RevSliderOutput::isPutIn($strPutIn, true);
     //put the includes only on pages with active widget or shortcode
     // if the put in match, then include them always (ignore this if)
     if ($isPutIn == false && $includesGlobally == "off") {
         $isWidgetActive = is_active_widget(false, false, "rev-slider-widget", true);
         $hasShortcode = UniteFunctionsWPRev::hasShortcode("rev_slider");
         if ($isWidgetActive == false && $hasShortcode == false) {
             return false;
         }
     }
     self::addStyle("settings", "rs-plugin-settings", "rs-plugin/css");
     $custom_css = RevOperations::getStaticCss();
     $custom_css = UniteCssParserRev::compress_css($custom_css);
     wp_add_inline_style('rs-plugin-settings', $style_pre . $custom_css . $style_post);
     /*
      */
     /*
     $styles = $db->fetch(GlobalsRevSlider::$table_css);
     $styles = UniteCssParserRev::parseDbArrayToCss($styles, "\n");
     $styles = UniteCssParserRev::compress_css($styles);
     wp_add_inline_style( 'rs-plugin-settings', $style_pre.$styles.$style_post );
     
     // KRISZTIAN MODIFICATION FOR INNERLAYERS
     $stylesinnerlayers = str_replace('.tp-caption', '',$styles);´
     wp_add_inline_style( 'rs-plugin-settings', $style_pre.$stylesinnerlayers.$style_post );
     // END MODIFICATION
     */
     $setBase = is_ssl() ? "https://" : "http://";
     $url_jquery = $setBase . "ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js?app=revolution";
     self::addScriptAbsoluteUrl($url_jquery, "jquery");
     if ($includesFooter == "off") {
         $waitfor = array('jquery');
         $enable_logs = UniteFunctionsRev::getVal($arrValues, "enable_logs", 'off');
         if ($enable_logs == 'on') {
             self::addScriptWaitFor("jquery.themepunch.enablelog", "rs-plugin/js", 'enable-logs');
             $waitfor[] = 'enable-logs';
         }
         self::addScriptWaitFor("jquery.themepunch.tools.min", "rs-plugin/js", 'tp-tools', $waitfor);
         self::addScriptWaitFor("jquery.themepunch.revolution.min", "rs-plugin/js", 'revmin', 'tp-tools');
     } else {
         //put javascript to footer
         UniteBaseClassRev::addAction('wp_footer', 'putJavascript');
     }
 }
开发者ID:epiii,项目名称:aros,代码行数:63,代码来源:revslider_front.php


示例9: rev_slider_shortcode

 function rev_slider_shortcode($args)
 {
     $sliderAlias = UniteFunctionsRev::getVal($args, 0);
     ob_start();
     RevSliderOutput::putSlider($sliderAlias);
     $content = ob_get_contents();
     ob_clean();
     return $content;
 }
开发者ID:rohichurch,项目名称:rohichurch-wp,代码行数:9,代码来源:revslider.php


示例10: delete

 /**
  * 
  * delete rows
  */
 public function delete($table, $where)
 {
     global $wpdb;
     UniteFunctionsRev::validateNotEmpty($table, "table name");
     UniteFunctionsRev::validateNotEmpty($where, "where");
     $query = "delete from {$table} where {$where}";
     $wpdb->query($query);
     $this->checkForErrors("Delete query error");
 }
开发者ID:Lumbe,项目名称:dev_servus,代码行数:13,代码来源:db.class.php


示例11: update

 public function update($table, $arrItems, $where)
 {
     $response = $this->wpdb->update($table, $arrItems, $where);
     if ($response === false) {
         UniteFunctionsRev::throwError("no update action taken!");
     }
     $this->checkForErrors("Update query error");
     return $response;
 }
开发者ID:rinodung,项目名称:opencart-15x-flat-admin,代码行数:9,代码来源:db.class.php


示例12: __construct

 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $revSliderAdmin = Mage::getSingleton('RevSliderAdmin');
     $revSliderAdmin->requireSettings("slider_settings");
     $settingsMain = $revSliderAdmin->getSettings("slider_main");
     $settingsParams = $revSliderAdmin->getSettings("slider_params");
     $settingsSliderMain = new RevSliderSettingsProduct();
     $settingsSliderParams = new UniteSettingsProductSidebarRev();
     //get taxonomies with cats
     $postTypesWithCats = RevOperations::getPostTypesWithCatsForClient();
     $jsonTaxWithCats = UniteFunctionsRev::jsonEncodeForClientSide($postTypesWithCats);
     //check existing slider data:
     $sliderID = $this->getRequest()->getParam('id');
     if (!empty($sliderID)) {
         $slider = new RevSlider();
         $slider->initByID($sliderID);
         //get setting fields
         $settingsFields = $slider->getSettingsFields();
         $arrFieldsMain = $settingsFields["main"];
         $arrFieldsParams = $settingsFields["params"];
         //modify arrows type for backword compatability
         $arrowsType = UniteFunctionsRev::getVal($arrFieldsParams, "navigation_arrows");
         switch ($arrowsType) {
             case "verticalcentered":
                 $arrFieldsParams["navigation_arrows"] = "solo";
                 break;
         }
         //set custom type params values:
         $settingsMain = RevSliderSettingsProduct::setSettingsCustomValues($settingsMain, $arrFieldsParams, $postTypesWithCats);
         //set setting values from the slider
         $settingsMain->setStoredValues($arrFieldsParams);
         $settingsParams->setStoredValues($arrFieldsParams);
         //update short code setting
         $shortcode = $slider->getShortcode();
         $settingsMain->updateSettingValue("shortcode", htmlentities($shortcode));
         $linksEditSlides = $this->helper("adminhtml")->getUrl('adminhtml/nwdrevslider/slides/id/' . $sliderID);
         $settingsSliderParams->init($settingsParams);
         $settingsSliderMain->init($settingsMain);
         $settingsSliderParams->isAccordion(true);
         $this->assign('sliderID', $sliderID);
         $this->assign('linksEditSlides', $linksEditSlides);
         $this->assign('arrFieldsParams', $arrFieldsParams);
         $this->setTemplate('nwdthemes/revslider/templates/slider_edit.phtml');
     } else {
         //set custom type params values:
         $settingsMain = RevSliderSettingsProduct::setSettingsCustomValues($settingsMain, array(), $postTypesWithCats);
         $settingsSliderParams->init($settingsParams);
         $settingsSliderMain->init($settingsMain);
         $settingsSliderParams->isAccordion(true);
         $this->setTemplate('nwdthemes/revslider/templates/slider_new.phtml');
     }
     $this->assign('sliderTemplate', $this->_sliderTemplate);
     $this->assign('settingsSliderMain', $settingsSliderMain);
     $this->assign('settingsSliderParams', $settingsSliderParams);
     $this->assign('jsonTaxWithCats', $jsonTaxWithCats);
 }
开发者ID:perseusl,项目名称:kingdavid,代码行数:60,代码来源:Edit.php


示例13: checkCopyCaptionsCssFile

 /**
  * 
  * check that captions file exists and if not - copy it to it's place.
  */
 private function checkCopyCaptionsCssFile()
 {
     if (file_exists(GlobalsUniteRev::$pathCaptionsCss) == false) {
         copy(GlobalsUniteRev::$pathCaptionsCssOriginal, GlobalsUniteRev::$pathCaptionsCss);
     }
     if (file_exists(GlobalsUniteRev::$pathCaptionsCss) == false) {
         UniteFunctionsRev::throwError("The captions file couldn't be copied to it's place: {GlobalsUniteRev::{$pathCaptionsCss}}, please copy it by hand from captions-original.css from the same folder, or turn to support.");
     }
 }
开发者ID:DanyCan,项目名称:wisten.github.io,代码行数:13,代码来源:controller.php


示例14: getFieldFromDB

 /**
  *
  * get field from db
  */
 public function getFieldFromDB($name)
 {
     $arr = $this->db->fetch(GlobalsRevSlider::$table_settings);
     if (empty($arr)) {
         return "";
     }
     $arr = $arr[0];
     if (array_key_exists($name, $arr) == false) {
         UniteFunctionsRev::throwError("The settings db should cotnain field: {$name}");
     }
     $value = $arr[$name];
     return $value;
 }
开发者ID:perseusl,项目名称:kingdavid,代码行数:17,代码来源:revslider_params.class.php


示例15: isDBTableExists

 /**
  * 
  * check if some db table exists
  */
 public static function isDBTableExists($tableName)
 {
     global $wpdb;
     if (empty($tableName)) {
         UniteFunctionsRev::throwError("Empty table name!!!");
     }
     $sql = "show tables like '{$tableName}'";
     $table = $wpdb->get_var($sql);
     if ($table == $tableName) {
         return true;
     }
     return false;
 }
开发者ID:ashanrupasinghe,项目名称:govforuminstalledlocal,代码行数:17,代码来源:functions_wordpress.class.php


示例16: widget

 /**
  * 
  * widget output
  */
 public function widget($args, $instance)
 {
     $sliderID = UniteFunctionsRev::getVal($instance, "rev_slider");
     $homepageCheck = UniteFunctionsRev::getVal($instance, "rev_slider_homepage");
     $homepage = "";
     if ($homepageCheck == "on") {
         $homepage = "homepage";
     }
     if (empty($sliderID)) {
         return false;
     }
     RevSliderOutput::putSlider($sliderID, $homepage);
 }
开发者ID:ConceptHaus,项目名称:huasca,代码行数:17,代码来源:revslider_widget.class.php


示例17: getInput

 /**
  * Method to get the field input markup.
  *
  * @return	string	The field input markup.
  * @since	1.6
  */
 protected function getInput()
 {
     // Initialize some field attributes.
     if (empty($class)) {
         $class = "button1";
     }
     $id = $this->element['name'];
     $label = $this->element['label'];
     $desc = UniteFunctionsRev::getVal($this->element, "description");
     $htmlAddon = "";
     if (!empty($desc)) {
         $htmlAddon = "class='hasTip' title='{$desc}'";
     }
     $html = "<input type='button' id='{$id}' value='{$label}' {$htmlAddon}>";
     return $html;
 }
开发者ID:DanyCan,项目名称:wisten.github.io,代码行数:22,代码来源:mybutton.php


示例18: form

 /**
  * 
  * the form
  */
 public function form($instance)
 {
     $slider = new RevSlider();
     $arrSliders = $slider->getArrSlidersShort();
     $sliderID = UniteFunctionsRev::getVal($instance, "rev_slider");
     if (empty($arrSliders)) {
         echo __("No sliders found, Please create a slider", tk_theme_name);
     } else {
         $field = "rev_slider";
         $fieldID = $this->get_field_id($field);
         $fieldName = $this->get_field_name($field);
         $select = UniteFunctionsRev::getHTMLSelect($arrSliders, $sliderID, 'name="' . $fieldName . '" id="' . $fieldID . '"', true);
     }
     echo "Choose slider: ";
     echo $select;
 }
开发者ID:rohichurch,项目名称:rohichurch-wp,代码行数:20,代码来源:revslider_widget.class.php


示例19: putRevSlider

 /**
  * 
  * put rev slider on the page.
  * the data can be slider ID or slider alias.
  */
 function putRevSlider($data, $putIn = "")
 {
     $operations = new RevOperations();
     $arrValues = $operations->getGeneralSettingsValues();
     $includesGlobally = UniteFunctionsRev::getVal($arrValues, "includes_globally", "on");
     $strPutIn = UniteFunctionsRev::getVal($arrValues, "pages_for_includes");
     $isPutIn = RevSliderOutput::isPutIn($strPutIn, true);
     if ($isPutIn == false && $includesGlobally == "off") {
         $output = new RevSliderOutput();
         $option1Name = "Include RevSlider libraries globally (all pages/posts)";
         $option2Name = "Pages to include RevSlider libraries";
         $output->putErrorMessage(__("If you want to use the PHP function \"putRevSlider\" in your code please make sure to check \" ", REVSLIDER_TEXTDOMAIN) . $option1Name . __(" \" in the backend's \"General Settings\" (top right panel). <br> <br> Or add the current page to the \"", REVSLIDER_TEXTDOMAIN) . $option2Name . __("\" option box."));
         return false;
     }
     RevSliderOutput::putSlider($data, $putIn);
 }
开发者ID:ashanrupasinghe,项目名称:amc-car-from-server-2015-1-14,代码行数:21,代码来源:revslider.php


示例20: onAddScripts

 public static function onAddScripts()
 {
     global $wp_version;
     $style_pre = '';
     $style_post = '';
     if ($wp_version < 3.7) {
         $style_pre = '<style type="text/css">';
         $style_post = '</style>';
     }
     $operations = new RevOperations();
     $arrValues = $operations->getGeneralSettingsValues();
     $includesGlobally = UniteFunctionsRev::getVal($arrValues, "includes_globally", "on");
     $includesFooter = UniteFunctionsRev::getVal($arrValues, "js_to_footer", "off");
     $strPutIn = UniteFunctionsRev::getVal($arrValues, "pages_for_includes");
     $isPutIn = RevSliderOutput::isPutIn($strPutIn, true);
     if ($isPutIn == false && $includesGlobally == "off") {
         $isWidgetActive = is_active_widget(false, false, "rev-slider-widget", true);
         $hasShortcode = UniteFunctionsWPRev::hasShortcode("rev_slider");
         if ($isWidgetActive == false && $hasShortcode == false) {
             return false;
         }
     }
     self::addStyle("settings", "rs-plugin-settings", "rs-plugin/css");
     $custom_css = RevOperations::getStaticCss();
     $custom_css = UniteCssParserRev::compress_css($custom_css);
     wp_add_inline_style('rs-plugin-settings', $style_pre . $custom_css . $style_post);
     $setBase = get_http();
     $url_jquery = $setBase . "ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js?app=revolution";
     self::addScriptAbsoluteUrl($url_jquery, "jquery");
     if ($includesFooter == "off") {
         $waitfor = array('jquery');
         $enable_logs = UniteFunctionsRev::getVal($arrValues, "enable_logs", 'off');
         if ($enable_logs == 'on') {
             self::addScriptWaitFor("jquery.themepunch.enablelog", "rs-plugin/js", 'enable-logs');
             $waitfor[] = 'enable-logs';
         }
         self::addScriptWaitFor("jquery.themepunch.tools.min", "rs-plugin/js", 'tp-tools', $waitfor);
         self::addScriptWaitFor("jquery.themepunch.revolution.min", "rs-plugin/js", 'revmin', 'tp-tools');
     } else {
         UniteBaseClassRev::addAction('wp_footer', 'putJavascript');
     }
 }
开发者ID:rinodung,项目名称:opencart-15x-flat-admin,代码行数:42,代码来源:revslider_front.php



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
PHP UniteFunctionsWPRev类代码示例发布时间:2022-05-23
下一篇:
PHP UniteDBRev类代码示例发布时间: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