@@ -400,7 +400,8 @@ public static function restController() {
400400 'restController '
401401 ], [
402402 "r " => Parameter::create ("resource " , "The model used " , []),
403- "p " => Parameter::create ("path " , "The associated route " , [])
403+ "p " => Parameter::create ("path " , "The associated route " , []),
404+ 'o ' => Parameter::create ('domain ' , 'The domain in which to create the controller. ' , [], '' )
404405 ], [
405406 'Creates a REST controller for the class models\User ' => 'Ubiquity rest RestUsers -r=User -p=/rest/users '
406407 ], 'rest ' );
@@ -413,7 +414,8 @@ public static function restApiController() {
413414 'restapi_controller ' ,
414415 'restapiController '
415416 ], [
416- "p " => Parameter::create ("path " , "The associated route " , [])
417+ "p " => Parameter::create ("path " , "The associated route " , []),
418+ 'o ' => Parameter::create ('domain ' , 'The domain in which to create the controller. ' , [], '' )
417419 ], [
418420 'Creates a REST API controller ' => 'Ubiquity restapi -p=/rest '
419421 ], 'rest ' );
@@ -453,7 +455,8 @@ public static function authController() {
453455 "message " ,
454456 "baseTemplate "
455457 ], 'index,info,noAccess,disconnected,message,baseTemplate ' ),
456- "p " => Parameter::create ("path " , "The associated route " , [])
458+ "p " => Parameter::create ("path " , "The associated route " , []),
459+ 'o ' => Parameter::create ('domain ' , 'The domain in which to create the controller. ' , [], '' )
457460 ], [
458461 'Creates a new controller for authentification ' => 'Ubiquity auth AdminAuthController ' ,
459462 'and associates a route to it ' => 'Ubiquity auth AdminAuthController -p=/admin/auth ' ,
0 commit comments