columned_table_header_row
columned_table_row
confirm_screen
do_next_manager
do_next_manager_hooked
internalise_own_screen
map_table
map_table_field
pagination
results_entry
results_field_title
results_launcher
results_sorter
results_table
tpl_crop_text_mouse_over
columned_table_header_row(array $values) : \Tempcode
| package | core_abstract_interfaces |
|---|
arrayThe array of field titles that define the entries in the table table
\TempcodeThe generated headercolumned_table_row(array $values, boolean $escape) : \Tempcode
| package | core_abstract_interfaces |
|---|
arrayThe array of values that make up this row
booleanWhether to add escaping
\TempcodeThe generated rowconfirm_screen(\Tempcode $title, \Tempcode $preview, mixed $url_type, \?mixed $back_url_type= null, \?array $sup_post= null, \?Tempcode $fields= null) : \Tempcode
| package | core_abstract_interfaces |
|---|
\TempcodeThe title for the confirmation page (out of get_screen_title)
\TempcodeThe preview that's being confirmed for actualisation
mixedThe URL type to confirm through to OR a full URL OR a full URL (if long, or if Tempcode)
\?mixedThe URL type if we click back OR a full URL (if long, or if Tempcode) (null: none)
\?arrayA map of supplementary post data to get passed through upon confirmation (null: none)
\?TempcodeForm fields to pass through as post data on confirmation (null: none)
\TempcodeThe confirmation pagedo_next_manager(\?Tempcode $title, \Tempcode $text, \?array $main= null, \?string $main_title= null, \?array $url_add_one= null, \?array $url_edit_this= null, \?array $url_edit_one= null, \?array $url_view_this= null, \?array $url_view_archive= null, \?array $url_add_to_category= null, \?array $url_add_one_category= null, \?array $url_edit_one_category= null, \?array $url_edit_this_category= null, \?array $url_view_this_category= null, \?array $entry_extras= null, \?array $category_extras= null, \?array $additional_extras= null, \?mixed $additional_title= null, \?Tempcode $intro= null, \?Tempcode $entries_title= null, \?Tempcode $categories_title= null) : \Tempcode
| package | core_abstract_interfaces |
|---|
\?TempcodeThe title of what we just did (should have been passed through get_screen_title already) (null: don't do full page)
\TempcodeThe 'text' (actually, a full XHTML lump) to show on the page
\?arrayAn array of entry types, with each array entry being -- an array consisting of the type codename and a URL array as per following parameters (null: none)
\?stringThe title to use for the main links (null: none)
\?arrayThe URL used to 'add-one' (null: impossible) (format: array of page, param, zone[, custom label])
\?arrayThe URL used to 'edit-this' (null: impossible) (format: array of page, param, zone[, custom label])
\?arrayThe URL used to 'edit-one' (null: impossible) (format: array of page, param, zone[, custom label])
\?arrayThe URL used to 'view-this' (null: impossible) (format: array of page, param, zone[, custom label])
\?arrayThe URL used to 'view-archive' (null: impossible) (format: array of page, param, zone[, custom label])
\?arrayThe URL used to 'add-to-category' (null: impossible) (format: array of page, param, zone[, custom label])
\?arrayThe URL used to 'add-one-category' (null: impossible) (format: array of page, param, zone[, custom label])
\?arrayThe URL used to 'edit-one-category' (null: impossible) (format: array of page, param, zone[, custom label])
\?arrayThe URL used to 'edit-this-category' (null: impossible) (format: array of page, param, zone[, custom label])
\?arrayThe URL used to 'view-this-category' (null: impossible) (format: array of page, param, zone[, custom label])
\?arrayAn array of additional entry types, with each array entry being -- an array of type codename and a URL array as before (null: none)
\?arrayAs before, but with category types (null: none)
\?arrayAs before, but for an 'extra types' box of do next actions (null: none)
\?mixedThe title to use for the extra types (null: none)
\?TempcodeIntroductory text (null: none)
\?TempcodeEntries section title (null: default, Entries)
\?TempcodeCategories section title (null: default, Categories)
\TempcodeThe do next managerdo_next_manager_hooked(\ID_TEXT $title, \?mixed $text, \ID_TEXT $type, \?string $main_title = null) : \Tempcode
| package | core_abstract_interfaces |
|---|
\ID_TEXTThe title of what we are doing (a language string)
\?mixedThe language code for the docs of the hook defined do-next manager that we're creating OR Tempcode for it (null: none)
\ID_TEXTThe menu 'type' we are doing (filters out any icons that don't match it)
\?stringThe title to use for the main links (a language string) (null: same as title)
\TempcodeThe do next managerinternalise_own_screen(\Tempcode $screen_content, \?integer $refresh_time= null, \?mixed $refresh_if_changed= null) : \Tempcode
| package | core_abstract_interfaces |
|---|
\TempcodeThe screen content
\?integerThe time between refreshes (null: do not refresh)
\?mixedData. A refresh will only happen if an AJAX-check indicates this data has changed (null: no check)
\TempcodeThe screen output, wrapped with some AJAX codemap_table(\Tempcode $title, array $fields) : \Tempcode
| package | core_abstract_interfaces |
|---|
\TempcodeThe title of the view space; should be out of get_screen_title
arrayAn array of mappings between title and value (each mapping being a field)
\TempcodeThe generated view spacemap_table_field(mixed $name, mixed $value, boolean $raw= false, string $abbr= '') : \Tempcode
| package | core_abstract_interfaces |
|---|
mixedThe field title (Tempcode or string). Assumed unescaped.
mixedThe field value (Tempcode or string). Assumed unescaped.
booleanWhether the field should be shown as untitled... because it is an element of a subblock of raw rows
stringField abbreviation (blank: none)
\TempcodeThe generated view space fieldpagination(\Tempcode $title, integer $start, \ID_TEXT $start_name, integer $max, \ID_TEXT $max_name, integer $max_rows, boolean $keep_post= false, integer $max_page_links= 5, \?array $_selectors= null, \ID_TEXT $hash= '') : \Tempcode
| package | core_abstract_interfaces |
|---|
\TempcodeThe title/name of the resource we are browsing through
integerThe current position in the browser
\ID_TEXTThe parameter name used to store our position in the results (usually, 'start')
integerThe maximum number of rows to show per browser page
\ID_TEXTThe parameter name used to store the total number of results to show per-page (usually, 'max')
integerThe maximum number of rows in the entire dataset
booleanWhether to keep post data when browsing through
integerThe maximum number of quick-jump page-links to show
\?arrayList of per-page selectors to show (null: show hard-coded ones)
\ID_TEXTHash component to URL
\TempcodeThe results browserresults_entry(array $values, boolean $auto_escape, \?string $tplset= null, string $guid= '9e340dd14173c7320b57243d607718ab') : \Tempcode
| package | core_abstract_interfaces |
|---|
arrayThe array of values that make up this entry (of Tempcode or string, or mixture)
booleanWhether to automatically escape each entry so that it cannot contain HTML
\?stringThe template set to use (null: default)
stringGUID to pass to template
\TempcodeThe generated entryresults_field_title(array $values, \?array $sortables= null, \ID_TEXT $order_param= 'sort', \ID_TEXT $current_ordering= '', string $guid= 'fbcaf8b021e3939bfce1dce9ff8ed63a') : \Tempcode
| package | core_abstract_interfaces |
|---|
arrayThe array of field titles that define the entries in the results table
\?arrayA map of sortable code (usually, db field names), to strings giving the human name for the sort order (null: no sortables)
\ID_TEXTThe parameter name used to store our sortable
\ID_TEXTThe current ordering ("$sortable $sort_order")
stringGUID to pass to template
\TempcodeThe generated titleresults_launcher(\Tempcode $title, \ID_TEXT $page, \AUTO_LINK $category_id, integer $max, integer $max_rows, \ID_TEXT $type, integer $max_page_links = 5) : \Tempcode
| package | core_abstract_interfaces |
|---|
\TempcodeThe title/name of the resource we are browsing through
\ID_TEXTThe page name we are launching into
\AUTO_LINKThe category ID we are browsing in
integerThe maximum number of rows to show per browser page
integerThe maximum number of rows in the entire dataset
\ID_TEXTThe page type this browser is browsing through (e.g. 'category')
integerThe maximum number of quick-jump page-links to show
\TempcodeThe results launcherresults_sorter(\?array $sortables, \?ID_TEXT $sortable= null, \?ID_TEXT $sort_order= null, \?ID_TEXT $sort_name= 'sort', \?ID_TEXT $hash= '') : \Tempcode
| package | core_abstract_interfaces |
|---|---|
| set | ASC DESC |
\?arrayA map of sortable code (usually, db field names), to strings giving the human name for the sort order (null: no sortables)
\?ID_TEXTThe current sortable (null: none)
\?ID_TEXTThe order we are sorting in (null: none)
\?ID_TEXTThe parameter name used to store our sortable (usually 'sort') (null: none)
\?ID_TEXTURL hash component (null: none)
\TempcodeThe results sorterresults_table(mixed $text_id, integer $start, \ID_TEXT $start_name, integer $max, \ID_TEXT $max_name, integer $max_rows, \Tempcode $fields_title, \Tempcode $fields, \?array $sortables= null, \?ID_TEXT $sortable= null, \?ID_TEXT $sort_order= null, \?ID_TEXT $sort_name= 'sort', \?Tempcode $message= null, \?array $widths= null, \?string $tplset= null, integer $max_page_links= 8, string $guid= '1c8645bc2a3ff5bec2e003142185561f', boolean $skip_sortables_form= false, \?ID_TEXT $hash= null) : \Tempcode
| package | core_abstract_interfaces |
|---|---|
| set | ASC DESC |
mixedSome text/word describing what is being browsed (Tempcode or string)
integerThe result number our table starts at (x of n)
\ID_TEXTThe parameter name used to store our position in the results (usually, 'start')
integerThe total number of results to show per-page
\ID_TEXTThe parameter name used to store the total number of results to show per-page (usually, 'max')
integerThe maximum number of rows in the entire dataset
\TempcodeThe titles of the fields we are showing in our table, presented in preprepared Tempcode
\TempcodeThe values of the fields we are showing in our table
\?arrayA map of sortable code (usually, db field names), to strings giving the human name for the sort order (null: no sortables)
\?ID_TEXTThe current sortable (null: none)
\?ID_TEXTThe order we are sorting in (null: none)
\?ID_TEXTThe parameter name used to store our sortable (usually 'sort') (null: none)
\?TempcodeMessage to show (null: auto)
\?arrayWidths to specify to the table (null: none sent)
\?stringThe template set to use (null: default)
integerThe maximum number of quick-jump page-links to show
stringGUID to pass to template
booleanWhether to skip showing a sort form (useful if there is another form wrapped around this)
\?ID_TEXTURL hash component (null: none)
\TempcodeThe results tabletpl_crop_text_mouse_over(string $text, integer $len) : \Tempcode
| package | core_abstract_interfaces |
|---|
stringThe text
integerThe length to crop at
\TempcodeThe cropped text