This class is depicting an Adms Object in order to set up generic methods
to all this kind of object
class AdmsObject
Methods
Default constructor
__construct()
Getter, "magic" function
__get(\type $attribute) : mixed
Parameters
$attribute
\type
the value of the attribute
Returns
mixed
Setter, "magic" function
__set(mixed $attribute, mixed $value)
Parameters
$attribute
mixed
$value
mixed
This method is used for the intermediary parameter
(to be used with @translate())
addParameter(mixed $attribute, mixed $value)
Parameters
$attribute
mixed
$value
mixed
This method is used for the intermediary types
(to be used with @translate())
addType(string $type)
Parameters
$type
string
the type of the object to be instantiated
Exceptions
This method is translating the current object into an array of other object
translate() : array
Returns
array
an array of instantiated object
Properties
The identifier of the object
$id : mixed
The object represented
$object
The technical status is depicting the state of the object regarding the
synchronisation
$tStatus
The weigt of the object in order to be sorted
$weight
This array contains the parameters which should be translated
$_params : array
This array contains the type of object which should be instantiated
$_types : array