Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More

lino.core.constants

Defines explicit code names for URL parameters

Module Attributes

URL_PARAM_PARAM_VALUES

Array of values of table parameters.

URL_PARAM_FIELD_VALUES

Array of values of action parameters.

URL_PARAM_MASTER_TYPE

The content type of the master instance.

URL_PARAM_MASTER_PK

The primary key of the master instance.

URL_PARAM_USER_LANGUAGE

override user language

URL_PARAM_SUBST_USER

substitute user

URL_PARAM_LINO_VERSION

Version number of linoweb.js/lino_XXX_XX.json for version clash checking

URL_PARAM_MAIN_JS_TIMESTAMP

Modification timestamp of main.js for version clash checking

URL_PARAM_KNOWN_VALUES

known values

URL_PARAM_TAB

The number of the active tab panel.

ICON_NAMES

A list of all names allowed as lino.core.actions.Action.icon_name.

Functions

dict2kw(d)

parse_boolean(v)

lino.core.constants.URL_PARAM_PARAM_VALUES = 'pv'

Array of values of table parameters.

lino.core.constants.URL_PARAM_FIELD_VALUES = 'fv'

Array of values of action parameters.

lino.core.constants.URL_PARAM_MASTER_TYPE = 'mt'

The content type of the master instance.

lino.core.constants.URL_PARAM_MASTER_PK = 'mk'

The primary key of the master instance.

lino.core.constants.URL_PARAM_USER_LANGUAGE = 'ul'

override user language

lino.core.constants.URL_PARAM_SUBST_USER = 'su'

substitute user

lino.core.constants.URL_PARAM_LINO_VERSION = 'lv'

Version number of linoweb.js/lino_XXX_XX.json for version clash checking

lino.core.constants.URL_PARAM_MAIN_JS_TIMESTAMP = 'mjsts'

Modification timestamp of main.js for version clash checking

lino.core.constants.URL_PARAM_KNOWN_VALUES = 'kv'

known values

lino.core.constants.URL_PARAM_TAB = 'tab'

The number of the active tab panel.

lino.core.constants.ICON_NAMES = ['arrow_join', 'arrow_up', 'arrow_down', 'delete', 'add', 'book_link', 'eye', 'basket', 'emoticon_smile', 'pencil', 'cross', 'money', 'application_form', 'application_view_list', 'application_view_detail', 'disk', 'hourglass', 'date_add', 'email_add', 'email_go', 'script', 'script_add', 'bell', 'calendar', 'printer', 'lightning', 'printer_delete', 'arrow_divide', 'page_white_acrobat', 'page_excel', 'html', 'vcard', 'vcard_add', 'wrench', 'transmit', 'accept', 'database_gear', 'cancel', 'flag_green', 'date_next']

A list of all names allowed as lino.core.actions.Action.icon_name.