-
$accept_charsets
-
Accept-charset attributes - comma-delimited list
-
$action
-
Action attribute
-
$autocomplete
-
If false, disable autocomplete on this field. Mainly used with
-
add
-
Adds a form element object to the form. This is usually an object you have previously created eg. with new form_textfield(...) etc.
-
additem
-
Add a data item Adds a key=>value pair into the combo options collection.
-
add_annotation
-
Add annotation to the form Adds text content to the form in the field column. The text is added literally, so you can add in effects like <em>..</em> etc.
-
add_button
-
Add a button Adds a button element to the form.
-
add_fileuploadfields
-
Add file upload fields Special function to add repeated fileupload fields to the form.
-
add_querydata
-
Add ready-made data. Populates the combo field data from a pre-run query.
-
add_separator
-
Add form separator row
-
add_text
-
Add text to the form Adds text content to the form spanning both columns. The text is added literally, so you can add in effects like <em>..</em> etc.
-
as_displayonly
-
Returns current element as text, with associated hidden field.
-
as_hiddenfield
-
Returns current element as a hidden field.
-
$fontnames
-
The list of font families to allow user to choose from
-
$fontsizes
-
The list of font sizes to allow user to choose from
-
$force_readonly
-
Whether to force forma elements to be read-only
-
$format
-
Format specifier (WML)
-
$fullPage
-
if true then HTMLArea will retrieve the full HTML, starting
-
force_readonly
-
Force all of the contained fields to be rendered read-only
-
form
-
Constructor Create a form object. Sets basic form attributes.
-
form
-
Form class
-
form-defs.php
-
-
form_buttonfield
-
Button Field class This virtual class generates a standard form button field. This is a virtual class, used to provide a basis for real buttons. Do not instantiate this as an object - use the descendants instead.
-
form_buttonfield
-
Constructor Create a field object. Sets basic field attributes.
-
form_checkbox
-
Constructor Create a field object. Sets basic field attributes.
-
form_checkbox
-
Checkbox Field class A field which renders a checkbox form element.
-
form_combofield
-
Combo Field class A field for producing combo boxes (dropdown select menus) or multi-line list-boxes, either of which may be single-select or multiple select.
-
form_combofield
-
Constructor Create a field object. Sets basic field attributes.
-
form_displayonlyfield
-
Constructor Create a disply-only field object. Sets basic field attributes.
-
form_displayonlyfield
-
Displayonly Field class Extends the textfield class. This class renders a textfield as text rather than a textbox control. The form value is still submitted, but as a hidden field in the form..
-
form_field
-
Constructor Create a field object. Sets basic field attributes.
-
form_field
-
Form Field class Abstract field class, for deriving various form field types.
-
form_fileuploadfield
-
Constructor Create a field object. Sets basic field attributes.
-
form_fileuploadfield
-
File Upload Field class A field for uploading files to the webserver. If used with a 'form' object, the form will be automatically rendered with the proper encoding type by setting the 'enctype' in the form tag.
-
form_hiddenfield
-
Hidden Field class This class generates a hidden field.
-
form_hiddenfield
-
Constructor Create a hidden field object. Sets basic field attributes.
-
form_imagebutton
-
Image Button class This class generates a standard form image button field.
-
form_imagebutton
-
Constructor Create a field object. Sets basic field attributes.
-
form_imagefield
-
Image Field class This is a hybrid field. It is basically a text field where the value is expected to be the location of an image, either a real path to a file or a URI.
-
form_imagefield
-
Constructor Create a field object. Sets basic field attributes.
-
form_jumpmenu
-
Jumpmenu Field class A special case of combofield where we define key/value data made up of display-value and URL pairs.
-
form_jumpmenu
-
Constructor Create a field object. Sets basic field attributes.
-
form_labelfield
-
Label Field class This is just to display a bare value where the form element would normally be, and where we dont want to use a form_textfield in non-editable mode because we don't want the hidden field..
-
form_labelfield
-
Constructor Create a label field object. Sets basic field attributes.
-
form_memofield
-
Constructor Create a field object. Sets basic field attributes.
-
form_memofield
-
Memo Field class A field which renders a textarea form element. These are used to allow people to input large tracts of text by typing or copy/paste.
-
form_passwordfield
-
Constructor Create a field object. Sets basic field attributes.
-
form_passwordfield
-
Password Field class Password field element. Same as textfield, but masks user input.
-
form_radiobutton
-
Radio Button Field class A field which renders a radio form element.
-
form_radiobutton
-
Constructor Create a field object. Sets basic field attributes.
-
form_radiogroup
-
Constructor Create a field object. Sets basic field attributes.
-
form_radiogroup
-
Radio Group Field class A field which groups a set of radio form elements together.
-
form_resetbutton
-
Constructor Create a field object. Sets basic field attributes.
-
form_resetbutton
-
Reset Button class This class generates a standard form reset button field.
-
form_submitbutton
-
Constructor Create a field object. Sets basic field attributes.
-
form_submitbutton
-
Submit Button class This class generates a standard form submit button field.
-
form_tandemfield
-
Tandem Field class
-
form_tandemfield
-
Constructor Create a field object. Sets basic field attributes.
-
form_textfield
-
Text Field class. This class generates a text field.
-
form_textfield
-
Constructor Create a field object. Sets basic field attributes.
-
form_wysiwygfield
-
Constructor - create a wysiwyg form element..
-
form_wysiwygfield
-
Wysiwyg Field class A field which renders a textarea form element as a Wysiwyg editor.
-
F_CHECKBOX
-
Tickbox or checkbox
-
F_COMBO
-
Dropdown menu or listbox field
-
F_DATETIME
-
Date/time field
-
F_IMAGE
-
Text field containing image URL
-
F_MEMO
-
Textarea memo field
-
F_RADIO
-
Radio button
-
F_TEXT
-
General text field
-
$height
-
Height of HTMLarea element (default 'auto')
-
$htmlareaPaste
-
intercept ^V and use the HTMLArea paste command
-
$htmlRemoveTags
-
HTML tags to disallow (these have to be a regexp, or null
-
html
-
This renders the field as HTML.
-
html
-
This renders the form as HTML, including the form tags and every form element in the form.
-
html
-
This renders the field as HTML.
-
html
-
This renders the field as HTML.
-
html
-
This renders the field as HTML.
-
html
-
This renders the field as HTML.
-
html
-
Use render() to render this element in your page.
-
html
-
This renders the field as HTML.
-
html
-
This renders the field as HTML.
-
html
-
Use render() to render this element in your page.
-
html
-
This renders the field as HTML.
-
html
-
Renders the form button as HTML.
-
html
-
This renders the field as HTML.
-
html
-
This renders the field as HTML.
-
html
-
This renders the image button as HTML. If we have onclick then we render
-
html
-
This renders the field as HTML.
-
html
-
This renders the field as HTML.
-
htmlarea-defs.php
-
-
htmlarea_config
-
Constructor for new HTMLArea configuration object
-
htmlarea_config
-
A container class for configuration settings for the HTMLArea
-
htmlarea_plugins
-
Function to set plugins to be loaded. When you are using one of
-
$showlabels
-
Whether to render labels for fields
-
$sizeIncludesToolbar
-
the next parameter specifies whether the toolbar should
-
$statusBar
-
enable creation of a status bar? (default true)
-
$summaryfield
-
True if main field should be suppressed
-
setimage
-
Sets the image to display for this button.
-
setlabel
-
Set the label associated with the field
-
setvalue
-
Set the value of the field
-
set_blockformats
-
Set a new list of selectable block formats. The array should be an
-
set_confirm_text
-
Set the confirmation text to popup on click using Javascript.
-
set_displayonly
-
Set the field to be display-only (non-editable)
-
set_fieldwidth_pct
-
Set the proportion of the form taken up by the form field elements as opposed to the labels. This is specified as an integer which is the proportion as a percentage. Eg: 70 would be '70%'.
-
set_fontnames
-
Set a new list of selectable font families. This array should be an
-
set_fontsizes
-
Set a new list of selectable font sizes. The sizes array should be
-
set_format
-
Set field format (WML)
-
set_metrics
-
Set the HTMLArea sizing. The default is 'auto' for both width and height, which gives you an editing area filling the are that the original memofield widget would have filled.
-
set_onsubmit
-
Set onsubmit script Defines the onsubmit script to call when the user submits the form.
-
set_pagestyle
-
Set the HTMLArea page style. This is the overall style setting(s) which are applied to the HTMLArea widget and so here is where you determine such basic things as the font settings of the content which is displayed/edited etc.
-
set_paste_intercept
-
Set the HTMLArea Paste mode. If set to true, then the HTMLArea
-
set_remove_regex
-
Set the regular expression to use for removing dis-allowed HTML tags from the editor content. This allows you to specify a regex matching those tags you don't want to ever appear in the content.
-
set_rows
-
Set the number of rows for this memo field.
-
set_size
-
Set select field size in lines.
-
set_statusbar
-
Set the HTMLArea statusbar display mode, true or false.
-
set_styles
-
Set the styles to provide for this Wysiwyg editor. Styles are displayed
-
set_toolbar
-
Set a new toolbar definition. Toolbars are arrays of arrays of lists
-
set_type
-
Set the form type This can be 'normal' or 'subform'. Use the subform variant when you already have <form> tags being provided by other means. Then when you render the subform only the fields will be returned.
-
set_undo_steps
-
Set the HTMLArea undo steps maximum. The default number is 20. Use this method to change that.
-
set_width
-
Set select field width. Note that selects can only have width set using a style, since they normally auto-set the width to the max length of their options display strings.
-
set_width
-
Set the field width (usually in characters).
-
set_wrapmode
-
Set the wrap mode for the textarea.
-
SINGLESELECT
-
Combo-field is single-select
-
STD_WIDTH
-
Standard width for a textual form element
-
subform
-
SubForm class The sub-form is a special case of the form class. The difference is that it is expected to be part of an existing form, and therefore is rendered without the form tags.
-
subform
-
Create a subform object. Sets basic form attributes.