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


PHP UniteFunctionsWPRev::getUrlContent方法代码示例

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


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

示例1: onShowImage

 /**
  * 
  * on show image ajax event. outputs image with parameters 
  */
 public static function onShowImage()
 {
     $pathImages = UniteFunctionsWPRev::getPathContent();
     $urlImages = UniteFunctionsWPRev::getUrlContent();
     try {
         $imageView = new UniteImageViewRev(self::$path_cache, $pathImages, $urlImages);
         $imageView->showImageFromGet();
     } catch (Exception $e) {
         header("status: 500");
         echo $e->getMessage();
         exit;
     }
 }
开发者ID:brianmontecillo,项目名称:wordpress,代码行数:17,代码来源:base.class.php

示例2: onShowImage

 /**
  * 
  * on show image ajax event. outputs image with parameters 
  */
 public static function onShowImage()
 {
     $img = Tools::getValue('img');
     if (empty($img)) {
         die('Image doesn\'t exists!');
     }
     $pathImages = UniteFunctionsWPRev::getPathContent();
     $urlImages = UniteFunctionsWPRev::getUrlContent();
     try {
         $imageView = new UniteImageViewRev(self::$path_cache, $pathImages, $urlImages);
         $imageView->showImageFromGet();
     } catch (Exception $e) {
         header("status: 500");
         echo $e->getMessage();
         exit;
     }
 }
开发者ID:rinodung,项目名称:opencart-15x-flat-admin,代码行数:21,代码来源:base.class.php

示例3:

<?php

global $revSliderVersion;
$wrapperClass = "";
if (GlobalsRevSlider::$isNewVersion == false) {
    $wrapperClass = " oldwp";
}
?>

<script type="text/javascript">
	var g_uniteDirPlagin = "<?php 
echo self::$dir_plugin;
?>
";
	var g_urlContent = "<?php 
echo UniteFunctionsWPRev::getUrlContent();
?>
";
	var g_urlAjaxShowImage = "<?php 
echo UniteBaseClassRev::$url_ajax_showimage;
?>
";
	var g_urlAjaxActions = "<?php 
echo UniteBaseClassRev::$url_ajax_actions;
?>
";
	var g_settingsObj = {};
	
</script>

<div id="div_debug"></div>
开发者ID:aragonc,项目名称:apneuro,代码行数:31,代码来源:master_view.php

示例4: hookdisplayBackOfficeHeader

 public function hookdisplayBackOfficeHeader()
 {
     if (Tools::getvalue('configure') == 'revsliderprestashop') {
         $this->context->controller->addCSS($this->_path . 'css/jui/new/jquery-ui-1.10.3.custom.min.css');
         $this->context->controller->addCSS($this->_path . 'css/admin.css');
         $this->context->controller->addCSS($this->_path . 'css/tipsy.css');
         $this->context->controller->addCSS($this->_path . 'css/load-styles.css');
         $this->context->controller->addCSS($this->_path . 'js/farbtastic/farbtastic.css');
         $this->context->controller->addCSS($this->_path . 'js/codemirror/codemirror.css');
         $this->context->controller->addCSS($this->_path . 'css/edit_layers.css');
         $this->context->controller->addCSS($this->_path . 'css/thickbox.css');
         $this->context->controller->addCSS($this->_path . 'rs-plugin/css/settings.css');
         $this->context->controller->addCSS($this->_path . 'rs-plugin/css/static-captions.css');
         $g_urlContent = UniteFunctionsWPRev::getUrlContent();
         $dynamicadmincss = 'index.php?controller=Revolutionslider_ajax&token=' . Context::getcontext()->controller->token . '&revControllerAction=captions';
         $this->smarty->assign('dynamicadmincss', $dynamicadmincss);
         $this->smarty->assign('g_urlContent', $g_urlContent);
         $this->smarty->assign('this_path', $this->_path);
         return $this->display(__FILE__, 'views/templates/admin/revolution_admin.tpl');
     }
 }
开发者ID:evgrishin,项目名称:se1614,代码行数:21,代码来源:revsliderprestashop.php


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