0.10 Doctrine_Record_Abstract
Doctrine Record Abstract
Inheritence
Doctrine_Record_Abstract < Doctrine_Access
Direct Sub-Classes
- Doctrine_Record: Doctrine_Record All record classes should inherit this super class
Method Summary
| Returns | Name | Description |
|---|---|---|
| actAs | ||
| addListener | ||
| mixed | attribute | |
| bindQueryParts | ||
| check | ||
| getListener | ||
| getTable | ||
| hasColumn | ||
| hasColumns | ||
| hasMany | ||
| hasOne | ||
| mixed | index | defines or retrieves an index if the second parameter is set this method defines an index if not this method retrieves index named $name |
| loadGenerator | ||
| loadTemplate | ||
| mixed | option | |
| ownsMany | ownsMany binds One-to-Many / Many-to-Many composite relation | |
| ownsOne | ownsOne binds One-to-One composite relation | |
| setAttribute | ||
| setInheritanceMap | ||
| setListener | ||
| setSubclasses | ||
| setTableDefinition | ||
| setTableName | ||
| setUp |
Methods inherited from Doctrine_Access
__isset , add , offsetUnset , offsetSet , offsetGet , contains , get , offsetExists , __get , __unset , setArray , set , remove , __setMethod Details
-
actAs($tpl, $options = array())
actAs loads the given plugin
-
addListener((Doctrine_EventListener_Interface|Doctrine_Overloadable) $listener, $name = null)
-
(mixed) attribute($attr, $value)
attribute sets or retrieves an option
-
$queryParts an array of pre-bound query parts bindQueryParts($queryParts)
bindQueryParts binds query parts to given component
Doctrine_Record_Abstract
-
$constraint either a SQL constraint portion or an array of CHECK constraints $name optional constraint name check($constraint, $name = null)
check adds a check constraint
Doctrine_Record_Abstract
-
getListener()
-
getTable()
getTable returns the associated table object
Doctrine_Record_Abstract
-
hasColumn($name, $type, $length = 2147483647, $options = "")
hasColumn sets a column definition
-
hasColumns($definitions)
-
$componentName the name of the related component $options relation options hasMany($componentName, $options)
hasMany binds One-to-Many / Many-to-Many aggregate relation
Doctrine_Record_Abstract
-
$componentName the name of the related component $options relation options hasOne($componentName, $options)
hasOne binds One-to-One aggregate relation
Doctrine_Record_Abstract
-
$name the name of the index $definition the definition array (mixed) index($name, $definition = array())
defines or retrieves an index if the second parameter is set this method defines an index if not this method retrieves index named $name
-
loadGenerator(( ) $generator)
-
loadTemplate($template, $options = array())
-
$name the name of the option $value options value (mixed) option($name, $value = null)
option sets or retrieves an option
-
$componentName the name of the related component $options relation options ownsMany($componentName, $options)
DEPRECATED - REMOVE SOON
ownsMany binds One-to-Many / Many-to-Many composite relation
Doctrine_Record_Abstract
-
$componentName the name of the related component $options relation options ownsOne($componentName, $options)
DEPRECATED ALSO? - REMOVE SOON
ownsOne binds One-to-One composite relation
Doctrine_Record_Abstract
-
setAttribute($attr, $value)
-
setInheritanceMap($map)
-
setListener((Doctrine_EventListener_Interface|Doctrine_Overloadable) $listener)
-
setSubclasses($map)
-
setTableDefinition()
-
setTableName($tableName)
-
setUp()