get metadata collection

This commit is contained in:
Jacson Passold 2018-01-26 16:40:24 -02:00
parent 123419ef13
commit e71a1a5079
1 changed files with 8 additions and 0 deletions

View File

@ -152,6 +152,14 @@ class Metadata extends Entity {
function get_field_options(){
return $this->get_mapped_property('field_type_options');
}
/**
* return the collection_id
* @return integer
*/
function get_collection_id() {
return $this->get_mapped_property('collection_id');
}
/**
* Set the metadata name