Best Prophecy code snippet using Revealer
base.class.php
Source:base.class.php
...6*/78if(!defined('ABSPATH')) exit();910class RsAddOnRevealerBase {11 12 const MINIMUM_VERSION = '6.0';13 14 protected function systemsCheck() {15 16 if(!class_exists('RevSliderFront')) {17 18 return 'add_notice_plugin';19 20 }21 else if(!version_compare(RevSliderGlobals::SLIDER_REVISION, RsAddOnRevealerBase::MINIMUM_VERSION, '>=')) {22 23 return 'add_notice_version';24 25 }26 else if(get_option('revslider-valid', 'false') == 'false') {27 28 return 'add_notice_activation';29 30 }31 32 return false;33 34 }35 36 protected function loadClasses() {37 38 $isAdmin = is_admin();39 40 if($isAdmin) {41 42 //handle update process, this uses the typical ThemePunch server process43 require_once(static::$_PluginPath . 'admin/includes/update.class.php');44 $update_admin = new RevAddOnRevealerUpdate(static::$_Version);4546 add_filter('pre_set_site_transient_update_plugins', array($update_admin, 'set_update_transient'));47 add_filter('plugins_api', array($update_admin, 'set_updates_api_results'), 10, 3);48 49 // admin CSS/JS50 add_action('admin_enqueue_scripts', array($this, 'enqueue_admin_scripts'));51 52 }53 54 /* 55 frontend scripts always enqueued for admin previews56 */57 require_once(static::$_PluginPath . 'public/includes/slider.class.php');58 59 new RsRevealerSliderFront(static::$_Version, static::$_PluginUrl, static::$_PluginTitle, $isAdmin);60 61 }62 63 /**64 * Load the textdomain65 **/66 protected function _loadPluginTextDomain(){67 68 load_plugin_textdomain('rs_' . static::$_PluginTitle, false, static::$_PluginPath . 'languages/');69 70 }71 72 73 // load admin scripts74 public function enqueue_admin_scripts($hook) {7576 77 if($hook === 'toplevel_page_revslider') {7879 if(!isset($_GET['page']) || !isset($_GET['view'])) return;80 81 $page = $_GET['page'];82 if($page !== 'revslider') return;83 84 $_handle = 'rs-' . static::$_PluginTitle . '-admin';85 $_base = static::$_PluginUrl . 'admin/assets/';86 $_textdomain = 'rs_' . static::$_PluginTitle;87 88 wp_enqueue_style($_handle, static::$_PluginUrl . 'public/assets/css/revolution.addon.revealer.preloaders.css', array(), static::$_Version);89 wp_enqueue_script($_handle, $_base . 'js/revslider-' . static::$_PluginTitle . '-addon-admin.js', array('jquery', 'revbuilder-admin'), static::$_Version, true);90 wp_localize_script($_handle, 'revslider_revealer_addon', self::get_var() );91 }92 93 }94 95 /**96 * New function for ajax activation to include AddOn help definitions97 *98 * @since 2.0.099 */100 public static function get_data($var='',$slug='revslider-revealer-addon') {101 102 if($slug === 'revslider-revealer-addon'){103 104 $obj = self::get_var();105 $obj['help'] = self::get_definitions();106 return $obj;107 108 }109 110 return $var;111 112 }113 114 /**115 * Called via php filter. Merges AddOn definitions with core revslider definitions116 *117 * @since 2.0.0118 */119 public static function get_help($definitions) {120 121 if(empty($definitions) || !isset($definitions['editor_settings'])) return $definitions;122 123 if(isset($definitions['editor_settings']['slider_settings']) && isset($definitions['editor_settings']['slider_settings']['addons'])) {124 $help = self::get_definitions();125 $definitions['editor_settings']['slider_settings']['addons']['revealer_addon'] = $help['slider'];126 }127 128 return $definitions;129 130 }131132133 /**134 * Returns the global JS variable135 *136 * @since 2.0.0137 */138 public static function get_var() {139140 return array(141 'bricks' => array(142 'revealer' => __('Reveal', 'revslider-revealer-addon'),143 'reveal_settings' => __('Reveal Settings', 'revslider-revealer-addon'),144 'reveal_color' => __('Reveal Color', 'revslider-revealer-addon'),145 'active' => __('Active', 'revslider-revealer-addon'),146 'opening_reveal' => __('Reveal Type', 'revslider-revealer-addon'),147 'none' => __('None', 'revslider-revealer-addon'),148 'open_horizontal' => __('Open Horizontal', 'revslider-revealer-addon'),149 'open_vertical' => __('Open Vertical', 'revslider-revealer-addon'),150 'split_left_corner' => __('Open Left Corner', 'revslider-revealer-addon'),151 'split_right_corner' => __('Open Right Corner', 'revslider-revealer-addon'),152 'shrink_circle' => __('Shrink Circle', 'revslider-revealer-addon'),153 'expand_circle' => __('Expand Circle', 'revslider-revealer-addon'),154 'left_to_right' => __('Left to Right', 'revslider-revealer-addon'),155 'right_to_left' => __('Right to Left', 'revslider-revealer-addon'),156 'top_to_bottom' => __('Top to Bottom', 'revslider-revealer-addon'),157 'bottom_to_top' => __('Bottom to Top', 'revslider-revealer-addon'),158 'tlbr_skew' => __('Top Left to Bottom Right', 'revslider-revealer-addon'),159 'trbl_skew' => __('Top Right to Bottom Left', 'revslider-revealer-addon'),160 'bltr_skew' => __('Bottom Left to Top Right', 'revslider-revealer-addon'),161 'brtl_skew' => __('Bottom Right to Top Left', 'revslider-revealer-addon'),162 'reveal_easing' => __('Reveal Ease', 'revslider-revealer-addon'),163 'reveal_duration' => __('Reveal Duration', 'revslider-revealer-addon'),164 'enable_overlay' => __('Use Overlay', 'revslider-revealer-addon'),165 'overlay_color' => __('Overlay Color', 'revslider-revealer-addon'),166 'overlay_easing' => __('Overlay Ease', 'revslider-revealer-addon'),167 'spinner_settings' => __('Spinner Settings', 'revslider-revealer-addon'),168 'defaults' => __('Default', 'revslider-revealer-addon'), 169 'spinner' => __('Spinner', 'revslider-revealer-addon'),170 'spinner_color' => __('Spinner Color', 'revslider-revealer-addon'),171 'placeholder_select' => __('Select From List', 'revslider-revealer-addon')172 )173 );174175 }176 177 /**178 * Returns the addon help definitions179 *180 * @since 2.0.0181 */182 private static function get_definitions() {183 184 return array(185 186 'slider' => array(187 188 'type' => array(189 190 'dependency_id' => 'reveal_type',191 'buttonTitle' => __('Revealer Addon Type', 'revslider-revealer-addon'), 192 'title' => __('Reveal Type', 'revslider-revealer-addon'),193 'helpPath' => 'addOns.revslider-revealer-addon.direction', 194 'keywords' => array('addon', 'addons', 'reveal', 'reveal addon', 'revealer', 'revealer addon', 'reveal type'), 195 'description' => __("Choose how the Slider should be revealed", 'revslider-revealer-addon'), 196 'helpStyle' => 'normal', 197 'article' => 'http://docs.themepunch.com/slider-revolution/reveal-addon/', 198 'video' => false,199 'section' => 'Slide Settings -> Reveal',200 'highlight' => array(201 202 'menu' => "#module_settings_trigger, #gst_sl_revslider-revealer-addon", 203 'scrollTo' => '#form_slidergeneral_revslider-revealer-addon', 204 'focus' => "#revealer_direction"205 206 )207 208 ),209 210 'color' => array(211 212 'buttonTitle' => __('Revealer Addon Color', 'revslider-revealer-addon'), 213 'title' => __('Reveal Color', 'revslider-revealer-addon'),214 'helpPath' => 'addOns.revslider-revealer-addon.color', 215 'keywords' => array('addon', 'addons', 'reveal', 'reveal addon', 'revealer', 'revealer addon', 'reveal color', 'color'), 216 'description' => __("The main color for the chosen reveal effect", 'revslider-revealer-addon'), 217 'helpStyle' => 'normal', 218 'article' => 'http://docs.themepunch.com/slider-revolution/reveal-addon/', 219 'video' => false,220 'section' => 'Slide Settings -> Reveal',221 'highlight' => array(222 223 'dependencies' => array(array('path' => 'settings.addOns.revslider-revealer-addon.direction', 'value' => 'open_horizontal::open_vertical::split_left_corner::split_right_corner::shrink_circle::left_to_right::right_to_left::top_to_bottom::bottom_to_top::tlbr_skew::trbl_skew::bltr_skew::brtl_skew', 'option' => 'reveal_type')),224 'menu' => "#module_settings_trigger, #gst_sl_revslider-revealer-addon", 225 'scrollTo' => '#form_slidergeneral_revslider-revealer-addon', 226 'focus' => "#revealer_color"227 228 )229 230 ),231 232 'easing' => array(233 234 'buttonTitle' => __('Revealer Addon Easing', 'revslider-revealer-addon'), 235 'title' => __('Reveal Easing', 'revslider-revealer-addon'),236 'helpPath' => 'addOns.revslider-revealer-addon.easing', 237 'keywords' => array('addon', 'addons', 'reveal', 'reveal addon', 'revealer', 'revealer addon', 'reveal easing', 'easing'), 238 'description' => __("The easing equation to use for the reveal effect", 'revslider-revealer-addon'), 239 'helpStyle' => 'normal', 240 'article' => 'http://docs.themepunch.com/slider-revolution/reveal-addon/', 241 'video' => false,242 'section' => 'Slide Settings -> Reveal',243 'highlight' => array(244 245 'dependencies' => array(array('path' => 'settings.addOns.revslider-revealer-addon.direction', 'value' => 'open_horizontal::open_vertical::split_left_corner::split_right_corner::shrink_circle::left_to_right::right_to_left::top_to_bottom::bottom_to_top::tlbr_skew::trbl_skew::bltr_skew::brtl_skew::expand_circle', 'option' => 'reveal_type')),246 'menu' => "#module_settings_trigger, #gst_sl_revslider-revealer-addon", 247 'scrollTo' => '#form_slidergeneral_revslider-revealer-addon', 248 'focus' => "*[data-r='addOns.revslider-revealer-addon.easing']"249 250 )251 252 ),253 254 'duration' => array(255 256 'buttonTitle' => __('Revealer Addon Duration', 'revslider-revealer-addon'), 257 'title' => __('Reveal Duration', 'revslider-revealer-addon'),258 'helpPath' => 'addOns.revslider-revealer-addon.duration', 259 'keywords' => array('addon', 'addons', 'reveal', 'reveal addon', 'revealer', 'revealer addon', 'reveal duration', 'duration'), 260 'description' => __("The total time the reveal effect should occur in milliseconds", 'revslider-revealer-addon'), 261 'helpStyle' => 'normal', 262 'article' => 'http://docs.themepunch.com/slider-revolution/reveal-addon/', 263 'video' => false,264 'section' => 'Slide Settings -> Reveal',265 'highlight' => array(266 267 'dependencies' => array(array('path' => 'settings.addOns.revslider-revealer-addon.direction', 'value' => 'open_horizontal::open_vertical::split_left_corner::split_right_corner::shrink_circle::left_to_right::right_to_left::top_to_bottom::bottom_to_top::tlbr_skew::trbl_skew::bltr_skew::brtl_skew::expand_circle', 'option' => 'reveal_type')),268 'menu' => "#module_settings_trigger, #gst_sl_revslider-revealer-addon", 269 'scrollTo' => '#form_slidergeneral_revslider-revealer-addon', 270 'focus' => "#revealer_duration"271 272 )273 274 ),275 276 'delay' => array(277 278 'buttonTitle' => __('Revealer Addon Delay', 'revslider-revealer-addon'), 279 'title' => __('Reveal Delay', 'revslider-revealer-addon'),280 'helpPath' => 'addOns.revslider-revealer-addon.delay', 281 'keywords' => array('addon', 'addons', 'reveal', 'reveal addon', 'revealer', 'revealer addon', 'reveal delay', 'delay'), 282 'description' => __("A delay in milliseconds before the reveal effect should start", 'revslider-revealer-addon'), 283 'helpStyle' => 'normal', 284 'article' => 'http://docs.themepunch.com/slider-revolution/reveal-addon/', 285 'video' => false,286 'section' => 'Slide Settings -> Reveal',287 'highlight' => array(288 289 'dependencies' => array(array('path' => 'settings.addOns.revslider-revealer-addon.direction', 'value' => 'open_horizontal::open_vertical::split_left_corner::split_right_corner::shrink_circle::left_to_right::right_to_left::top_to_bottom::bottom_to_top::tlbr_skew::trbl_skew::bltr_skew::brtl_skew::expand_circle', 'option' => 'reveal_type')),290 'menu' => "#module_settings_trigger, #gst_sl_revslider-revealer-addon", 291 'scrollTo' => '#form_slidergeneral_revslider-revealer-addon', 292 'focus' => "#revealer_delay"293 294 )295 296 ),297 298 'overlay' => array(299 300 'enable' => array(301 302 'dependency_id' => 'reveal_overlay',303 'buttonTitle' => __('Revealer Addon Overlay', 'revslider-revealer-addon'), 304 'title' => __('Enable Overlay', 'revslider-revealer-addon'),305 'helpPath' => 'addOns.revslider-revealer-addon.overlay.enable', 306 'keywords' => array('addon', 'addons', 'reveal', 'reveal addon', 'revealer', 'revealer addon', 'reveal overlay', 'overlay'), 307 'description' => __("Add an optional overlay to the Slider as the reveal effect takes place", 'revslider-revealer-addon'), 308 'helpStyle' => 'normal', 309 'article' => 'http://docs.themepunch.com/slider-revolution/reveal-addon/', 310 'video' => false,311 'section' => 'Slide Settings -> Reveal',312 'highlight' => array(313 314 'dependencies' => array(array('path' => 'settings.addOns.revslider-revealer-addon.direction', 'value' => 'open_horizontal::open_vertical::split_left_corner::split_right_corner::shrink_circle::left_to_right::right_to_left::top_to_bottom::bottom_to_top::tlbr_skew::trbl_skew::bltr_skew::brtl_skew::expand_circle', 'option' => 'reveal_type')),315 'menu' => "#module_settings_trigger, #gst_sl_revslider-revealer-addon", 316 'scrollTo' => '#form_slidergeneral_revslider-revealer-addon', 317 'focus' => "*[data-r='addOns.revslider-revealer-addon.overlay.enable']"318 319 )320 321 ),322 323 'color' => array(324 325 'title' => __('Overlay Color', 'revslider-revealer-addon'),326 'helpPath' => 'addOns.revslider-revealer-addon.overlay.color', 327 'keywords' => array('addon', 'addons', 'reveal', 'reveal addon', 'revealer', 'revealer addon', 'reveal overlay', 'overlay color'), 328 'description' => __("The main color for the revealer's overlay", 'revslider-revealer-addon'), 329 'helpStyle' => 'normal', 330 'article' => 'http://docs.themepunch.com/slider-revolution/reveal-addon/', 331 'video' => false,332 'section' => 'Slide Settings -> Reveal',333 'highlight' => array(334 335 'dependencies' => array(336 337 array('path' => 'settings.addOns.revslider-revealer-addon.direction', 'value' => 'open_horizontal::open_vertical::split_left_corner::split_right_corner::shrink_circle::left_to_right::right_to_left::top_to_bottom::bottom_to_top::tlbr_skew::trbl_skew::bltr_skew::brtl_skew', 'option' => 'reveal_type'),338 array('path' => 'settings.addOns.revslider-revealer-addon.overlay.enable', 'value' => true, 'option' => 'reveal_overlay')339 340 ),341 'menu' => "#module_settings_trigger, #gst_sl_revslider-revealer-addon", 342 'scrollTo' => '#form_slidergeneral_revslider-revealer-addon', 343 'focus' => "*[data-r='addOns.revslider-revealer-addon.overlay.color']"344 345 )346 347 ),348 349 'easing' => array(350 351 'title' => __('Overlay Easing', 'revslider-revealer-addon'),352 'helpPath' => 'addOns.revslider-revealer-addon.overlay.easing', 353 'keywords' => array('addon', 'addons', 'reveal', 'reveal addon', 'revealer', 'revealer addon', 'overlay easing', 'easing'), 354 'description' => __("The easing equation to use for the revealer's overlay", 'revslider-revealer-addon'), 355 'helpStyle' => 'normal', 356 'article' => 'http://docs.themepunch.com/slider-revolution/reveal-addon/', 357 'video' => false,358 'section' => 'Slide Settings -> Reveal',359 'highlight' => array(360 361 'dependencies' => array(362 363 array('path' => 'settings.addOns.revslider-revealer-addon.direction', 'value' => 'open_horizontal::open_vertical::split_left_corner::split_right_corner::shrink_circle::left_to_right::right_to_left::top_to_bottom::bottom_to_top::tlbr_skew::trbl_skew::bltr_skew::brtl_skew', 'option' => 'reveal_type'),364 array('path' => 'settings.addOns.revslider-revealer-addon.overlay.enable', 'value' => true, 'option' => 'reveal_overlay')365 366 ),367 'menu' => "#module_settings_trigger, #gst_sl_revslider-revealer-addon", 368 'scrollTo' => '#form_slidergeneral_revslider-revealer-addon', 369 'focus' => "*[data-r='addOns.revslider-revealer-addon.overlay.easing']"370 371 )372 373 ),374 375 'duration' => array(376 377 'title' => __('Overlay Duration', 'revslider-revealer-addon'),378 'helpPath' => 'addOns.revslider-revealer-addon.overlay.duration', 379 'keywords' => array('addon', 'addons', 'reveal', 'reveal addon', 'revealer', 'revealer addon', 'overlay duration', 'duration'), 380 'description' => __("The total time the overlay should fade out in milliseconds", 'revslider-revealer-addon'), 381 'helpStyle' => 'normal', 382 'article' => 'http://docs.themepunch.com/slider-revolution/reveal-addon/', 383 'video' => false,384 'section' => 'Slide Settings -> Reveal',385 'highlight' => array(386 387 'dependencies' => array(388 389 array('path' => 'settings.addOns.revslider-revealer-addon.direction', 'value' => 'open_horizontal::open_vertical::split_left_corner::split_right_corner::shrink_circle::left_to_right::right_to_left::top_to_bottom::bottom_to_top::tlbr_skew::trbl_skew::bltr_skew::brtl_skew', 'option' => 'reveal_type'),390 array('path' => 'settings.addOns.revslider-revealer-addon.overlay.enable', 'value' => true, 'option' => 'reveal_overlay')391 392 ),393 'menu' => "#module_settings_trigger, #gst_sl_revslider-revealer-addon", 394 'scrollTo' => '#form_slidergeneral_revslider-revealer-addon', 395 'focus' => "*[data-r='addOns.revslider-revealer-addon.overlay.duration']"396 397 )398 399 ),400 401 'delay' => array(402 403 'title' => __('Overlay Delay', 'revslider-revealer-addon'),404 'helpPath' => 'addOns.revslider-revealer-addon.overlay.delay', 405 'keywords' => array('addon', 'addons', 'reveal', 'reveal addon', 'revealer', 'revealer addon', 'overlay delay', 'delay'), 406 'description' => __("A delay in milliseconds before the overlay should fade out", 'revslider-revealer-addon'), 407 'helpStyle' => 'normal', 408 'article' => 'http://docs.themepunch.com/slider-revolution/reveal-addon/', 409 'video' => false,410 'section' => 'Slide Settings -> Reveal',411 'highlight' => array(412 413 'dependencies' => array(414 415 array('path' => 'settings.addOns.revslider-revealer-addon.direction', 'value' => 'open_horizontal::open_vertical::split_left_corner::split_right_corner::shrink_circle::left_to_right::right_to_left::top_to_bottom::bottom_to_top::tlbr_skew::trbl_skew::bltr_skew::brtl_skew', 'option' => 'reveal_type'),416 array('path' => 'settings.addOns.revslider-revealer-addon.overlay.enable', 'value' => true, 'option' => 'reveal_overlay')417 418 ),419 'menu' => "#module_settings_trigger, #gst_sl_revslider-revealer-addon", 420 'scrollTo' => '#form_slidergeneral_revslider-revealer-addon', 421 'focus' => "*[data-r='addOns.revslider-revealer-addon.overlay.delay']"422 423 )424 425 ),426 427 ),428 429 'spinner' => array(430 431 'title' => __('Revealer Spinner', 'revslider-revealer-addon'),432 'helpPath' => 'addOns.revslider-revealer-addon.spinner.type', 433 'keywords' => array('addon', 'addons', 'reveal', 'reveal addon', 'revealer', 'revealer addon', 'reveal spinner', 'revealer spinner', 'spinner', 'preloader', 'reveal preloader', 'revealer preloader'), 434 'description' => __("The preloader spinner to show as the reveal effect occurs", 'revslider-revealer-addon'), 435 'helpStyle' => 'normal', 436 'article' => 'http://docs.themepunch.com/slider-revolution/reveal-addon/', 437 'video' => false,438 'section' => 'Slide Settings -> Reveal',439 'highlight' => array(440 441 'menu' => "#module_settings_trigger, #gst_sl_revslider-revealer-addon", 442 'scrollTo' => '#form_slidergeneral_revslider-revealer-addon', 443 'focus' => "#revealer_spinners"444 445 )
...
slider.class.php
Source:slider.class.php
...6 */7if( !defined( 'ABSPATH') ) exit();8require_once(RS_REVEALER_PLUGIN_PATH . 'public/includes/preloaders.class.php');9require_once(RS_REVEALER_PLUGIN_PATH . 'framework/slider.admin.class.php');10class RsRevealerSliderAdmin extends RsAddonRevealerSliderAdmin {11 12 protected static $_Icon,13 $_Title,14 $_Markup,15 $_JavaScript;16 17 public function __construct($_title) {18 19 static::$_Title = $_title;20 parent::init();21 22 }23 24 protected static function _init($_slider) {25 26 $_enabled = RevSliderFunctions::getVal($_slider, 'revealer_enabled', false) == 'true' ? ' checked' : '';27 $_overlay_enabled = RevSliderFunctions::getVal($_slider, 'revealer_overlay_enabled', false) == 'true' ? ' checked' : '';28 $_direction = RevSliderFunctions::getVal($_slider, 'revealer_direction', 'open_horizontal');29 30 $_color = RevSliderFunctions::getVal($_slider, 'revealer_color', '#000000');31 $_duration = RevSliderFunctions::getVal($_slider, 'revealer_duration', '500');32 $_delay = RevSliderFunctions::getVal($_slider, 'revealer_delay', '0');33 $_easing = RevSliderFunctions::getVal($_slider, 'revealer_easing', 'Power2.easeOut');34 35 $_overlay_color = RevSliderFunctions::getVal($_slider, 'revealer_overlay_color', '#000000');36 $_overlay_duration = RevSliderFunctions::getVal($_slider, 'revealer_overlay_duration', '500');37 $_overlay_delay = RevSliderFunctions::getVal($_slider, 'revealer_overlay_delay', '0');38 $_overlay_easing = RevSliderFunctions::getVal($_slider, 'revealer_overlay_easing', 'Power2.easeOut');39 40 $_spinner = RevSliderFunctions::getVal($_slider, 'revealer_spinner', 'default');41 $_spinner_color = RevSliderFunctions::getVal($_slider, 'revealer_spinner_color', '#FFFFFF');42 43 $_showOverlay = $_overlay_enabled ? 'block' : 'none';44 $_showSettings = $_enabled ? 'block' : 'none';45 $_textDomain = 'rs_' . static::$_Title;46 47 $_preloaders = RsAddOnRevealPreloaders::getPreloaders();48 $_preloaders = json_encode($_preloaders);49 $_preloaders = addslashes($_preloaders);50 51 $_directions = array(52 53 'none' => 'None',54 'CURTAINS OPEN' => 'disabled',55 'open_horizontal' => 'Open Horizontal',56 'open_vertical' => 'Open Vertical',57 'split_left_corner' => 'Open Left Corner',58 'split_right_corner' => 'Open Right Corner',59 'CIRCULAR' => 'disabled',60 'shrink_circle' => 'Shrink Circle',61 'expand_circle' => 'Expand Circle',62 'CORNER TO CORNER' => 'disabled',63 'left_to_right' => 'Left to Right',64 'right_to_left' => 'Right to Left',65 'top_to_bottom' => 'Top to Bottom',66 'bottom_to_top' => 'Bottom to Top',67 'SIDE TO SIDE' => 'disabled',68 'tlbr_skew' => 'Top Left to Bottom Right',69 'trbl_skew' => 'Top Right to Bottom Left',70 'bltr_skew' => 'Bottom Left to Top Right',71 'brtl_skew' => 'Bottom Right to Top Left',72 73 );74 75 $_easings = array(76 77 'Linear.easeNone', 78 'Power0.easeIn',79 'Power0.easeInOut',80 'Power0.easeOut',81 'Power1.easeIn',82 'Power1.easeInOut',83 'Power1.easeOut',84 'Power2.easeIn',85 'Power2.easeInOut',86 'Power2.easeOut',87 'Power3.easeIn',88 'Power3.easeInOut',89 'Power3.easeOut',90 'Power4.easeIn',91 'Power4.easeInOut',92 'Power4.easeOut',93 'Back.easeIn',94 'Back.easeInOut',95 'Back.easeOut',96 'Bounce.easeIn',97 'Bounce.easeInOut',98 'Bounce.easeOut',99 'Circ.easeIn',100 'Circ.easeInOut',101 'Circ.easeOut',102 'Elastic.easeIn',103 'Elastic.easeInOut',104 'Elastic.easeOut',105 'Expo.easeIn',106 'Expo.easeInOut',107 'Expo.easeOut',108 'Sine.easeIn',109 'Sine.easeInOut',110 'Sine.easeOut',111 'SlowMo.ease'112 113 );114 115 $_spinners = array(116 117 'default' => 'Default',118 '1' => '1',119 '2' => '2',120 '3' => '3',121 '4' => '4',122 '5' => '5',123 '6' => '6',124 '7' => '7',125 '8' => '8',126 '9' => '9',127 '10' => '10'128 129 );130 131 static::$_Markup = 132 133 '<span class="label" id="label_revealer_enabled" origtitle="' . __("Enable/Disable Reveal Preloaders for this Slider<br><br>", $_textDomain) . '">' . __('Activate Reveal Preloaders', $_textDomain) . '</span>134 <input type="checkbox" class="tp-moderncheckbox withlabel" id="revealer_enabled" name="revealer_enabled"' . $_enabled . ' 135 onchange="document.getElementById(\'revealer-settings\').style.display=this.checked ? \'block\' : \'none\'" />136 137 <div id="revealer-settings" style="display: ' . $_showSettings . '">138 139 <h4>Revealer Settings</h4>140 141 <span class="label" id="label_revealer_direction" origtitle="' . __('The Opening Reveal Option/Direction', $_textDomain) . '">' . __("Opening Reveal", $_textDomain) . '</span>142 <select class="withlabel" id="revealer_direction" name="revealer_direction">';143 144 foreach($_directions as $_key => $_val) {145 146 if($_val !== 'disabled') {147 $_selected = $_key !== $_direction ? '' : ' selected';148 static::$_Markup .= '<option value="' . $_key . '"' . $_selected . '>' . $_val . '</option>';149 }150 else { 151 static::$_Markup .= '<option disabled>' . $_key . '</option>';152 }153 ...
Revealer
Using AI Code Generation
1$revealer = new Revealer();2$revealer->reveal($object);3$revealer = new Revealer();4$revealer->reveal($object);5$revealer = new Revealer();6$revealer->reveal($object);7$revealer = new Revealer();8$revealer->reveal($object);9$revealer = new Revealer();10$revealer->reveal($object);11$revealer = new Revealer();12$revealer->reveal($object);13$revealer = new Revealer();14$revealer->reveal($object);15$revealer = new Revealer();16$revealer->reveal($object);17$revealer = new Revealer();18$revealer->reveal($object);19$revealer = new Revealer();20$revealer->reveal($object);21$revealer = new Revealer();22$revealer->reveal($object);23$revealer = new Revealer();24$revealer->reveal($object);25$revealer = new Revealer();26$revealer->reveal($object);27$revealer = new Revealer();28$revealer->reveal($object);29$revealer = new Revealer();30$revealer->reveal($object);
Revealer
Using AI Code Generation
1$revealer = new \Prophecy\Argument\Token\Revealer();2$revealer->reveal($token);3$revealer = new \Prophecy\Argument\Token\Revealer();4$revealer->reveal($token);5$revealer = new \Prophecy\Argument\Token\Revealer();6$revealer->reveal($token);7$revealer = new \Prophecy\Argument\Token\Revealer();8$revealer->reveal($token);9$revealer = new \Prophecy\Argument\Token\Revealer();10$revealer->reveal($token);11$revealer = new \Prophecy\Argument\Token\Revealer();12$revealer->reveal($token);13$revealer = new \Prophecy\Argument\Token\Revealer();14$revealer->reveal($token);15$revealer = new \Prophecy\Argument\Token\Revealer();16$revealer->reveal($token);17$revealer = new \Prophecy\Argument\Token\Revealer();18$revealer->reveal($token);19$revealer = new \Prophecy\Argument\Token\Revealer();20$revealer->reveal($token);21$revealer = new \Prophecy\Argument\Token\Revealer();22$revealer->reveal($token);23$revealer = new \Prophecy\Argument\Token\Revealer();24$revealer->reveal($token);
Revealer
Using AI Code Generation
1$revealer = new \Prophecy\Argument\Revealer();2$revealer->reveal($argument);3$revealer = new \Prophecy\Argument\Revealer();4$revealer->reveal($argument);5$revealer = new \Prophecy\Argument\Revealer();6$revealer->reveal($argument);7$revealer = new \Prophecy\Argument\Revealer();8$revealer->reveal($argument);9$revealer = new \Prophecy\Argument\Revealer();10$revealer->reveal($argument);11$revealer = new \Prophecy\Argument\Revealer();12$revealer->reveal($argument);13$revealer = new \Prophecy\Argument\Revealer();14$revealer->reveal($argument);15$revealer = new \Prophecy\Argument\Revealer();16$revealer->reveal($argument);17$revealer = new \Prophecy\Argument\Revealer();18$revealer->reveal($argument);19$revealer = new \Prophecy\Argument\Revealer();20$revealer->reveal($argument);21$revealer = new \Prophecy\Argument\Revealer();22$revealer->reveal($argument);23$revealer = new \Prophecy\Argument\Revealer();24$revealer->reveal($argument);
Revealer
Using AI Code Generation
1require_once('Revealer.php');2$revealer = new Revealer();3$revealer->reveal();4require_once('Revealer.php');5$revealer = new Revealer();6$revealer->reveal();7require_once('Revealer.php');8$revealer = new Revealer();9$revealer->reveal();10require_once('Revealer.php');11$revealer = new Revealer();12$revealer->reveal();13require_once('Revealer.php');14$revealer = new Revealer();15$revealer->reveal();16require_once('Revealer.php');17$revealer = new Revealer();18$revealer->reveal();19require_once('Revealer.php');20$revealer = new Revealer();21$revealer->reveal();22require_once('Revealer.php');23$revealer = new Revealer();24$revealer->reveal();25require_once('Revealer.php');26$revealer = new Revealer();27$revealer->reveal();28require_once('Revealer.php');29$revealer = new Revealer();30$revealer->reveal();31require_once('Revealer.php');32$revealer = new Revealer();33$revealer->reveal();34require_once('Revealer.php');35$revealer = new Revealer();36$revealer->reveal();37require_once('Revealer.php');38$revealer = new Revealer();
Revealer
Using AI Code Generation
1require_once 'Revealer.php';2$revealer = new Revealer();3$revealer->reveal($object);4require_once 'Revealer.php';5$revealer = new Revealer();6$revealer->reveal($object);7require_once 'Revealer.php';8$revealer = new Revealer();9$revealer->reveal($object);10require_once 'Revealer.php';11$revealer = new Revealer();12$revealer->reveal($object);13require_once 'Revealer.php';14$revealer = new Revealer();15$revealer->reveal($object);16require_once 'Revealer.php';17$revealer = new Revealer();18$revealer->reveal($object);19require_once 'Revealer.php';20$revealer = new Revealer();21$revealer->reveal($object);22require_once 'Revealer.php';23$revealer = new Revealer();24$revealer->reveal($object);25require_once 'Revealer.php';26$revealer = new Revealer();27$revealer->reveal($object);28require_once 'Revealer.php';29$revealer = new Revealer();30$revealer->reveal($object);31require_once 'Revealer.php';32$revealer = new Revealer();33$revealer->reveal($object);34require_once 'Revealer.php';
Revealer
Using AI Code Generation
1require_once 'Revealer.php';2$revealer = new Revealer();3$revealer->reveal('Revealer');4require_once 'Revealer.php';5$revealer = new Revealer();6$revealer->reveal('Revealer');7require_once 'Revealer.php';8$revealer = new Revealer();9$revealer->reveal('Revealer');10require_once 'Revealer.php';11$revealer = new Revealer();12$revealer->reveal('Revealer');13require_once 'Revealer.php';14$revealer = new Revealer();15$revealer->reveal('Revealer');16require_once 'Revealer.php';17$revealer = new Revealer();18$revealer->reveal('Revealer');19require_once 'Revealer.php';20$revealer = new Revealer();21$revealer->reveal('Revealer');22require_once 'Revealer.php';23$revealer = new Revealer();24$revealer->reveal('Revealer');25require_once 'Revealer.php';26$revealer = new Revealer();27$revealer->reveal('Revealer');28require_once 'Revealer.php';29$revealer = new Revealer();30$revealer->reveal('Revealer');31require_once 'Revealer.php';32$revealer = new Revealer();33$revealer->reveal('Revealer');34require_once 'Revealer.php';35$revealer = new Revealer();36$revealer->reveal('Revealer');37require_once 'Revealer.php';38$revealer = new Revealer();39$revealer->reveal('Revealer');40require_once 'Revealer.php';41$revealer = new Revealer();
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Trigger Selenium automation tests on a cloud-based Grid of 3000+ real browsers and operating systems.
Test now for FreeGet 100 minutes of automation test minutes FREE!!