Elgg  Version master
Protected Member Functions | List of all members
Elgg\Diagnostics\DownloadController Class Reference

Elgg diagnostics download. More...

Inheritance diagram for Elgg\Diagnostics\DownloadController:
Elgg\Controllers\DownloadAction Elgg\Controllers\GenericAction

Protected Member Functions

 getFilename ()
 {File name for download.
Returns
string
} More...
 
 getMimeType ()
 {Return the content mimetype for the Content-Type header.
Returns
string
} More...
 
 getContents ()
 {File contents.
Returns
mixed
} More...
 
- Protected Member Functions inherited from Elgg\Controllers\DownloadAction
 getHeaders ()
 Returns headers for download response. More...
 
 success ()
 {Will be used when an action is successfully finished.
Returns
OkResponse
} More...
 
- Protected Member Functions inherited from Elgg\Controllers\GenericAction
 sanitize ()
 Sanitizes input for the action. More...
 
 validate ()
 Validates the action. More...
 
 executeBefore ()
 Preparation before executing the action. More...
 
 execute ()
 Main part of the action. More...
 
 executeAfter ()
 Action part after the main execution. More...
 
 error (string $message)
 Will be used when something wrong happened during the handling of the action. More...
 

Additional Inherited Members

- Public Member Functions inherited from Elgg\Controllers\GenericAction
 __invoke (\Elgg\Request $request)
 Invoke the action steps. More...
 
- Protected Attributes inherited from Elgg\Controllers\GenericAction
Elgg Request $request
 

Detailed Description

Elgg diagnostics download.

Since
7.0

Definition at line 10 of file DownloadController.php.

Member Function Documentation

◆ getContents()

Elgg\Diagnostics\DownloadController::getContents ( )
protected

{File contents.

Returns
mixed
}

Reimplemented from Elgg\Controllers\DownloadAction.

Definition at line 29 of file DownloadController.php.

◆ getFilename()

Elgg\Diagnostics\DownloadController::getFilename ( )
protected

{File name for download.

Returns
string
}

Reimplemented from Elgg\Controllers\DownloadAction.

Definition at line 15 of file DownloadController.php.

◆ getMimeType()

Elgg\Diagnostics\DownloadController::getMimeType ( )
protected

{Return the content mimetype for the Content-Type header.

Returns
string
}

Reimplemented from Elgg\Controllers\DownloadAction.

Definition at line 22 of file DownloadController.php.


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