|
Elgg
Version master
|
Helper class for CSV download actions. More...
Protected Member Functions | |
| getFilename () | |
{File name for download.
| |
| getMimeType () | |
{Return the content mimetype for the Content-Type header.
| |
| getSeparator () | |
| Returns the separator. More... | |
| getEnclosure () | |
| Returns the enclosure. More... | |
| getEscape () | |
| Returns the escape. More... | |
| getContentHeaders () | |
| Returns the first row of headers for your file. More... | |
| getContentRows () | |
| Returns an array of rows with data for your file. More... | |
| getContents () | |
{File contents.
| |
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.
| |
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 |
Helper class for CSV download actions.
Definition at line 12 of file CsvDownloadAction.php.
|
protected |
Returns the first row of headers for your file.
Definition at line 60 of file CsvDownloadAction.php.
|
abstractprotected |
Returns an array of rows with data for your file.
|
finalprotected |
{File contents.
Reimplemented from Elgg\Controllers\DownloadAction.
Definition at line 74 of file CsvDownloadAction.php.
|
protected |
|
protected |
|
protected |
{File name for download.
Reimplemented from Elgg\Controllers\DownloadAction.
Definition at line 17 of file CsvDownloadAction.php.
|
protected |
{Return the content mimetype for the Content-Type header.
Reimplemented from Elgg\Controllers\DownloadAction.
Definition at line 24 of file CsvDownloadAction.php.
|
protected |