BeforeTemplateRenderedEvent¶
-
class
OCP\AppFramework\Http\Events\
BeforeTemplateRenderedEvent
¶ - Emitted before the rendering step of each TemplateResponse. The event holds aflag that specifies if an user is logged in.
Source: lib/public/AppFramework/Http/Events/BeforeTemplateRenderedEvent.php#40 Parent: OCP\EventDispatcher\Event
Properties¶
Methods¶
-
public
OCP\AppFramework\Http\Events\BeforeTemplateRenderedEvent::
__construct
($loggedIn, $response)¶ Source: lib/public/AppFramework/Http/Events/BeforeTemplateRenderedEvent.php#49 Since: 20.0.0
-
public
OCP\AppFramework\Http\Events\BeforeTemplateRenderedEvent::
isLoggedIn
()¶ Source: lib/public/AppFramework/Http/Events/BeforeTemplateRenderedEvent.php#59 Since: 20.0.0
-
public
OCP\AppFramework\Http\Events\BeforeTemplateRenderedEvent::
getResponse
()¶ Source: lib/public/AppFramework/Http/Events/BeforeTemplateRenderedEvent.php#66 Since: 20.0.0