Elgg  Version master
Public Member Functions | List of all members
Elgg\Page\SetXFrameOptionsHeaderHandler Class Reference

Sets a header. More...

Public Member Functions

 __invoke (\Elgg\Hook $hook)
 Sends X-Frame-Options header on page requests. More...
 

Detailed Description

Sets a header.

Since
4.0

Definition at line 10 of file SetXFrameOptionsHeaderHandler.php.

Member Function Documentation

Elgg\Page\SetXFrameOptionsHeaderHandler::__invoke ( \Elgg\Hook  $hook)

Sends X-Frame-Options header on page requests.

Parameters
\Elgg\Hook$hook'output:before', 'page'
Returns
void

Definition at line 19 of file SetXFrameOptionsHeaderHandler.php.


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