Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
__construct ($properties=null) | |
__toString () | |
def ($property, $default=null) | |
get ($property, $default=null) | |
getProperties ($public=true) | |
getError ($i=null, $toString=true) | |
getErrors () | |
set ($property, $value=null) | |
setProperties ($properties) | |
setError ($error) | |
Attributs protégés | |
$_errors = array() | |
Temporary class for backwards compatibility. You should not be using this in your code. It is currently present to handle the validation error stack for FOFTable::check() and will be removed in an upcoming version.
This class is based on JObject as found in Joomla! 3.2.1
__construct | ( | $properties = null | ) |
Class constructor, overridden in descendant classes.
mixed | $properties | Either and associative array or another object to set the initial properties of the object. |
Références null.
__toString | ( | ) |
Magic method to convert the object to a string gracefully.
def | ( | $property, | |
$default = null |
|||
) |
get | ( | $property, | |
$default = null |
|||
) |
Returns a property of the object or the default value if the property is not set.
string | $property | The name of the property. |
mixed | $default | The default value. |
Références $default.
getErrors | ( | ) |
Return all errors, if any.
getProperties | ( | $public = true | ) |
set | ( | $property, | |
$value = null |
|||
) |
setError | ( | $error | ) |
Add an error message.
string | $error | Error message. |
Référencé par FOFTable\canDelete(), FOFTable\check(), FOFTable\copy(), FOFTable\publish(), et FOFTable\store().
setProperties | ( | $properties | ) |
Set the object properties based on a named array/hash.
mixed | $properties | Either an associative array or another object. |
|
protected |