PHP Class Formo_Core_Driver_ORM_Kohana

ファイルを表示 Open project: bmidget/kohana-formo

Protected Properties

Property Type Description
$_relationship_types
$_table_columns

Public Methods

Method Description
_process_enum ( $alias, Kohana_ORM $model, &$options )
_process_set ( $alias, Kohana_ORM $model, &$options )
_table_columns ( $model )
load ( array $array )
select_list ( $result, $key, $value )

Protected Methods

Method Description
_build_relationships ( Kohana_ORM $model, stdClass $std )
_get_base_rules ( mixed $model, $field ) : void Apply rules based on mysql field definitions While you can skip these, it's a good idea to include them in your fields
_get_field_name ( Model $model )
_process_belongs_to ( $alias, Kohana_ORM $model, stdClass $std, array &$options )
_process_has_many ( $alias, Kohana_ORM $model, stdClass $std, Formo $form )
_process_has_one ( $alias, Kohana_ORM $model, stdClass $std, array &$options )

Method Details

_build_relationships() protected static method

protected static _build_relationships ( Kohana_ORM $model, stdClass $std )
$model Kohana_ORM
$std stdClass

_get_base_rules() protected static method

Apply rules based on mysql field definitions While you can skip these, it's a good idea to include them in your fields
protected static _get_base_rules ( mixed $model, $field ) : void
$model mixed
return void

_get_field_name() protected static method

protected static _get_field_name ( Model $model )
$model Model

_process_belongs_to() protected static method

protected static _process_belongs_to ( $alias, Kohana_ORM $model, stdClass $std, array &$options )
$model Kohana_ORM
$std stdClass
$options array

_process_enum() public static method

public static _process_enum ( $alias, Kohana_ORM $model, &$options )
$model Kohana_ORM

_process_has_many() protected static method

protected static _process_has_many ( $alias, Kohana_ORM $model, stdClass $std, Formo $form )
$model Kohana_ORM
$std stdClass
$form Formo

_process_has_one() protected static method

protected static _process_has_one ( $alias, Kohana_ORM $model, stdClass $std, array &$options )
$model Kohana_ORM
$std stdClass
$options array

_process_set() public static method

public static _process_set ( $alias, Kohana_ORM $model, &$options )
$model Kohana_ORM

_table_columns() public static method

public static _table_columns ( $model )

load() public static method

public static load ( array $array )
$array array

select_list() public static method

public static select_list ( $result, $key, $value )

Property Details

$_relationship_types protected_oe static_oe property

protected static $_relationship_types

$_table_columns protected_oe static_oe property

protected static $_table_columns