comparison src/bridge/bridge_constructor/bridge_template.ini @ 777:5642939d254e

core, bridge: new method paramsRegisterApp to register frontend's specific parameters
author souliane <souliane@mailoo.org>
date Fri, 27 Dec 2013 13:28:26 +0100
parents eac23b1aad90
children bfafed251b40
comparison
equal deleted inserted replaced
776:f89173f44850 777:5642939d254e
445 445
446 [getParamsUI] 446 [getParamsUI]
447 async= 447 async=
448 type=method 448 type=method
449 category=core 449 category=core
450 sig_in=is 450 sig_in=iss
451 sig_out=s 451 sig_out=s
452 param_0_default=-1 452 param_0_default=-1
453 param_1_default="@DEFAULT@" 453 param_1_default=''
454 doc=Return a SàT XMLUI for parameters 454 param_2_default="@DEFAULT@"
455 doc=Return a SàT XMLUI for parameters, eventually restrict the result to the parameters concerning a given frontend
455 doc_param_0=%(doc_security_limit)s 456 doc_param_0=%(doc_security_limit)s
456 doc_param_1=%(doc_profile_key)s 457 doc_param_1=app: name of the frontend requesting the parameters, or '' to get all parameters
458 doc_param_2=%(doc_profile_key)s
457 459
458 [getParams] 460 [getParams]
459 async= 461 async=
460 type=method 462 type=method
461 category=core 463 category=core
462 sig_in=is 464 sig_in=iss
463 sig_out=s 465 sig_out=s
464 param_0_default=-1 466 param_0_default=-1
465 param_1_default="@DEFAULT@" 467 param_1_default=''
466 doc=Return XML of parameters 468 param_2_default="@DEFAULT@"
469 doc=Return XML of parameters, eventually restrict the result to the parameters concerning a given frontend
467 doc_param_0=%(doc_security_limit)s 470 doc_param_0=%(doc_security_limit)s
468 doc_param_1=%(doc_profile_key)s 471 doc_param_1=app: name of the frontend requesting the parameters, or '' to get all parameters
472 doc_param_2=%(doc_profile_key)s
469 473
470 [getParamsForCategory] 474 [getParamsForCategory]
471 async= 475 async=
472 type=method 476 type=method
473 category=core 477 category=core
474 sig_in=sis 478 sig_in=siss
475 sig_out=s 479 sig_out=s
476 param_1_default=-1 480 param_1_default=-1
477 param_2_default="@DEFAULT@" 481 param_2_default=''
478 doc=Return a xml of all params in a category 482 param_3_default="@DEFAULT@"
483 doc=Return a xml of all params in a category, eventually restrict the result to the parameters concerning a given frontend
479 doc_param_0=category: Category to get 484 doc_param_0=category: Category to get
480 doc_param_1=%(doc_security_limit)s 485 doc_param_1=%(doc_security_limit)s
481 doc_param_2=%(doc_profile_key)s 486 doc_param_2=app: name of the frontend requesting the parameters, or '' to get all parameters
487 doc_param_3=%(doc_profile_key)s
482 488
483 [getParamsCategories] 489 [getParamsCategories]
484 type=method 490 type=method
485 category=core 491 category=core
486 sig_in= 492 sig_in=
487 sig_out=as 493 sig_out=as
488 doc=Get all categories currently existing in parameters 494 doc=Get all categories currently existing in parameters
489 doc_return=list of categories 495 doc_return=list of categories
496
497 [paramsRegisterApp]
498 type=method
499 category=core
500 sig_in=sis
501 sig_out=
502 param_1_default=-1
503 param_2_default=''
504 doc=Register frontend's specific parameters
505 doc_param_0=xml: XML definition of the parameters to be added
506 doc_param_1=%(doc_security_limit)s
507 doc_param_2=app: name of the frontend registering the parameters
490 508
491 [getHistory] 509 [getHistory]
492 async= 510 async=
493 type=method 511 type=method
494 category=core 512 category=core