本文整理汇总了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;
}
}
示例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);
}
示例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();
示例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);
}
示例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