GRAYBYTE WORDPRESS FILE MANAGER3959

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/giriqfky/trustyourlawyer.com/wp-content/plugins/backwpup/src/Adapters/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/giriqfky/trustyourlawyer.com/wp-content/plugins/backwpup/src/Adapters//OptionAdapter.php
<?php

declare(strict_types=1);

namespace WPMedia\BackWPup\Adapters;

/**
 * Class OptionAdapter
 *
 * Adapter for BackWPup_Option static methods.
 */
class OptionAdapter {
	/**
	 * Update an option for a job.
	 *
	 * @param int    $job_id The job ID.
	 * @param string $key    The option key.
	 * @param mixed  $value  The value to set.
	 *
	 * @return void
	 */
	public function update( int $job_id, string $key, $value ): void {
		\BackWPup_Option::update( $job_id, $key, $value );
	}

	/**
	 * Get an option for a job.
	 *
	 * @param int    $job_id The job ID.
	 * @param string $key    The option key.
	 *
	 * @return mixed
	 */
	public function get( int $job_id, string $key ) {
		return \BackWPup_Option::get( $job_id, $key );
	}

	/**
	 * Get default job options.
	 *
	 * @param string $key Option key (optional).
	 *
	 * @return mixed
	 */
	public function defaults_job( string $key = '' ) {
		return \BackWPup_Option::defaults_job( $key );
	}

	/**
	 * Get the next job ID.
	 *
	 * @return mixed
	 */
	public function next_job_id() {
		return \BackWPup_Option::next_job_id();
	}

	/**
	 * Get job IDs optionally filtered by a specific option key and value.
	 *
	 * @param string|null $key   Option key to filter by, or null to get all job IDs.
	 * @param mixed       $value Expected value of the option.
	 *
	 * @return array List of job IDs.
	 */
	public function get_job_ids( $key = null, $value = false ) {
		return \BackWPup_Option::get_job_ids( $key, $value );
	}

	/**
	 * Get BackWPup Job Options.
	 *
	 * @param int  $id        The job ID.
	 * @param bool $use_cache Whether to use the cache.
	 *
	 * @return array|false Array of all job options if found, false otherwise.
	 */
	public function get_job( $id, $use_cache = true ) {
		return \BackWPup_Option::get_job( $id, $use_cache );
	}

	/**
	 * Delete a BackWPup Option.
	 *
	 * @param int    $jobid  The job ID.
	 * @param string $option The option key to delete.
	 *
	 * @return bool True if deleted successfully, false otherwise.
	 */
	public function delete( int $jobid, string $option ) {
		return \BackWPup_Option::delete( $jobid, $option );
	}
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 10 2025 04:32:37
giriqfky / giriqfky
0755
.htaccess
0.41 KB
July 10 2025 04:32:37
giriqfky / giriqfky
0644
BackWPupAdapter.php
1.266 KB
May 20 2025 11:41:24
giriqfky / giriqfky
0644
BackWPupHelpersAdapter.php
1.851 KB
May 20 2025 11:41:24
giriqfky / giriqfky
0644
CronAdapter.php
1.126 KB
May 20 2025 11:41:24
giriqfky / giriqfky
0644
EncryptionAdapter.php
0.587 KB
May 20 2025 11:41:24
giriqfky / giriqfky
0644
FileAdapter.php
0.745 KB
May 20 2025 11:41:24
giriqfky / giriqfky
0644
JobAdapter.php
2.731 KB
May 20 2025 11:41:24
giriqfky / giriqfky
0644
JobTypesAdapter.php
1.006 KB
May 20 2025 11:41:24
giriqfky / giriqfky
0644
OptionAdapter.php
2.076 KB
May 20 2025 11:41:24
giriqfky / giriqfky
0644
ServiceProvider.php
1.734 KB
May 20 2025 11:41:24
giriqfky / giriqfky
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF