[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/horde/framework/Horde/Support/ -> Array.php (summary)

(no description)

File Size: 201 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Horde_Support_Array:: (18 methods):
  __construct()
  get()
  getOrSet()
  pop()
  update()
  getKeys()
  getValues()
  clear()
  __get()
  __set()
  __isset()
  __unset()
  count()
  getIterator()
  offsetGet()
  offsetSet()
  offsetExists()
  offsetUnset()


Class: Horde_Support_Array  - X-Ref

Copyright 2007-2014 Horde LLC (http://www.horde.org/)

__construct($vars = array()   X-Ref
No description

get($key, $default = null)   X-Ref
No description

getOrSet($offset, $default = null)   X-Ref
Gets the value at $offset. If no value exists at that offset, or the
value $offset is NULL, then $default is set as the value of $offset.

param: string $offset   Offset to retrieve and set if unset
param: string $default  Default value if $offset does not exist
return: mixed Value at $offset or $default

pop($offset, $default = null)   X-Ref
Gets the value at $offset and deletes it from the array. If no value
exists at $offset, or the value at $offset is null, then $default
will be returned.

param: string $offset   Offset to pop
param: string $default  Default value
return: mixed Value at $offset or $default

update($array)   X-Ref
Update the array with the key/value pairs from $array

param: array $array Key/value pairs to set/change in the array.

getKeys()   X-Ref
Get the keys in the array

return: array

getValues()   X-Ref
Get the values in the array

return: array

clear()   X-Ref
Clear out the array


__get($key)   X-Ref
No description

__set($key, $value)   X-Ref
No description

__isset($key)   X-Ref
Checks the existance of $key in this array


__unset($key)   X-Ref
Removes $key from this array


count()   X-Ref
Count the number of elements

return: integer

getIterator()   X-Ref
No description

offsetGet($offset)   X-Ref
Gets the value of $offset in this array


offsetSet($offset, $value)   X-Ref
Sets the value of $offset to $value


offsetExists($offset)   X-Ref
Checks the existence of $offset in this array


offsetUnset($offset)   X-Ref
Removes $offset from this array




Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1