Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe DataShapeObject
+ Graphe d'héritage de DataShapeObject:

Fonctions membres publiques

 __construct (array $array=[])
 
 asArray ()
 
 merge ($newValues)
 
 __get ($name)
 
 __set ($name, $value)
 
 __isset ($name)
 
 offsetExists ($offset)
 
 offsetGet ($offset)
 
 offsetSet ($offset, $value)
 
 offsetUnset ($offset)
 

Description détaillée

Generic helper for handling data shapes in com_users

Depuis
4.2.0

Documentation des constructeurs et destructeur

◆ __construct()

__construct ( array  $array = [])

Public constructor

Paramètres
array$arrayThe data to initialise this object with
Depuis
4.2.0

Références $this.

Documentation des fonctions membres

◆ __get()

__get (   $name)

Magic getter

Paramètres
string$nameThe name of the property to retrieve
Renvoie
mixed
Depuis
4.2.0

Références $methodName, $name, et $this.

◆ __isset()

__isset (   $name)

Is a property set?

Paramètres
string$nameProperty name
Renvoie
boolean Does it exist in the object?
Depuis
4.2.0

Références $methodName, $name, et $this.

◆ __set()

__set (   $name,
  $value 
)

Magic Setter

Paramètres
string$nameThe property to set the value for
mixed$valueThe property value to set it to
Renvoie
mixed
Depuis
4.2.0

Références $methodName, $name, $this, et $value.

◆ asArray()

asArray ( )

Get the data shape as a key-value array

Renvoie
array
Depuis
4.2.0

Références $this.

◆ merge()

merge (   $newValues)

Merge another data shape object or key-value array into this object.

Paramètres
array | self$newValuesThe object or array to merge into self.
Renvoie
$this
Depuis
4.2.0

Références $this.

◆ offsetExists()

offsetExists (   $offset)

Does the property exist (array access)?

Paramètres
string$offsetProperty name
Renvoie
boolean
Depuis
4.2.0

Références Joomla\Database\Query\$offset.

◆ offsetGet()

offsetGet (   $offset)

Get the value of a property (array access).

Paramètres
string$offsetProperty name
Renvoie
mixed
Depuis
4.2.0

Références Joomla\Database\Query\$offset.

◆ offsetSet()

offsetSet (   $offset,
  $value 
)

Set the value of a property (array access).

Paramètres
string$offsetProperty name
mixed$valueProperty value
Renvoie
void
Depuis
4.2.0

Références Joomla\Database\Query\$offset, et $value.

◆ offsetUnset()

offsetUnset (   $offset)

Unset a property (array access).

Paramètres
string$offsetProperty name
Renvoie
mixed
Depuis
4.2.0

La documentation de cette classe a été générée à partir du fichier suivant :