Mercurial > libervia-backend
comparison sat/bridge/bridge_constructor/bridge_template.ini @ 3123:130f9cb6e0ab
core (memory/params): added `extra` argument to filter out params notably in `getParamsUI`:
In some case, it may be desirable for a frontend to not expose some parameters to user
(e.g. it is the case on Android with the `autoconnect_backend` parameter). An new `extra`
parameter has been added to a couple of parameters method for that: it can contain the
`ignore` key with a list of [category, name] of parameters to skip.
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 25 Jan 2020 21:08:40 +0100 |
parents | 7574f795bd1e |
children | d10b2368684e |
comparison
equal
deleted
inserted
replaced
3122:4486d72658b9 | 3123:130f9cb6e0ab |
---|---|
591 | 591 |
592 [asyncGetParamsValuesFromCategory] | 592 [asyncGetParamsValuesFromCategory] |
593 async= | 593 async= |
594 type=method | 594 type=method |
595 category=code | 595 category=code |
596 sig_in=sis | 596 sig_in=sisss |
597 sig_out=a{ss} | 597 sig_out=a{ss} |
598 param_1_default=-1 | 598 param_1_default=-1 |
599 param_2_default="@DEFAULT@" | 599 param_2_default="" |
600 param_3_default="" | |
601 param_4_default="@DEFAULT@" | |
600 doc=Get "attribute" for all params of a category | 602 doc=Get "attribute" for all params of a category |
601 doc_param_0=category: as for [setParam] | 603 doc_param_0=category: as for [setParam] |
602 doc_param_1=%(doc_security_limit)s | 604 doc_param_1=%(doc_security_limit)s |
603 doc_param_2=%(doc_profile_key)s | 605 doc_param_2=app: name of the frontend requesting the parameters, or '' to get all parameters |
606 doc_param_3=extra: extra options/filters | |
607 doc_param_4=%(doc_profile_key)s | |
604 | 608 |
605 [getParamsUI] | 609 [getParamsUI] |
606 async= | 610 async= |
607 type=method | 611 type=method |
608 category=core | 612 category=core |
609 sig_in=iss | 613 sig_in=isss |
610 sig_out=s | 614 sig_out=s |
611 param_0_default=-1 | 615 param_0_default=-1 |
612 param_1_default='' | 616 param_1_default='' |
613 param_2_default="@DEFAULT@" | 617 param_2_default='' |
618 param_3_default="@DEFAULT@" | |
614 doc=Return a SàT XMLUI for parameters, eventually restrict the result to the parameters concerning a given frontend | 619 doc=Return a SàT XMLUI for parameters, eventually restrict the result to the parameters concerning a given frontend |
615 doc_param_0=%(doc_security_limit)s | 620 doc_param_0=%(doc_security_limit)s |
616 doc_param_1=app: name of the frontend requesting the parameters, or '' to get all parameters | 621 doc_param_1=app: name of the frontend requesting the parameters, or '' to get all parameters |
617 doc_param_2=%(doc_profile_key)s | 622 doc_param_2=extra: extra options/filters |
623 doc_param_3=%(doc_profile_key)s | |
618 | 624 |
619 [getParamsCategories] | 625 [getParamsCategories] |
620 type=method | 626 type=method |
621 category=core | 627 category=core |
622 sig_in= | 628 sig_in= |