You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -258,21 +261,21 @@ public static function serve() {
258
261
], [
259
262
'Starts a php server at 127.0.0.1:8090' => 'Ubiquity serve',
260
263
'Starts a reactPHP server at 127.0.0.1:8080' => 'Ubiquity serve -t=react'
261
-
]);
264
+
], 'servers');
262
265
}
263
266
264
267
publicstaticfunctionselfUpdate() {
265
-
returnnewCommand("self-update", "", "Updates Ubiquity framework for the current project.", [], []);
268
+
returnnewCommand("self-update", "", "Updates Ubiquity framework for the current project.", [], [], [], 'installation');
266
269
}
267
270
268
271
publicstaticfunctionadmin() {
269
-
returnnewCommand("admin", "", "Add UbiquityMyAdmin webtools to the current project.", [], []);
272
+
returnnewCommand("admin", "", "Add UbiquityMyAdmin webtools to the current project.", [], [], [], 'installation');
270
273
}
271
274
272
275
publicstaticfunctionhelp() {
273
276
returnnewCommand("help", "?", "Get some help about a dev-tools command.", [], [], [
274
277
'Get some help about crud' => 'Ubiquity help crud'
275
-
]);
278
+
], 'system');
276
279
}
277
280
278
281
publicstaticfunctioncrudController() {
@@ -303,7 +306,7 @@ public static function crudController() {
303
306
'and associates a route to it' => 'Ubiquity crud CrudUsers -r=User -p=/users',
304
307
'allows customization of index and form templates' => 'Ubiquity crud CrudUsers -r=User -t=index,form',
305
308
'Creates a crud controller for the class models\projects\Author' => 'Ubiquity crud Authors -r=models\projects\Author'
306
-
]);
309
+
], 'controllers');
307
310
}
308
311
309
312
publicstaticfunctionrestController() {
@@ -314,7 +317,7 @@ public static function restController() {
314
317
"p" => Parameter::create("path", "The associated route", [])
315
318
], [
316
319
'Creates a REST controller for the class models\User' => 'Ubiquity rest RestUsers -r=User -p=/rest/users'
317
-
]);
320
+
], 'rest');
318
321
}
319
322
320
323
publicstaticfunctionrestApiController() {
@@ -324,7 +327,7 @@ public static function restApiController() {
324
327
"p" => Parameter::create("path", "The associated route", [])
325
328
], [
326
329
'Creates a REST API controller' => 'Ubiquity restapi -p=/rest'
327
-
]);
330
+
], 'rest');
328
331
}
329
332
330
333
publicstaticfunctiondao() {
@@ -341,7 +344,7 @@ public static function dao() {
341
344
'Returns all instances of models\User and includes their commands' => 'Ubiquity dao getAll -r=User -i=commands',
342
345
'Returns the User with the id 5' => 'Ubiquity dao getOne -c="id=5"-r=User',
343
346
'Returns the list of users belonging to the "Brittany" or "Normandy" regions' => 'Ubiquity uGetAll -r=User -c="region.name= ? or region.name= ?" -p=Brittany,Normandy'
344
-
]);
347
+
], 'models');
345
348
}
346
349
347
350
publicstaticfunctionauthController() {
@@ -362,7 +365,7 @@ public static function authController() {
362
365
'Creates a new controller for authentification' => 'Ubiquity auth AdminAuthController',
363
366
'and associates a route to it' => 'Ubiquity auth AdminAuthController -p=/admin/auth',
364
367
'allows customization of index and info templates' => 'Ubiquity auth AdminAuthController -t=index,info'
365
-
]);
368
+
], 'controllers');
366
369
}
367
370
368
371
publicstaticfunctionnewAction() {
@@ -378,7 +381,7 @@ public static function newAction() {
378
381
'and associates a route to it' => 'Ubiquity action Users.display -p=idUser -r=/users/display/{idUser}',
0 commit comments