classes that are mapped to soap types could inherits from this object in order to have some helpers and a better mapping than the default soap mapper
| package |
jelix |
|---|
__construct(array|\jFormsBase $data = null)
Note that SoapClient do not call the constructor when it does the mapping with soap results.
| see | \soapObject::_initFromArray |
|---|---|
__get( $name) : mixed
mixedan array for properties list in _mapArray, null for others
__isset( $name)
__set( $name, $value)
check if the given property is registered into _mapArray
__unset( $name)
_fillForm(\jFormsBase $form)
Only controls of the form that have the same name of object properties, are set. You can override this methods to do specific settings.
\jFormsBase
_getData(string $key) : mixed
Override it to do specific processing before returning the value.
stringthe name of the property to get
mixedthe value
_initFromArray(array &$data)
You can override this method if you want to do specific processing on given values before to set properties.
array
_setData(string $key, mixed $value)
Override it to do specific setting.
stringthe name of the property to set
mixedthe value of the property
_mapArray : array
When we try to retrieve one of these properties, we will have always an array, even if the soap result did not populate the property, or gave only one object. These properties should not be declared explicitely as PHP properties.
| var |
|---|
array
_vProp :