RT 4.4.5 Documentation
RT::SearchBuilder::Role::Roles
NAME
RT::Record::Role::Roles - Common methods for records which "watchers" or "roles"
REQUIRES
RT::SearchBuilder::Role
PROVIDES
_RoleGroupClass
Returns the class name on which role searches should be based. This relates to the internal "Domain" in RT::Group and distinguishes between roles on the objects being searched and their counterpart roles on containing classes. For example, limiting on RT::Queue roles while searching for RT::Tickets.
The default implementation is:
$self->RecordClass
which is the class that this collection object searches and instatiates objects for. If you're doing something hinky, you may need to override this method.
_WatcherJoin
Helper function which provides joins to a watchers table both for limits and for ordering.
← Back to index