ILIAS  trunk Revision v12.0_alpha-1329-g1094ddb0c33
ILIAS\StaticURL\Response\CannotReach Class Reference

Returned by a Handler when the target exists but the CURRENT (logged-in) user has no permission to reach it. More...

+ Inheritance diagram for ILIAS\StaticURL\Response\CannotReach:
+ Collaboration diagram for ILIAS\StaticURL\Response\CannotReach:

Public Member Functions

 getURIPath ()
 
 targetCanBeReached ()
 
 shift ()
 
 getURIPath ()
 
 targetCanBeReached ()
 
 shift ()
 

Detailed Description

Returned by a Handler when the target exists but the CURRENT (logged-in) user has no permission to reach it.

The HandlerService tries to walk up the repository tree from the Request's ReferenceId and redirects to the first parent the user can read (and shows the course/group join message via reg_goto_parent_membership_info). If no readable parent is found, or the Request carries no ReferenceId, the user is redirected to their Starting Point / Dashboard.

See also
\ILIAS\StaticURL\Response\Factory::cannotReach()
Author
Fabian Schmid fabia.nosp@m.n@sr.nosp@m..solu.nosp@m.tion.nosp@m.s

Definition at line 34 of file CannotReach.php.

Member Function Documentation

◆ getURIPath()

ILIAS\StaticURL\Response\CannotReach::getURIPath ( )

Implements ILIAS\StaticURL\Response\Response.

Definition at line 36 of file CannotReach.php.

36 : ?string
37 {
38 return null;
39 }

◆ shift()

ILIAS\StaticURL\Response\CannotReach::shift ( )

Implements ILIAS\StaticURL\Response\Response.

Definition at line 46 of file CannotReach.php.

46 : int
47 {
48 return 0;
49 }

◆ targetCanBeReached()

ILIAS\StaticURL\Response\CannotReach::targetCanBeReached ( )

Implements ILIAS\StaticURL\Response\Response.

Definition at line 41 of file CannotReach.php.

41 : bool
42 {
43 return true;
44 }

The documentation for this class was generated from the following file: