當前位置: 首頁>>代碼示例>>PHP>>正文


PHP RevSlide::getSettings方法代碼示例

本文整理匯總了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();
 }
開發者ID:chilootz,項目名稱:eastcoastboymeetswestcoastgirl_com,代碼行數:20,代碼來源:slide.class.php

示例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 
開發者ID:vicpril,項目名稱:rep_bidqa,代碼行數:31,代碼來源:slide-editor.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;
 }
開發者ID:VLabsInc,項目名稱:WordPressPlatforms,代碼行數:20,代碼來源:slider.class.php


注:本文中的RevSlide::getSettings方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。