fix missing method form

This commit is contained in:
Eduardo humberto 2017-12-06 15:48:03 -02:00
parent 6edfd81b6f
commit 3d2301d416
3 changed files with 21 additions and 0 deletions

View File

@ -46,4 +46,11 @@ abstract class Field_Type {
$this->options = ( is_array( $options ) ) ? $options : unserialize( $options );
}
/**
* generate the fields for this field type
*/
public function form(){
}
}

View File

@ -23,4 +23,11 @@ class Numeric extends Field_Type {
public function render( $metadata ){
return '<tainacan-numeric name="'.$metadata->get_name().'"></tainacan-numeric>';
}
/**
* generate the fields for this field type
*/
public function form(){
}
}

View File

@ -23,4 +23,11 @@ class Text extends Field_Type {
public function render( $metadata ){
return '<tainacan-text name="'.$metadata->get_name().'"></tainacan-text>';
}
/**
* generate the fields for this field type
*/
public function form(){
}
}