AnonSec Shell
Server IP : 54.36.91.62  /  Your IP : 216.73.217.117
Web Server : Apache
System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : coopiak ( 151928)
PHP Version : 8.3.23
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/c/o/o/coopiak/dansnotreville-fr/nice/libraries/CBLib/CBLib/Registry/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/c/o/o/coopiak/dansnotreville-fr/nice/libraries/CBLib/CBLib/Registry/ParamsInterface.php
<?php
/**
* CBLib, Community Builder Library(TM)
* @version $Id: 8/29/14 5:07 PM $
* @package CBLib\Registry
* @copyright (C) 2004-2023 www.joomlapolis.com / Lightning MultiCom SA - and its licensors, all rights reserved
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU/GPL version 2
*/

namespace CBLib\Registry;

defined('CBLIB') or die();

interface ParamsInterface extends GetterInterface, TypedGetterInterface, SetterInterface, HierarchyInterface, NamespaceInterface, \ArrayAccess, \Countable, \IteratorAggregate, \Serializable
{
	/**
	 * Check if a registry path exists without checking parents.
	 *
	 * @param   string  $key  The name of the param or sub-param, e.g. a.b.c
	 * @return  boolean
	 */
	public function hasInThis( $key );

	/**
	 * Get sub-Registry
	 *
	 * @param   string  $key  Name of index or name-encoded registry array selection, e.g. a.b.c
	 * @return  static        Sub-Registry or empty array() added to tree if not existing
	 */
	public function subTree( $key );

	/**
	 * Un-Sets a param
	 *
	 * @param  string  $key    The name of the param
	 * @return void
	 */
	public function unsetEntry( $key );

	/**
	 * Sets a default value to param if not already assigned
	 *
	 * @param  string                                  $key   The name of the parameter
	 * @param  null|int|float|string|bool|array|object $value The default value of the parameter to set if not already set
	 * @return void
	 */
	public function def( $key, $value );

	/**
	 * Transforms the existing params to a JSON string
	 *
	 * @return string
	 */
	public function asJson();

	/**
	 * Returns an array of all current params
	 *
	 * @return array
	 */
	public function asArray( );

	/**
	 * Empties the Registry
	 *
	 * @return static  $this for chaining with ->load()
	 */
	public function reset( );

	/**
	 * Adds loading of a associative array of values, or an hierarchical object, or a JSON string into the params
	 * Does not reset the Registry, to reset, chain with ->reset()->load()
	 *
	 * @param   string|array|object|Registry $jsonStringOrArrayOrObjectOrRegistry  Associative array of values or Object to load
	 * @return  void
	 */
	public function load( $jsonStringOrArrayOrObjectOrRegistry );

	/**
	 * Implements PHP 7.4+'s serialization magic function
	 * (needed in PHP 8.1 if using interface Serializable to avoid warnings)
	 *
	 * @return array
	 */
	public function __serialize();

	/**
	 * Implements PHP 7.4+'s unserialization magic function
	 * (needed in PHP 8.1 if using interface Serializable to avoid warnings)
	 *
	 * @param  array $data
	 * @return void
	 */
	public function __unserialize( array $data );
}

Anon7 - 2022
AnonSec Team