Method |
Description |
|
addField ( $n, $actual_field = null ) |
Second argument to addField() will specify how the field is really called |
|
afterDelete ( $m ) |
|
|
afterInsert ( $m, $id ) |
|
|
afterLoad ( $m ) |
|
|
afterUnload ( $m ) |
|
|
beforeDelete ( $m, $id ) |
|
|
beforeInsert ( $m, $q ) |
|
|
beforeLoad ( $m, $q = null ) |
Add query for the relation's ID, but then remove it from results. Remove ID when unloading. |
|
beforeModify ( $m, $q ) |
|
|
beforeSave ( $m ) |
|
|
fieldExpr ( $f ) |
|
|
hasMany ( $model, $their_field = null, $our_field = null, $as_field = null ) |
|
|
hasOne ( $model, $our_field = null, $display_field = null ) |
|
|
init ( ) |
}}} |
|
join ( $foreign_table, $master_field = null, $join_kind = null, $_foreign_alias = null ) |
|
|
leftJoin ( $foreign_table, $master_field = null, $join_kind = null, $_foreign_alias = null ) |
|
|
set ( $foreign_table, $master_field = null, $join_kind = null, $relation = null ) |
TODO: hasMany() |
|