CRUD module (Create/Update/Delete), for operations on content types.
| package | core |
|---|
__edit() : \Tempcode
\TempcodeThe UI_add() : \Tempcode
\TempcodeThe UI_edit() : \Tempcode
\TempcodeThe UIadd() : \Tempcode
\TempcodeThe UIchoose_catalogue(\Tempcode $title) : \?Tempcode
\TempcodeThe get_screen_title converted title for this page
\?TempcodeThe Tempcode for the catalogue chooser (null: already chosen)choose_feedback_fields_statistically(\?BINARY $allow_rating, \?SHORT_INTEGER $allow_comments, \?BINARY $allow_trackbacks) : array
\?BINARYWhether rating is allowed (null: decide statistically, based on existing choices)
\?SHORT_INTEGERWhether comments are allowed (0=no, 1=yes, 2=review style) (null: decide statistically, based on existing choices)
\?BINARYWhether trackbacks are allowed (null: decide statistically, based on existing choices)
arrayArray of all input parameters, convertedcreate_selection_list_entries() : \Tempcode
\TempcodeThe selection listdo_next_manager(\Tempcode $title, \Tempcode $description, \?ID_TEXT $id) : \Tempcode
\TempcodeThe title (output of get_screen_title)
\TempcodeSome description to show, saying what happened
\?ID_TEXTThe ID of whatever we are working with (null: deleted)
\TempcodeThe UIedit() : \Tempcode
\TempcodeThe UIget_entry_points(boolean $check_perms= true, \?MEMBER $member_id= null, boolean $support_crosslinks= true, boolean $be_deferential= false) : \?array
booleanWhether to check permissions.
\?MEMBERThe member to check permissions as (null: current user).
booleanWhether to allow cross links to other modules (identifiable via a full-page-link rather than a screen-name).
booleanWhether to avoid any entry-point (or even return NULL to disable the page in the Sitemap) if we know another module, or page_group, is going to link to that entry-point. Note that "!" and "browse" entry points are automatically merged with container page nodes (likely called by page-groupings) as appropriate.
\?arrayA map of entry points (screen-name=>language-code/string or screen-name=>[language-code/string, icon-theme-image]) (null: disabled).get_entry_rows(boolean $recache= false, \?ID_TEXT $orderer= null, \?array $where= null, boolean $force_site_db= false, string $join= '') : array
booleanWhether to force a recache
\?ID_TEXTOrder to use (null: automatic)
\?arrayExtra where clauses (null: none)
booleanWhether to always access using the site database
stringExtra join clause for our query (blank: none)
arrayA pair: Rows for selection from, Total resultshandle_confirmations(\Tempcode $title) : \?Tempcode
\TempcodeThe page title for what's being done
\?TempcodeThe confirmation UI (null: all is clear - no confirmation needed)has_tied_catalogue() : boolean
booleanWhether it hasinfo() : \?array
\?arrayMap of module info (null: module is disabled).mass_delete(boolean $top_level = true) : \?Tempcode
booleanWhether this is a top level mass delete op (i.e. not a recursion)
\?TempcodeThe UI (null: not top level)pre_run(boolean $top_level= true, \?ID_TEXT $type= null) : \?Tempcode
booleanWhether this is running at the top level, prior to having sub-objects called.
\?ID_TEXTThe screen type to consider for metadata purposes (null: read from environment).
\?TempcodeTempcode indicating some kind of exceptional output (null: none).preview_intercept(\Tempcode $title) : \Tempcode
\TempcodeThe page title
\TempcodeThe UIrun() : \Tempcode
\TempcodeThe result of execution.get_screen_type_for(string $type_code, string $stub) : string
stringGeneral-purpose screen type code (e.g. 'add')
stringType code for current flow (e.g. '' or 'category')
stringComplete screen type code$add_one_cat_label
null$add_one_label
null$add_submit_name
null$add_text
''$alt_crud_module
null$appended_actions_already
false$archive_entry_point
null$archive_label
null$array_key
'id'$cached_entry_rows
null$cached_max_rows
null$care_please
true$cat_crud_module
null$catalogue
false$categories_title
null$check_validation
true$code_require
null$content_type
null$default_type
null$do_next_description
null$do_next_editing_categories
false$do_preview
true$doing
$donext_category_id
null$donext_type
null$edit_keep_validation
false$edit_one_cat_label
null$edit_one_label
null$edit_submit_name
null$edit_text
''$edit_this_cat_label
null$edit_this_label
null$entries_title
null$extra_donext_categories
null$extra_donext_entries
null$extra_donext_whatever
null$extra_donext_whatever_title
null$form_id
'selection_table'$javascript
null$javascript_for_choose
null$javascript_require
null$lang_type
null$module_type
$new_id
null$no_blank_ids
true$non_integer_id
false$orderer
null$orderer_is_multi_lang
null$organisation
'ocProducts'$output_of_action_is_confirmation
false$possibly_some_kind_of_upload
false$posting_field_required
true$posting_form_tabindex
null$posting_form_text
''$posting_form_text_parsed
null$posting_form_title
null$privilege_page
null$privilege_page_name
null$protect_first
0$redirect_type
null$second_stage_preview
false$select_name
null$select_name_description
null$send_validation_request
true$skip_webstandards
false$special_edit_frontend
false$supports_mass_delete
false$table
null$table_prefix
''$title
$title_is_multi_lang
true$type_code
''$upload
null$user_facing
false$view_entry_point
null$view_label
null