Pt_BR En Ja De Fr 
You are currently viewing the 0.11 branch api documentation. Switch to 1.0

0.11 Doctrine_Access

Doctrine Access

Provides array access and property overload interface for Doctrine subclasses

Direct Sub-Classes

Method Summary

Returns Name Description
add
boolean contains
mixed get
boolean offsetExists
mixed offsetGet
offsetSet
offsetUnset
boolean remove
set
setArray
mixed __get
boolean __isset
__set
__unset

Method Details

  • $value The value to add

    add($value)

    Add the value


  • $offset The offset to check

    (boolean) contains($offset)

    Check if the specified offset exists

    Doctrine_Access


  • $offset The offset to return

    (mixed) get($offset)

    Return the element with the specified offset

    Doctrine_Access


  • (boolean) offsetExists($offset)

    Check if an offset axists

    Doctrine_Access


  • (mixed) offsetGet($offset)

    An alias of get()


  • offsetSet($offset, $value)

    Sets $offset to $value


  • offsetUnset($offset)

    Unset a given offset


  • $offset The offset to remove

    (boolean) remove($offset)

    Remove the element with the specified offset

    Doctrine_Access


  • $offset The offset to set
    $value The value to set the offset to

    set($offset, $value)

    Set the offset to the value


  • $array An array of key => value pairs

    setArray($array)

    Set an entire aray to the data


  • (mixed) __get($name)

    Get key from data


  • (boolean) __isset($name)

    Check if key exists in data

    Doctrine_Access


  • __set(($name) $name, ($value) $value)

    Set key and value to data


  • __unset($name)

    Remove key from data


Comments (0) [ add comment ]

 No Comments

Add Comment

Add New Comment
Please enter follow the doctrine