mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-04-08 18:55:09 +02:00
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…
x
Reference in New Issue
Block a user