메소드 |
설명 |
|
_field_exists ( $column ) |
|
|
_find_foreign_keys ( ) : void |
Fills $this->_foreign_keys in order to easier
find foreign keys in all the process_type methods |
|
_get_base_rules ( ) : array |
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 ( ORM $model ) : string |
Convenience method for fetching the field name of a foreign model
Formo allows |
|
_process_belongs_to ( mixed $field_name, array &$options ) : void |
Add options to belongs_to fields |
|
_process_enum ( mixed $field_name, array &$options ) : void |
Set up options for enum fields |
|
_process_has_one ( mixed $field_name, array &$options ) : void |
Set up options for has_one relationships |
|
_process_set ( mixed $field_name, array &$options ) : void |
Set up options for set fields |
|
formo ( mixed $form ) : void |
Post-production after get_form |
|