fix missing method form
This commit is contained in:
parent
6edfd81b6f
commit
3d2301d416
|
@ -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(){
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -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(){
|
||||
|
||||
}
|
||||
}
|
|
@ -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(){
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue