HomeAdminController
class HomeAdminController extends BaseAdminController
The HomeAdminController class is the controller that display the administration interface homepage.
Properties
ControllersHelper | $helper | from BaseAdminController | |
string | $databasesDir | from BaseAdminController | |
string | $simulatorsDir | from BaseAdminController | |
string | $publicDir | from BaseAdminController | |
string | $viewsDir | from BaseAdminController | |
private SimpleXMLElement | $datasources |
Methods
Returns a JSON response formed with the data of a form and an error message.
Entry point of the root path /admin
Prepare the administration interface homepage and renders it.
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 64
Response
indexAction(Request $request)
Entry point of the root path /admin
at line 78
protected Response
runIndex(Request $request)
Prepare the administration interface homepage and renders it.