function getDefaultActorRightSearch($type) { if ($type == CommonITILActor::ASSIGN) { return "own_ticket"; } return "all"; }