本文整理匯總了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;
}