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


PHP UniteFunctionsRev::getGetVar方法代码示例

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


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

示例1: checkExportImport

 /**
  * 
  * check export / import actions
  */
 private function checkExportImport()
 {
     //set message on start
     $message = UniteFunctionsRev::getGetVar("m");
     if ($message == "is") {
         //import success message
         $this->messageOnStart = "Import slider parameters and slides success!!!";
     }
     $clientAction = UniteFunctionsRev::getPostGetVariable("client_action");
     $helper = new HelperUniteOperationsRev();
     switch ($clientAction) {
         case "export_slider":
             $helper->exportSlider($this->sliderID);
             break;
         case "import_slider":
             $helper->importSlider($this->sliderID);
             //redirect
             $urlSlider = HelperUniteRev::getViewUrl_Slider($this->sliderID);
             $urlSlider .= "&m=is";
             UniteFunctionsRev::redirectToUrl($urlSlider);
             break;
     }
 }
开发者ID:DanyCan,项目名称:wisten.github.io,代码行数:27,代码来源:view.html.php

示例2: showImageFromGet

 /**
  * 
  * show image from get params
  */
 public function showImageFromGet()
 {
     $imageFilename = UniteFunctionsRev::getGetVar("img");
     $noencode = UniteFunctionsRev::getGetVar("noencode", "");
     if ($noencode != "true") {
         $imageFilename = base64_decode($imageFilename);
     }
     $maxWidth = UniteFunctionsRev::getGetVar("w", -1);
     $maxHeight = UniteFunctionsRev::getGetVar("h", -1);
     $type = UniteFunctionsRev::getGetVar("t", "");
     //set effect
     $effect = UniteFunctionsRev::getGetVar("e");
     $effectArgument1 = UniteFunctionsRev::getGetVar("ea1");
     if (!empty($effect)) {
         $this->setEffect($effect, $effectArgument1);
     }
     $this->showImage($imageFilename, $maxWidth, $maxHeight, $type);
 }
开发者ID:jehanryan,项目名称:Flotech,代码行数:22,代码来源:image_view.class.php

示例3: RevSlide

<?php

//get input
$slideID = UniteFunctionsRev::getGetVar("id");
//init slide object
$slide = new RevSlide();
$slide->initByID($slideID);
$slideParams = $slide->getParams();
$operations = new RevOperations();
//init slider object
$sliderID = $slide->getSliderID();
$slider = new RevSlider();
$slider->initByID($sliderID);
$sliderParams = $slider->getParams();
//set slide delay
$sliderDelay = $slider->getParam("delay", "9000");
$slideDelay = $slide->getParam("delay", "");
if (empty($slideDelay)) {
    $slideDelay = $sliderDelay;
}
require self::getSettingsFilePath("slide_settings");
require self::getSettingsFilePath("layer_settings");
$settingsLayerOutput = new UniteSettingsProductSidebarRev();
$settingsSlideOutput = new UniteSettingsRevProductRev();
$arrLayers = $slide->getLayers();
//get settings objects
$settingsLayer = self::getSettings("layer_settings");
$settingsSlide = self::getSettings("slide_settings");
$cssContent = self::getSettings("css_captions_content");
$arrCaptionClasses = $operations->getArrCaptionClasses($cssContent);
$arrButtonClasses = $operations->getButtonClasses();
开发者ID:nimishavyas,项目名称:proiti,代码行数:31,代码来源:slide.php

示例4: showImageFromGet

 /**
  * 
  * show image from get params
  */
 public function showImageFromGet()
 {
     //$imageFilename = UniteFunctionsRev::getGetVar("img");
     $imageID = intval(UniteFunctionsRev::getGetVar("img"));
     $maxWidth = UniteFunctionsRev::getGetVar("w", -1);
     $maxHeight = UniteFunctionsRev::getGetVar("h", -1);
     $type = UniteFunctionsRev::getGetVar("t", "");
     //set effect
     $effect = UniteFunctionsRev::getGetVar("e");
     $effectArgument1 = UniteFunctionsRev::getGetVar("ea1");
     if (!empty($effect)) {
         $this->setEffect($effect, $effectArgument1);
     }
     $this->showImageByID($imageID);
     echo 'sechs<br>';
     //$this->showImage($imageFilename,$maxWidth,$maxHeight,$type);
 }
开发者ID:cybKIRA,项目名称:roverlink-updated,代码行数:21,代码来源:image_view.class.php

示例5: defined

<?php

/**
 * @package Unite Revolution Slider for Joomla 1.7-2.5
 * @author UniteCMS.net
 * @copyright (C) 2012 Unite CMS, All Rights Reserved. 
 * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
**/
// No direct access.
defined('_JEXEC') or die;
$arrowsSets = HelperUniteRev::getArrowsList();
$settingID = UniteFunctionsRev::getGetVar("settingid");
?>

<div class="arrows_grid">
	<ul class="arrows_list">
	<?php 
foreach ($arrowsSets as $name => $set) {
    $urlLeft = $set["url_left"];
    $urlRight = $set["url_right"];
    ?>
				<li>
					<a href="javascript:void(0)" class="link_arrow" id="<?php 
    echo $name;
    ?>
" title="<?php 
    echo $name;
    ?>
">
						<span>
							<img src="<?php 
开发者ID:DanyCan,项目名称:wisten.github.io,代码行数:31,代码来源:arrows.php


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