本文整理汇总了PHP中RevSlide::getSettings方法的典型用法代码示例。如果您正苦于以下问题:PHP RevSlide::getSettings方法的具体用法?PHP RevSlide::getSettings怎么用?PHP RevSlide::getSettings使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类RevSlide
的用法示例。
在下文中一共展示了RevSlide::getSettings方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: initBySlide
/**
*
* init by another slide
*/
private function initBySlide(RevSlide $slide)
{
$this->id = "template";
$this->templateID = $slide->getID();
$this->sliderID = $slide->getSliderID();
$this->slideOrder = $slide->getOrder();
$this->imageUrl = $slide->getImageUrl();
$this->imageID = $slide->getImageID();
$this->imageThumb = $slide->getThumbUrl();
$this->imageFilepath = $slide->getImageFilepath();
$this->imageFilename = $slide->getImageFilename();
$this->params = $slide->getParams();
$this->arrLayers = $slide->getLayers();
$this->settings = $slide->getSettings();
$this->arrChildren = $slide->getArrChildrenPure();
}
示例2: RevSliderOperations
"</a>
<div class="tp-clearfix"></div>
</div>
<?php
require self::getPathTemplate('slide-selector');
$useWpml = $slider->getParam("use_wpml", "off");
if ($wpmlActive == true && $useWpml == 'on') {
require self::getPathTemplate('wpml-selector');
}
if (!$slide->isStaticSlide()) {
require self::getPathTemplate('slide-general-settings');
}
$operations = new RevSliderOperations();
$settings = $slide->getSettings();
$enable_custom_size_notebook = $slider->getParam('enable_custom_size_notebook', 'off');
$enable_custom_size_tablet = $slider->getParam('enable_custom_size_tablet', 'off');
$enable_custom_size_iphone = $slider->getParam('enable_custom_size_iphone', 'off');
$adv_resp_sizes = $enable_custom_size_notebook == 'on' || $enable_custom_size_tablet == 'on' || $enable_custom_size_iphone == 'on' ? true : false;
?>
<div id="jqueryui_error_message" class="unite_error_message" style="display:none;">
<?php
_e("<b>Warning!!! </b>The jquery ui javascript include that is loaded by some of the plugins are custom made and not contain needed components like 'autocomplete' or 'draggable' function.\r\r\n\t\tWithout those functions the editor may not work correctly. Please remove those custom jquery ui includes in order the editor will work correctly.", REVSLIDER_TEXTDOMAIN);
?>
</div>
<div class="edit_slide_wrapper<?php
示例3: getStaticSlideForExport
/**
*
* get slides for export
*/
public function getStaticSlideForExport($useDummy = false)
{
$arrSlidesExport = array();
$slide = new RevSlide();
$staticID = $slide->getStaticSlideID($this->id);
if ($staticID !== false) {
$slideNew = array();
$slide->initByStaticID($staticID);
$slideNew["params"] = $slide->getParamsForExport();
$slideNew["slide_order"] = $slide->getOrder();
$slideNew["layers"] = $slide->getLayersForExport($useDummy);
$slideNew["settings"] = $slide->getSettings();
$arrSlidesExport[] = $slideNew;
}
return $arrSlidesExport;
}