add_spellchecker_words
alternate_fields_set__end
alternate_fields_set__start
attach_wysiwyg
build_preview
check_suhosin_request_quantity
check_suhosin_request_size
find_words
form_input_all_and_not
form_input_author
form_input_codename
form_input_colour
form_input_combo
form_input_date
form_input_date__scheduler
form_input_dimensions
form_input_email
form_input_float
form_input_huge
form_input_huge_comcode
form_input_huge_list
form_input_integer
form_input_line
form_input_line_comcode
form_input_line_multi
form_input_list
form_input_multi_list
form_input_na
form_input_page_link
form_input_password
form_input_radio
form_input_radio_entry
form_input_text
form_input_text_comcode
form_input_text_multi
form_input_theme_image
form_input_tick
form_input_tree_list
form_input_upload
form_input_upload_multi
form_input_upload_multi_source
form_input_url
form_input_username
form_input_username_multi
form_input_various_ticks
get_attachments
get_comcode_editor
get_field_restrict_property
get_form_field_tabindex
get_posting_form
handle_conflict_resolution
handle_max_file_size
read_multi_code
run_spellcheck
single_field__end
single_field__start
sl_get_custom_file_base
spell_correct_phrase
take_param_int_modeavg
url_default_parameters__disable
url_default_parameters__enable
wysiwyg_on
WORD_REGEXP
add_spellchecker_words(array $words)
alternate_fields_set__end(\ID_TEXT $set_name, mixed $pretty_name, mixed $description, \Tempcode $fields, boolean $required, \?URLPATH $existing_image_preview_url= null
, boolean $raw= false
) : \Tempcode
package | core_form_interfaces |
---|
\ID_TEXT
The codename for this field set (blank: just collect raw fields, no actual field set)
mixed
The human-readable name for this field set
mixed
The human-readable description for this field set
\Tempcode
The field set Tempcode
boolean
Whether it is required that this field set be filled in
\?URLPATH
Image URL to show, of the existing selection for this field (null: N/A) (blank: N/A)
boolean
Whether we just want the raw set contents, without any wrapper field row
\Tempcode
The field setalternate_fields_set__start(\ID_TEXT $set_name) : \Tempcode
IMPORTANT: Note that this function uses global state -- any fields generated between alternate_fields_setstart and alternate_fields_setend will be rendered using field set templating.
package | core_form_interfaces |
---|
\ID_TEXT
The codename for this field set
\Tempcode
Tempcode to start attaching the field set tobuild_preview(boolean $multi_return = false
) : mixed
package | core_form_interfaces |
---|
boolean
Whether to return additional data
mixed
Either Tempcode for the preview, or a tuple of detailscheck_suhosin_request_quantity(integer $inc= 1
, integer $name_length= 0
)
package | core_form_interfaces |
---|
integer
How much to increment the counter by
integer
The name length being checked
check_suhosin_request_size(integer $size)
package | core_form_interfaces |
---|
integer
Most determinitve size within wider request size (we'll assume we actually need 500 more bytes than this)
find_words(string $text) : array
package | core_form_interfaces |
---|
string
Text to scan for words in (should be plain text, not be HTML text)
array
List of wordsform_input_all_and_not(mixed $pretty_name, mixed $description, string $base, \Tempcode $list, string $type= '+'
, \?integer $tabindex= null
) : \Tempcode
package | core_form_interfaces |
---|---|
set | + - * |
mixed
A human intelligible name for this input field
mixed
A description for this input field
string
The base name which this input field is for
\Tempcode
A list culmulation to select against
string
The current type of partial selection
\?integer
The tab index of the field (null: not specified)
\Tempcode
The input fieldform_input_codename(mixed $pretty_name, mixed $description, \ID_TEXT $name, \?string $default, boolean $required, \?integer $tabindex= null
, \?integer $_maxlength= null
, \?array $extra_chars= null
, \?string $placeholder= null
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The name which this input field is for
\?string
The default value for this input field (null: blank)
boolean
Whether this is a required input field
\?integer
The tab index of the field (null: not specified)
\?integer
The maximum length of the field (null: default 80)
\?array
List of extra characters to allow (null: none)
\?string
The placeholder value for this input field (null: none)
\Tempcode
The input fieldform_input_colour(mixed $pretty_name, mixed $description, \ID_TEXT $name, \?string $default, boolean $required, \?integer $tabindex = null
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The name which this input field is for
\?string
The default value for this input field (null: blank)
boolean
Whether this is a required input field
\?integer
The tab index of the field (null: not specified)
\Tempcode
The input fieldform_input_combo(mixed $pretty_name, mixed $description, \ID_TEXT $name, string $default, \Tempcode $options, \?integer $tabindex= null
, boolean $required= true
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The name which this input field is for
string
Current selection
\Tempcode
The list entries for our list
\?integer
The tab index of the field (null: not specified)
boolean
Whether this is required
\Tempcode
The input fieldform_input_date(mixed $pretty_name, mixed $description, \ID_TEXT $name, boolean $required, boolean $null_default, boolean $do_time, \?mixed $default_time= null
, \?integer $total_years_to_show= 10
, \?integer $year_start= null
, \?integer $tabindex= null
, boolean $do_date= true
, \?ID_TEXT $timezone= null
, boolean $handle_timezone= true
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The parameter name for this input field
boolean
Whether this is not a required field
boolean
Whether this field is empty by default
boolean
Whether to input time for this field also
\?mixed
The default timestamp to use (either TIME or array of time components) (null: now)
\?integer
The number of years to allow selection from (pass a negative number for selection of past years instead of future years) (null: no limit)
\?integer
The year to start from (null: this year)
\?integer
The tab index of the field (null: not specified)
boolean
Whether to input date for this field (if false, will just do time)
\?ID_TEXT
Timezone to input in (null: current user's timezone)
boolean
Convert $default_time to $timezone
\Tempcode
The input fieldform_input_date__scheduler(mixed $pretty_name, mixed $description, \ID_TEXT $name, boolean $required, boolean $null_default, boolean $do_time, \?mixed $default_time= null
, integer $total_years_to_show= 10
, \?integer $year_start= null
, \?integer $tabindex= null
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The parameter name for this input field
boolean
Whether this is a required field
boolean
Whether this field is empty by default
boolean
Whether to input time for this field also
\?mixed
The default timestamp to use (either TIME or array of time components) (null: now)
integer
The number of years to allow selection from (all into the future, as this field type is not meant for inputting past dates)
\?integer
The year to start from (null: this year)
\?integer
The tab index of the field (null: not specified)
\Tempcode
The input fieldform_input_dimensions(mixed $pretty_name, mixed $description, \ID_TEXT $name_width, \ID_TEXT $name_height, \?integer $default_width, \?integer $default_height, boolean $required, \?integer $tabindex = null
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The name which this input field is for: width part
\ID_TEXT
The name which this input field is for: height part
\?integer
The default value for this input field: width part (null: no default)
\?integer
The default value for this input field: height part (null: no default)
boolean
Whether this is a required input field
\?integer
The tab index of the field (null: not specified)
\Tempcode
The input fieldform_input_email(mixed $pretty_name, mixed $description, \ID_TEXT $name, \?string $default, boolean $required, \?integer $tabindex = null
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The name which this input field is for
\?string
The default value for this input field (null: blank)
boolean
Whether this is a required input field
\?integer
The tab index of the field (null: not specified)
\Tempcode
The input fieldform_input_float(mixed $pretty_name, mixed $description, \ID_TEXT $name, \?float $default, boolean $required, \?integer $tabindex = null
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The name which this input field is for
\?float
The default value for this input field (null: no default)
boolean
Whether this is a required input field
\?integer
The tab index of the field (null: not specified)
\Tempcode
The input fieldform_input_huge(mixed $pretty_name, mixed $description, \ID_TEXT $name, string $default, boolean $required, \?integer $tabindex= null
, integer $rows= 20
, mixed $description_side= ''
, boolean $scrolls= false
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The name which this input field is for
string
The default value for this input field
boolean
Whether this is a required input field
\?integer
The tab index of the field (null: not specified)
integer
The number of rows to use
mixed
A secondary side description for this input field
boolean
Whether the field scrolls
\Tempcode
The input fieldform_input_huge_comcode(mixed $pretty_name, mixed $description, \ID_TEXT $name, string $default, boolean $required, \?integer $tabindex= null
, integer $rows= 20
, mixed $description_side= ''
, \?Tempcode $default_parsed= null
, boolean $scrolls= false
, boolean $force_non_wysiwyg= false
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The name which this input field is for
string
The default value for this input field
boolean
Whether this is a required input field
\?integer
The tab index of the field (null: not specified)
integer
The number of rows to use
mixed
A secondary side description for this input field
\?Tempcode
The parsed Comcode. (null: calculate)
boolean
Whether the field scrolls
boolean
Force non-WYSIWYG and non default-Comcode parsing
\Tempcode
The input fieldform_input_huge_list(mixed $pretty_name, mixed $description, \ID_TEXT $name, \Tempcode $content, \?integer $tabindex= null
, boolean $inline_list= false
, boolean $required= true
, \?integer $size= null
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The name which this input field is for
\Tempcode
The list entries for our list
\?integer
The tab index of the field (null: not specified)
boolean
Whether this is an inline displayed list as opposed to a dropdown
boolean
Whether this is required
\?integer
Size of list (null: default)
\Tempcode
The input fieldform_input_integer(mixed $pretty_name, mixed $description, \ID_TEXT $name, \?integer $default, boolean $required, \?integer $tabindex = null
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The name which this input field is for
\?integer
The default value for this input field (null: no default)
boolean
Whether this is a required input field
\?integer
The tab index of the field (null: not specified)
\Tempcode
The input fieldform_input_line(mixed $pretty_name, mixed $description, \ID_TEXT $name, \?string $default, boolean $required, \?integer $tabindex= null
, \?integer $_maxlength= null
, string $type= 'text'
, \?string $placeholder= null
, \?string $pattern= null
, \?string $pattern_error= null
) : \Tempcode
.. />).
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The name which this input field is for
\?string
The default value for this input field (null: blank)
boolean
Whether this is a required input field
\?integer
The tab index of the field (null: not specified)
\?integer
The maximum length of the field (null: default 255)
string
The input type
\?string
The placeholder value for this input field (null: none)
\?string
Custom regex pattern (null: none)
\?string
Custom regex pattern validation error (null: none)
\Tempcode
The input fieldform_input_line_comcode(mixed $pretty_name, mixed $description, \ID_TEXT $name, \?string $default, boolean $required, \?integer $tabindex = null
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The name which this input field is for
\?string
The default value for this input field (null: blank)
boolean
Whether this is a required input field
\?integer
The tab index of the field (null: not specified)
\Tempcode
The input fieldform_input_line_multi(mixed $pretty_name, mixed $description, \ID_TEXT $name, array $default_array, integer $num_required, \?integer $tabindex= null
, string $class= 'line'
, \?string $pattern= null
, \?string $pattern_error= null
) : \Tempcode
package | core_form_interfaces |
---|---|
set | line email |
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The base parameter name which this input field is for (as this takes multiple parameters, they are named
array
An array of lines to use as default (at least this many lines, filled by this array, will be presented by default)
integer
The minimum number of inputs allowed.
\?integer
The tab index of the field (null: not specified)
string
CSS class for input.
\?string
Custom regex pattern (null: none)
\?string
Custom regex pattern validation error (null: none)
\Tempcode
The input fieldform_input_list(mixed $pretty_name, mixed $description, \ID_TEXT $name, \Tempcode $content, \?integer $tabindex= null
, boolean $inline_list= false
, boolean $required= true
, \?array $images= null
, integer $size= 5
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The name which this input field is for
\Tempcode
The list entries for our list
\?integer
The tab index of the field (null: not specified)
boolean
Whether this is an inline displayed list as opposed to a dropdown
boolean
Whether this is required
\?array
List of theme images that $content is allowing selection of (so that we can show the images within the list, if JS is enabled) (null: none)
integer
How much space the list takes up (inline lists only)
\Tempcode
The input fieldform_input_multi_list(mixed $pretty_name, mixed $description, \ID_TEXT $name, \Tempcode $content, \?integer $tabindex= null
, integer $size= 5
, boolean $required= false
, \?ID_TEXT $custom_name= null
, \?mixed $custom_value= null
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The name which this input field is for
\Tempcode
The list entries for our list
\?integer
The tab index of the field (null: not specified)
integer
How much space the list takes up
boolean
Whether at least one must be selected
\?ID_TEXT
Name for custom value to be entered to (null: no custom value allowed)
\?mixed
Value for custom value, string (accept single value) or array (accept multiple values) (null: no custom value known)
\Tempcode
The input fieldform_input_na(mixed $pretty_name, \?integer $tabindex = null
) : \Tempcode
package | core_form_interfaces |
---|
mixed
The human-readable name for this field
\?integer
The tab index (null: none specified)
\Tempcode
The fieldform_input_page_link(mixed $pretty_name, mixed $description, \ID_TEXT $name, \?string $default, boolean $required, \?integer $tabindex= null
, \?ID_TEXT $page_type= null
, boolean $get_title_too= false
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The name which this input field is for
\?string
The default value for this input field (null: blank)
boolean
Whether this is a required input field
\?integer
The tab index of the field (null: not specified)
\?ID_TEXT
Page type to show (null: all)
boolean
Whether to also get the title for the page
\Tempcode
The input fieldform_input_password(mixed $pretty_name, mixed $description, \ID_TEXT $name, boolean $required, \?integer $tabindex= null
, string $default= ''
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The name which this input field is for
boolean
Whether this is a required input field
\?integer
The tab index of the field (null: not specified)
string
The default value for this input field
\Tempcode
The input fieldform_input_radio(mixed $pretty_name, mixed $description, \ID_TEXT $name, \Tempcode $content, boolean $required= false
, boolean $picture_contents= false
, string $selected_path= ''
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The name which this input field is for
\Tempcode
The radio buttons for our radio group
boolean
Whether a radio selection is required
boolean
Whether this is a picture-based radio list
string
Default value (only appropriate if has picture contents)
\Tempcode
The input fieldform_input_radio_entry(string $name, string $value, boolean $selected= false
, mixed $text= ''
, \?integer $tabindex= null
, mixed $description= ''
) : \Tempcode
package | core_form_interfaces |
---|
string
The name of the radio button group this will be put in (i.e. the name the value presented here will be possibly matched against)
string
The value for this entry
boolean
Whether this entry is selected by default or not
mixed
The text associated with this choice (blank: just use value for text)
\?integer
The tab index of the field (null: not specified)
mixed
An additional long description (blank: no description)
\Tempcode
The input fieldform_input_text(mixed $pretty_name, mixed $description, \ID_TEXT $name, string $default, boolean $required, \?integer $tabindex= null
, boolean $scrolls= false
, \?integer $maxlength= null
, \?integer $rows= null
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The name which this input field is for
string
The default value for this input field
boolean
Whether this is a required input field
\?integer
The tab index of the field (null: not specified)
boolean
Whether the field scrolls
\?integer
The maximum length of the field (null: unlimited)
\?integer
Number of rows for text input (null: default)
\Tempcode
The input fieldform_input_text_comcode(mixed $pretty_name, mixed $description, \ID_TEXT $name, string $default, boolean $required, \?integer $tabindex= null
, boolean $force_non_wysiwyg= false
, mixed $description_side= ''
, \?Tempcode $default_parsed= null
, boolean $scrolls= false
, \?integer $rows= null
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The name which this input field is for
string
The default value for this input field
boolean
Whether this is a required input field
\?integer
The tab index of the field (null: not specified)
boolean
Force non-WYSIWYG and non default-Comcode parsing
mixed
A secondary side description for this input field
\?Tempcode
The parsed Comcode. (null: calculate)
boolean
Whether the field scrolls
\?integer
Number of rows for text input (null: default)
\Tempcode
The input fieldform_input_text_multi(mixed $pretty_name, mixed $description, \ID_TEXT $name, array $default_array, integer $num_required, \?integer $tabindex= null
, \?integer $maxlength= null
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The base parameter name which this input field is for (as this takes multiple parameters, they are named
array
An array of texts to use as default (at least this many textareas, filled by this array, will be presented by default)
integer
The minimum number of textareas allowed.
\?integer
The tab index of the field (null: not specified)
\?integer
The maximum length of the field (null: unlimited)
\Tempcode
The input fieldform_input_theme_image(mixed $pretty_name, mixed $description, \ID_TEXT $name, array $ids, \?URLPATH $selected_url= null
, \?string $selected_code= null
, \?integer $tabindex= null
, boolean $allow_none= false
, \?object $db= null
, \?ID_TEXT $theme= null
, \?ID_TEXT $lang= null
, boolean $linear= false
, boolean $direct_titles= false
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The name which this input field is for
array
A list of image IDs (codes) we can choose from, probably found via get_all_image_ids_type
\?URLPATH
The currently selected entry in our picture choosing, by URL (null: none)
\?string
The currently selected entry in our picture choosing, by code (null: none)
\?integer
The tab index of the field (null: not specified)
boolean
Whether to allow the selection of 'no' picture
\?object
The database connection to the Conversr install we are choosing images from (null: site db)
\?ID_TEXT
Theme to use (null: current theme)
\?ID_TEXT
Language to use (null: current language)
boolean
Whether choices are presented in a list (as opposed to a grid); useful when sizes are irregular
boolean
Whether to show direct codenames, rather than trying to prettify them into titles
\Tempcode
The input fieldform_input_tick(mixed $pretty_name, mixed $description, \ID_TEXT $name, boolean $ticked, \?integer $tabindex= null
, \ID_TEXT $value= '1'
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The name which this input field is for
boolean
Whether this is ticked by default
\?integer
The tab index of the field (null: not specified)
\ID_TEXT
The value the checkbox passes when ticked
\Tempcode
The input fieldform_input_tree_list(mixed $pretty_name, mixed $description, \ID_TEXT $name, \?ID_TEXT $root_id, string $hook, array $options, boolean $required, \?string $default= null
, boolean $use_server_id= false
, \?integer $tabindex= null
, boolean $multi_select= false
, \?string $nice_label= null
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The name which this input field is for
\?ID_TEXT
The ID to do under (null: root)
string
The ajax tree-list hook that drives our data
array
A map of special options
boolean
Whether this is a required input field
\?string
The default value for the field (null: none)
boolean
Whether to use the server-ID in the list instead of the ID in the list
\?integer
The tab index of the field (null: not specified)
boolean
Whether multiple selections are allowed
\?string
Label for default value (null: just use the literal)
\Tempcode
The input fieldform_input_upload(mixed $pretty_name, mixed $description, \ID_TEXT $name, boolean $required, \?string $default= null
, \?integer $tabindex= null
, boolean $plupload= true
, string $filter= ''
, \?string $syndication_json= null
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The name which this input field is for
boolean
Whether this is a required input field. Set this to false if you are using this field on an edit form and already have an uploaded file -- therefore you'd know no new file would mean not to replace the existing file
\?string
The default value for the field (null: none) (blank: none). Should only be passed if $required is false, because it creates a delete button for the existing file, implying that leaving it with no file is valid
\?integer
The tab index of the field (null: not specified)
boolean
Whether plupload-style is preferred
string
File-type filter to limit to, comma-separated file extensions (might not be supported)
\?string
JSON structure of what uploader syndications there will be (null: none)
\Tempcode
The input fieldform_input_upload_multi(mixed $pretty_name, mixed $description, string $name, boolean $required, \?integer $tabindex= null
, \?array $default= null
, boolean $plupload= true
, string $filter= ''
, \?string $syndication_json= null
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
string
The base name which this input field is for
boolean
Whether this is a required input field
\?integer
The tab index of the field (null: not specified)
\?array
The default value for the field (null: none)
boolean
Whether plupload-style is preferred
string
File-type filter to limit to, comma-separated file extensions (might not be supported)
\?string
JSON structure of what uploader syndications there will be (null: none)
\Tempcode
The input fieldform_input_upload_multi_source(mixed $set_title, mixed $set_description, \Tempcode $hidden, \ID_TEXT $set_name= 'image'
, \?ID_TEXT $theme_image_type= null
, boolean $required= true
, \?string $default= null
, boolean $support_syndication= false
, \?string $filter= null
, boolean $images_only= true
) : \Tempcode
Mainly for images, used with post_param_image or post_param_multi_source_upload.
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\Tempcode
A reference to where we're putting hidden fields
\ID_TEXT
The name which this input field is for (actually, this is a prefix put in front of different input types).
\?ID_TEXT
The directory of theme images to provide selection from (null: do not support theme images)
boolean
Whether this is a required input field. Set this to false if you are using this field on an edit form and already have an uploaded file -- therefore you'd know no new file would mean not to replace the existing file
\?string
The default value for the field (null: none) (blank: none). Should only be passed if $required is false, because it creates a delete button for the existing file, implying that leaving it with no file is valid
boolean
Whether to syndicate the file off
\?string
File type filter (null: autodetect)
boolean
Whether to accept images only
\Tempcode
The input fieldform_input_url(mixed $pretty_name, mixed $description, \ID_TEXT $name, \?string $default, boolean $required, \?integer $tabindex = null
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The name which this input field is for
\?string
The default value for this input field (null: blank)
boolean
Whether this is a required input field
\?integer
The tab index of the field (null: not specified)
\Tempcode
The input fieldform_input_username(mixed $pretty_name, mixed $description, \ID_TEXT $name, \?string $default, boolean $required, boolean $needs_match= true
, \?integer $tabindex= null
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The name which this input field is for
\?string
The default value for this input field (null: blank)
boolean
Whether this is a required input field
boolean
Whether it is required than a valid username is given
\?integer
The tab index of the field (null: not specified)
\Tempcode
The input fieldform_input_username_multi(mixed $pretty_name, mixed $description, \ID_TEXT $name, array $default_array, integer $num_required, boolean $needs_match= true
, \?integer $tabindex= null
) : \Tempcode
package | core_form_interfaces |
---|
mixed
A human intelligible name for this input field
mixed
A description for this input field
\ID_TEXT
The base parameter name which this input field is for (as this takes multiple parameters, they are named
array
An array of lines to use as default (at least this many lines, filled by this array, will be presented by default)
integer
The minimum number of inputs allowed
boolean
Whether this is a required input field
\?integer
The tab index of the field (null: not specified)
\Tempcode
The input fieldform_input_various_ticks(array $options, mixed $description, \?integer $_tabindex= null
, mixed $_pretty_name= ''
, boolean $simple_style= false
, \?ID_TEXT $custom_name= null
, \?mixed $custom_value= null
) : \Tempcode
package | core_form_interfaces |
---|
array
A list of tuples: (prettyname, name, value, description)
mixed
A description for this input field
\?integer
The tab index of the field (null: not specified)
mixed
A human intelligible name for this input field (blank: use default)
boolean
Whether to place each tick on a new line
\?ID_TEXT
Name for custom value to be entered to (null: no custom value allowed)
\?mixed
Value for custom value, string (accept single value) or array (accept multiple values) (null: no custom value known)
\Tempcode
The input fieldget_comcode_editor(string $field_name= 'post'
, boolean $cut_down= false
) : \Tempcode
package | core_form_interfaces |
---|
string
The name of the field the editor is working for
boolean
Whether to make a cut-down version
\Tempcode
The Comcode editorget_field_restrict_property(string $property, string $field, \?string $page= null
, \?string $type= null
) : \?string
package | core_form_interfaces |
---|
string
The name of the property
string
The name of the field it's scoped for
\?string
The page name scoped for (null: current page)
\?string
The page type scoped for (null: current type)
\?string
The property (null: non-existent)get_form_field_tabindex(\?integer $tabindex = null
) : integer
package | core_form_interfaces |
---|
\?integer
Requested tab-index (null: no specific request)
integer
Used tab-indexget_posting_form(mixed $submit_name, \ID_TEXT $submit_icon, \LONG_TEXT $post, mixed $post_url, \Tempcode $hidden_fields, \Tempcode $specialisation, \?mixed $post_comment= null
, string $extra= ''
, \?Tempcode $specialisation2= null
, \?Tempcode $default_parsed= null
, \?string $javascript= null
, \?integer $tabindex= null
, boolean $required= true
, boolean $has_preview= true
, boolean $avoid_wysiwyg= false
, boolean $support_autosave= true
, boolean $specialisation2_hidden= false
) : \Tempcode
package | core_form_interfaces |
---|
mixed
The title of the form submission button
\ID_TEXT
The submit icon CSS class.
\LONG_TEXT
The default post to put in.
mixed
Where the form is sent (URLPATH or Tempcode).
\Tempcode
A form_input_hidden buildup of hidden fields (additional parameters sent to the target URL).
\Tempcode
A buildup of leading extra fields, in a format compatible with the templates used by this function.
\?mixed
The post comment (string or Tempcode). This gives information about how you should post. (null: no post comment)
string
Extra info to put on the posting form
\?Tempcode
A buildup of trailing extra fields, in a format compatible with the templates used by this function. (null: none)
\?Tempcode
The parsed Comcode. (null: calculate)
\?string
JavaScript code to include (null: none)
\?integer
The tab index of the field (null: not specified)
boolean
Whether this is a required input field
boolean
Whether the form supports previewing
boolean
Whether to avoid WYSIWYG mode
boolean
Whether to support auto-save
boolean
Whether to support auto-save
\Tempcode
The posting formhandle_conflict_resolution(\?ID_TEXT $id= null
, boolean $only_staff= false
) : array
package | core_form_interfaces |
---|
\?ID_TEXT
The ID we're editing (null: get from param, 'id')
boolean
Whether to only care about staff conflicts
array
A pair: warning details, ping urlhandle_max_file_size(\Tempcode $hidden, \ID_TEXT $regular_max_size_type = 'file'
)
package | core_form_interfaces |
---|---|
set | image file |
\Tempcode
Hidden fields
\ID_TEXT
Code representing the media types we are using limits for
read_multi_code(\ID_TEXT $param) : \SHORT_TEXT
package | core_form_interfaces |
---|
\ID_TEXT
The parameter stub (stub of a series of POST parameters, made by cns_get_forum_multi_code_field's field or similar).
\SHORT_TEXT
The multi code.run_spellcheck(string $text, \?ID_TEXT $lang= null
, boolean $skip_known_words_in_db= true
) : array
package | core_form_interfaces |
---|
string
Text to scan for words in (should be plain text, not be HTML text)
\?ID_TEXT
Language to check in (null: current language)
boolean
Whether to avoid spellchecking known keywords etc
array
A map of misspellings, lower case bad word => array of correctionssingle_field__start()
package | core_form_interfaces |
---|
sl_get_custom_file_base() : string
spell_correct_phrase(string $text) : string
take_param_int_modeavg(integer $setting, \ID_TEXT $db_property, \ID_TEXT $table, integer $default) : integer
package | core_form_interfaces |
---|
integer
The current setting (null: we have to work it out); if non-null, the function will immediately return
\ID_TEXT
The property
\ID_TEXT
The table to average within
integer
The last-resort default
integer
The valueurl_default_parameters__disable()
package | core_form_interfaces |
---|
url_default_parameters__enable()
package | core_form_interfaces |
---|
wysiwyg_on() : boolean
WORD_REGEXP = '#([\w\'\-]{1,200})#' . (get_charset() == 'utf-8' ? 'u' : '')
package | core_form_interfaces |
---|