Doctrine


Doctrine\Doctrine_Access
/Doctrine/Access.php at line 33

Class Doctrine_Access

Class:Doctrine_Access - Superclass: Doctrine_Locator_Injectable
Doctrine_Locator_Injectable
⌊ Doctrine_Access

public abstract class Doctrine_Access
extends Doctrine_Locator_Injectable

Provides array access and property overload interface for Doctrine subclasses

Package:
Doctrine
Subpackage:
Access
License:
http://www.opensource.org/licenses/lgpl-license.php LGPL
See Also:
www.doctrine-project.org
Since:
1.0
Version:
$Revision: 7490 $
Author:
Konsta Vesterinen
Category:
Locator

Fields inherited from Doctrine\Doctrine_Locator_Injectable
_locator, _null, _resources
Method Summary
void

add(mixed value)

Add the value.

boolean

contains(mixed offset)

Check if the specified offset exists.

mixed

get(mixed offset)

Return the element with the specified offset.

boolean

offsetExists(mixed offset)

Check if an offset axists.

mixed

offsetGet(mixed offset)

An alias of get().

void

offsetSet(mixed offset, mixed value)

Sets $offset to $value.

void

offsetUnset(mixed offset)

Unset a given offset.

boolean

remove(mixed offset)

Remove the element with the specified offset.

void

set(mixed offset, mixed value)

Set the offset to the value.

Doctrine_Access

setArray(array array)

Set an entire aray to the data.

Methods inherited from Doctrine\Doctrine_Locator_Injectable
bind, getLocator, getNullObject, initNullObject, locate, setLocator

Method Detail

/Doctrine/Access.php at line 199

add

public void add(mixed value)

Add the value

Parameters:
value - The value to add

/Doctrine/Access.php at line 188

contains

public boolean contains(mixed offset)

Check if the specified offset exists

Parameters:
offset - The offset to check
Returns:
True if exists otherwise false

/Doctrine/Access.php at line 165

get

public mixed get(mixed offset)

Return the element with the specified offset

Parameters:
offset - The offset to return

/Doctrine/Access.php at line 103

offsetExists

public boolean offsetExists(mixed offset)

Check if an offset axists

Returns:
Whether or not this object contains $offset

/Doctrine/Access.php at line 115

offsetGet

public mixed offsetGet(mixed offset)

An alias of get()

See Also:
__get

/Doctrine/Access.php at line 128

offsetSet

public void offsetSet(mixed offset, mixed value)

Sets $offset to $value

See Also:
__set

/Doctrine/Access.php at line 143

offsetUnset

public void offsetUnset(mixed offset)

Unset a given offset

See Also:
offsetSet, __set

/Doctrine/Access.php at line 154

remove

public boolean remove(mixed offset)

Remove the element with the specified offset

Parameters:
offset - The offset to remove
Returns:
True if removed otherwise false

/Doctrine/Access.php at line 177

set

public void set(mixed offset, mixed value)

Set the offset to the value

Parameters:
offset - The offset to set
value - The value to set the offset to /

/Doctrine/Access.php at line 41

setArray

public Doctrine_Access setArray(array array)

Set an entire aray to the data

Parameters:
array - An array of key => value pairs

Doctrine