@@ -159,7 +159,7 @@ public static function controller() {
159159 "true " ,
160160 "false "
161161 ], 'false ' ),
162- 'o ' => Parameter::create ('domain ' , 'The domain in which to create the controller. ' , '' )
162+ 'o ' => Parameter::create ('domain ' , 'The domain in which to create the controller. ' , [], '' )
163163 ], [
164164 'Creates a controller ' => 'Ubiquity controller UserController ' ,
165165 'with its associated view ' => 'Ubiquity controller UserController -v ' ,
@@ -173,7 +173,7 @@ public static function model() {
173173 ], [
174174 'd ' => Parameter::create ('database ' , 'The database connection to use ' , [], 'default ' ),
175175 'a ' => Parameter::create ('access ' , 'The default access to the class members ' , [], 'private ' ),
176- 'o ' => Parameter::create ('domain ' , 'The domain in which to create the model. ' , '' )
176+ 'o ' => Parameter::create ('domain ' , 'The domain in which to create the model. ' , [], '' )
177177 ], [
178178 'Ubiquity model User ' ,
179179 'Ubiquity model Author -d=projects ' ,
@@ -218,7 +218,7 @@ public static function allModels() {
218218 ], [
219219 'd ' => Parameter::create ('database ' , 'The database connection to use (offset) ' , [], 'default ' ),
220220 'a ' => Parameter::create ('access ' , 'The default access to the class members ' , [], 'private ' ),
221- 'o ' => Parameter::create ('domain ' , 'The domain in which to create the models. ' , '' )
221+ 'o ' => Parameter::create ('domain ' , 'The domain in which to create the models. ' , [], '' )
222222 ], [
223223 'Ubiquity all-models ' ,
224224 'Ubiquity all-models -d=projects ' ,
@@ -397,7 +397,7 @@ public static function dao() {
397397 "i " => Parameter::create ("included " , "The associated members to load (boolean or array: client.*,commands) " , []),
398398 "p " => Parameter::create ("parameters " , "The parameters for a parameterized query " , []),
399399 "f " => Parameter::create ("fields " , "The fields to display in the response " , []),
400- 'o ' => Parameter::create ('domain ' , 'The domain in which the models are. ' , '' )
400+ 'o ' => Parameter::create ('domain ' , 'The domain in which the models are. ' , [], '' )
401401 ], [
402402 'Returns all instances of models\User ' => 'Ubiquity dao getAll -r=User ' ,
403403 'Returns all instances of models\User and includes their commands ' => 'Ubiquity dao getAll -r=User -i=commands ' ,
@@ -437,7 +437,7 @@ public static function newAction() {
437437 "true " ,
438438 "false "
439439 ], "false " ),
440- 'o ' => Parameter::create ('domain ' , 'The domain in which to create the models. ' , '' )
440+ 'o ' => Parameter::create ('domain ' , 'The domain in which to create the models. ' , [], '' )
441441 ], [
442442 'Adds the action all in controller Users ' => 'Ubiquity action Users.all ' ,
443443 'Adds the action display in controller Users with a parameter ' => 'Ubiquity action Users.display -p=idUser ' ,
@@ -457,7 +457,7 @@ public static function infoModel() {
457457 ], "false " ),
458458 "m " => Parameter::create ("model " , "The model on which the information is sought. " , []),
459459 "f " => Parameter::create ("fields " , "The fields to display in the table. " , []),
460- 'o ' => Parameter::create ('domain ' , 'The domain in which the models is. ' , '' )
460+ 'o ' => Parameter::create ('domain ' , 'The domain in which the models is. ' , [], '' )
461461 ], [
462462 'Gets metadatas for User class ' => 'Ubiquity info:model -m=User '
463463 ], 'models ' );
@@ -470,7 +470,7 @@ public static function infoModels() {
470470 'd ' => Parameter::create ('database ' , 'The database connection to use (offset) ' , [], 'default ' ),
471471 "m " => Parameter::create ("models " , "The models on which the information is sought. " , []),
472472 "f " => Parameter::create ("fields " , "The fields to display in the table. " , []),
473- 'o ' => Parameter::create ('domain ' , 'The domain in which the models are. ' , '' )
473+ 'o ' => Parameter::create ('domain ' , 'The domain in which the models are. ' , [], '' )
474474 ], [
475475 'Gets metadatas for all models in default db ' => 'Ubiquity info:models ' ,
476476 'Gets metadatas for all models in messagerie db ' => 'Ubiquity info:models -d=messagerie ' ,
@@ -490,7 +490,7 @@ public static function infoValidation() {
490490 'false '
491491 ], 'false ' ),
492492 "m " => Parameter::create ("model " , "The model on which the information is sought. " , []),
493- 'o ' => Parameter::create ('domain ' , 'The domain in which the models is. ' , '' )
493+ 'o ' => Parameter::create ('domain ' , 'The domain in which the models is. ' , [], '' )
494494 ], [
495495 'Gets validators for User class ' => 'Ubiquity info:validation -m=User ' ,
496496 'Gets validators for User class on member firstname ' => 'Ubiquity info:validation firstname -m=User '
0 commit comments