minor method Group

This commit is contained in:
fbsanchez 2021-04-21 10:26:33 +02:00
parent 41fe646461
commit 9d8079ad77
1 changed files with 14 additions and 0 deletions

View File

@ -46,6 +46,20 @@ class Group extends Entity
private static $ajaxMethods = ['getGroupsForSelect'];
/**
* Instances a new object using array definition.
*
* @param array $data Fields data.
* @param string $class_str Class name.
*
* @return object With current definition.
*/
public static function build(array $data=[], string $class_str=__CLASS__)
{
return parent::build($data, $class_str);
}
/**
* Builds a PandoraFMS\Group object from a group id.
*