minor method Group
This commit is contained in:
parent
41fe646461
commit
9d8079ad77
|
@ -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.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue