[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/administrator/components/com_users/src/DataShape/ -> DataShapeObject.php (summary)

(no description)

Copyright: (C) 2022 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 198 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 10 functions

  __construct()
  asArray()
  merge()
  __get()
  __set()
  __isset()
  offsetExists()
  offsetGet()
  offsetSet()
  offsetUnset()

Functions
Functions that are not part of a class:

__construct(array $array = [])   X-Ref
Public constructor

param: array  $array  The data to initialise this object with

asArray()   X-Ref
Get the data shape as a key-value array

return: array

merge($newValues)   X-Ref
Merge another data shape object or key-value array into this object.

param: array|self  $newValues  The object or array to merge into self.
return: $this

__get($name)   X-Ref
Magic getter

param: string  $name  The name of the property to retrieve
return: mixed

__set($name, $value)   X-Ref
Magic Setter

param: string  $name   The property to set the value for
param: mixed   $value  The property value to set it to
return: mixed

__isset($name)   X-Ref
Is a property set?

param: string  $name  Property name
return: boolean  Does it exist in the object?

offsetExists($offset)   X-Ref
Does the property exist (array access)?

param: string  $offset  Property name
return: boolean

offsetGet($offset)   X-Ref
Get the value of a property (array access).

param: string  $offset  Property name
return: mixed

offsetSet($offset, $value)   X-Ref
Set the value of a property (array access).

param: string  $offset  Property name
param: mixed   $value   Property value
return: void

offsetUnset($offset)   X-Ref
Unset a property (array access).

param: string  $offset  Property name
return: mixed



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer