Class: Doctrine_Table_Repository
Source Location: /Doctrine/Table/Repository.phpClass Doctrine_Table_Repository
Class Overview
Implements interfaces:
Doctrine_Repository each record is added into Doctrine_Repository at the same time they are created, loaded from the database or retrieved from the cache Located in /Doctrine/Table/Repository.php [line 34] Author(s):
|
[ Top ]
Property Summary
Method Summary
Doctrine_Table_Repository | __construct() | constructor |
boolean | add() | add |
void | contains() | contains |
integer | count() | count |
boolean | evict() | |
integer | evictAll() | |
void | get() | get |
ArrayIterator | getIterator() | getIterator |
object Doctrine_Table | getTable() | getTable |
void | loadAll() | loadAll |
[ Top ]
Methods
Constructor __construct [line 51]
|
constructor
Parameters:Doctrine_Table | $table: |
API Tags:
Access: | public |
[ Top ]
add [line 70]
|
add
Parameters:Doctrine_Record | $record: | record to be added into registry |
API Tags:
Access: | public |
[ Top ]
contains [line 139]
|
contains
Parameters:integer | $oid: | object identifier |
API Tags:
Access: | public |
[ Top ]
count [line 98]
|
count
Doctrine_Registry implements interface Countable
API Tags:
Return: | the number of records this registry has |
Access: | public |
Implementation of:
- Countable::count
[ Top ]
evict [line 106]
|
integer | $oid: | object identifier |
API Tags:
Return: | whether ot not the operation was successful |
Access: | public |
[ Top ]
evictAll [line 117]
|
API Tags:
Return: | number of records evicted |
Access: | public |
[ Top ]
get [line 86]
|
get
Parameters:integer | $oid: |
API Tags:
Access: | public |
Information Tags:
Throws: | Doctrine_Table_Repository_Exception |
[ Top ]
getIterator [line 131]
|
getIterator
API Tags:
Access: | public |
Implementation of:
- IteratorAggregate::getIterator
[ Top ]