DocumentationController
class DocumentationController extends BaseAdminController
The DocumentationController class is the controller that manages the display of documentation pages.
Properties
ControllersHelper | $helper | from BaseAdminController | |
string | $databasesDir | from BaseAdminController | |
string | $simulatorsDir | from BaseAdminController | |
string | $publicDir | from BaseAdminController | |
string | $viewsDir | from BaseAdminController |
Methods
Response
errorResponse(array $form, string $error)
Returns a JSON response formed with the data of a form and an error message.
from BaseAdminController
Response;
indexAction(Request $request, string $document = null)
Entry point for the route path /admin/doc/{document}
Response;
runIndex(Request $request, string $document)
Processes the index action
Details
in BaseAdminController at line 93
protected Response
errorResponse(array $form, string $error)
Returns a JSON response formed with the data of a form and an error message.
in BaseAdminController at line 113
protected
zip(array $contents)
Zip file creation function.
Makes zip files. Derivated from PhpMyAdmin package The $contents parameter is an array of associative array where keys are : - name: name of the zip - modtime: modification time - data: data to compress
in BaseAdminController at line 188
protected int
unix2DosTime(int $unixtime)
Converts unix time to MS DOS time
at line 57
Response;
indexAction(Request $request, string $document = null)
Entry point for the route path /admin/doc/{document}
at line 72
protected Response;
runIndex(Request $request, string $document)
Processes the index action