Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
plugins
/
carousel-slider
/
includes
/
Interfaces
:
SliderSettingInterface.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace CarouselSlider\Interfaces; use ArrayAccess; use JsonSerializable; defined( 'ABSPATH' ) || exit; /** * SliderSettingInterface class */ interface SliderSettingInterface extends ArrayAccess, JsonSerializable { /** * Get slider Id * * @return int */ public function get_slider_id(): int; /** * Get slider type * * @return string */ public function get_slider_type(): string; /** * Get global option for key * * @param string $key option key. * @param mixed $default_value default value to return if data key does not exist. * * @return mixed The key's value, or the default value */ public function get_global_option( string $key, $default_value = '' ); /** * Get option for key * If there is no option for key, return from global option. * * @param string $key option key. * @param mixed $default_value default value to return if data key does not exist. * * @return mixed The key's value, or the default value */ public function get_option( string $key, $default_value = '' ); /** * Read data from HTTP POST variable * * @param array $values The values from HTTP POST variables. * * @return void */ public function read_http_post_variables( array $values = array() ); /** * Read data from HTTP POST variable * * @param array $values The values from HTTP POST variables. * * @return void */ public function read_extra_http_post_variables( array $values = array() ); }