Property | Type | Description | |
---|---|---|---|
$aliases | model aliases: name => function, ... | ||
$callbacks | callbacks by field: name => callback list, ... | ||
$db | database instance or instance name | ||
$fields | model fields: name => field object, ... | ||
$filters | filters by field: name => filter list, ... | ||
$relations | model relations: name => relation object, ... | ||
$rules | rules by field: name => filter list, ... | ||
$sorting | row sorting fields: name => direction, ... | ||
$table | database table | ||
$validate | validation context: context => field list, ... |
Method | Description | |
---|---|---|
alias ( $name ) : mixed | Get the complete column alias for a field. | |
column ( $name ) : string | Get the complete column name for a field. | |
field ( $name ) : Hive_Field | Get a single field object. | |
finish ( ) | Finishes the initialization of meta. | |
is_unique ( $array, $name ) : void | [Validate] callback, used to test if a field value is unique. | |
relation ( $name ) : Hive_Relation | Get a single relation object. |
public field ( $name ) : Hive_Field | ||
return | Hive_Field |
public relation ( $name ) : Hive_Relation | ||
return | Hive_Relation |