Fixes on fields for new behaviour

This commit is contained in:
Antonio de la Rosa 2015-08-28 05:24:58 +02:00
parent 2a342ad9f9
commit 890704010b
21 changed files with 78 additions and 36 deletions

View file

@ -88,7 +88,7 @@ class PhangoField {
* Form define the function for use in forms...
*/
public $form="PhangoApp\PhaModels\CoreForms::TextForm";
public $form='PhangoApp\PhaModels\Forms\BaseForm';
/**
* Array for create initial parameters for form..
@ -108,6 +108,7 @@ class PhangoField {
public $default_value='';
/**
* Method used for internal tasks related with searchs. You can overwrite this method in your PhangoField object if you need translate the value that the user want search to a real value into the database.
*/
@ -168,7 +169,7 @@ class PhangoField {
/**
* Method for create a form, you only need subclass the field if you want another form different to default
*/
/*
public function create_form()
{
@ -179,7 +180,7 @@ class PhangoField {
return $form;
}
}*/
}