CommonITILObject::getGroups PHP Метод

getGroups() публичный Метод

get groups linked to a object
public getGroups ( $type ) : array
$type type to search (see constants)
Результат array
    function getGroups($type)
    {
        if (isset($this->groups[$type])) {
            return $this->groups[$type];
        }
        return array();
    }
CommonITILObject