NotificationTarget::getAllEvents PHP Метод

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

Return all (GLPI + plugins) notification events for the object type
public getAllEvents ( ) : an
Результат an array which contains : event => event label
    function getAllEvents()
    {
        $this->events = $this->getEvents();
        //If plugin adds new events for an already defined type
        Plugin::doHook('item_get_events', $this);
        return $this->events;
    }