com\setasign\SetaSite\PropertyContainer

PropertyContainer Class PropertyContainer

File: /SetaSite/src/PropertyContainer/PropertyContainer.php

Note: The property container must be serializable.

Class hierarchy

Implements

Summary

Constants

ARRAY_AS_PROPS

public const \ArrayObject::ARRAY_AS_PROPS = 2

STD_PROP_LIST

public const \ArrayObject::STD_PROP_LIST = 1

Properties

$containerParent


Static Methods

cleanupConfig()

public static PropertyContainer::cleanupConfig (
\com\setasign\SetaFramework\Config\Config $properties
): void
Parameters
$properties : \com\setasign\SetaFramework\Config\Config
 

Methods

__construct()

__clone()

public PropertyContainer::__clone (
void
): void

Implementation of __clone()

__debugInfo()

Internal PHP method: ArrayObject::__debugInfo

__get()

public PropertyContainer::__get (
string $name
): ?mixed
Parameters
$name : string
 

__isset()

public PropertyContainer::__isset (
string $name
): bool
Parameters
$name : string
 

__serialize()

Internal PHP method: ArrayObject::__serialize

__set()

public PropertyContainer::__set (
string $name,
mixed $value
): void
Parameters
$name : string
 
$value : mixed
 

__unserialize()

Internal PHP method: ArrayObject::__unserialize

__unset()

public PropertyContainer::__unset (
$name
): void
Parameters
$name
 

append()

Internal PHP method: ArrayObject::append

asort()

Internal PHP method: ArrayObject::asort

count()

Internal PHP method: ArrayObject::count

exchangeArray()

Internal PHP method: ArrayObject::exchangeArray

exportValues()

public PropertyContainer::exportValues (
void
): array

getArrayCopy()

Internal PHP method: ArrayObject::getArrayCopy

getFlags()

Internal PHP method: ArrayObject::getFlags

getIterator()

Internal PHP method: ArrayObject::getIterator

getIteratorClass()

Internal PHP method: ArrayObject::getIteratorClass

getValues()

public PropertyContainer::getValues (
void
): array

initByConfig()

public PropertyContainer::initByConfig (
\com\setasign\SetaFramework\Config\Config $properties
): void
Parameters
$properties : \com\setasign\SetaFramework\Config\Config
 

isValid()

public PropertyContainer::isValid (
array &$result = array ( )
): bool

Checks whether all properties of this container are valid

Parameters
$result : array
 

ksort()

Internal PHP method: ArrayObject::ksort

natcasesort()

Internal PHP method: ArrayObject::natcasesort

natsort()

Internal PHP method: ArrayObject::natsort

offsetExists()

Internal PHP method: ArrayObject::offsetExists

offsetGet()

Parameters
$key : mixed
 

offsetSet()

public PropertyContainer::offsetSet (
mixed $key,
mixed $value,
bool $overwrite = false
): void

Sets an offset

Parameters
$key : mixed
 
$value : mixed
 
$overwrite : bool
 
Exceptions

Throws \BadMethodCallException If $value is an AbstractProperty, the property is already defined and $overwrite is false.

offsetUnset()

public PropertyContainer::offsetUnset (
mixed $key
): void
Parameters
$key : mixed
 
Exceptions

Throws \BadMethodCallException

serialize()

Internal PHP method: ArrayObject::serialize

setApplication()

setFlags()

Internal PHP method: ArrayObject::setFlags

setIteratorClass()

Internal PHP method: ArrayObject::setIteratorClass

setValues()

public PropertyContainer::setValues (
array $values,
bool $ignoreEditable = false
): void
Parameters
$values : array
 
$ignoreEditable : bool
 

uasort()

Internal PHP method: ArrayObject::uasort

uksort()

Internal PHP method: ArrayObject::uksort

unserialize()

Internal PHP method: ArrayObject::unserialize