Emmanuel BENOîT
cdb2e952f5
Added a FieldView interface which must be implemented by field renderers. The form's main view will look for FieldView implementations to determine how to render specific field types. The only exception are hidden fields, which are handled separately.
35 lines
1 KiB
PHP
35 lines
1 KiB
PHP
<?php
|
|
|
|
$package[ 'requires' ][] = 'box';
|
|
|
|
$package[ 'files' ][] = 'field';
|
|
$package[ 'files' ][] = 'field_views';
|
|
$package[ 'files' ][] = 'form';
|
|
$package[ 'files' ][] = 'view';
|
|
$package[ 'files' ][] = 'ctrl';
|
|
$package[ 'files' ][] = 'modifiers';
|
|
$package[ 'files' ][] = 'validators';
|
|
|
|
$package[ 'views' ][] = 'form';
|
|
$package[ 'ctrls' ][] = 'form';
|
|
|
|
$package[ 'extras' ][] = 'Field';
|
|
$package[ 'extras' ][] = 'FieldModifier';
|
|
$package[ 'extras' ][] = 'FieldValidator';
|
|
$package[ 'extras' ][] = 'FieldView';
|
|
$package[ 'extras' ][] = 'Form';
|
|
$package[ 'extras' ][] = 'FormAware';
|
|
|
|
$package[ 'extras' ][] = 'FieldView_Label';
|
|
$package[ 'extras' ][] = 'FieldView_Text';
|
|
$package[ 'extras' ][] = 'FieldView_Password';
|
|
$package[ 'extras' ][] = 'FieldView_TextArea';
|
|
$package[ 'extras' ][] = 'FieldView_Select';
|
|
|
|
$package[ 'extras' ][] = 'Modifier_TrimString';
|
|
|
|
$package[ 'extras' ][] = 'Validator_StringLength';
|
|
$package[ 'extras' ][] = 'Validator_InArray';
|
|
$package[ 'extras' ][] = 'Validator_IntValue';
|
|
$package[ 'extras' ][] = 'Validator_Email';
|
|
|