|
|
| |
File: c:/www/apache/doc2//form/form_element_textedit.inc
PHPLib Form Rewrite 11.02.2001 - Form
form_element_textedit
form_commonobject | +-- form_element | +-- form_element_textedit
Generates a MSHTML editor.
|
public class form_element_textedit extends form_element
Generates a MSHTML editor.
Warning: this is coooool but IE 4+ only.
| Authors | Ulf Wendel <ulf.wendel@phpdoc.de> |
| Version | $Id: form_element_textedit.inc,v 1.2 2001/01/10 00:22:53 uw Exp $ |
|
| |
|
Methods inherited from form_element |
| form_element, checkconfiguration, getvalue, gettype, isbutton, getvalidator, setvalidator, freeze, unfreeze, thawout, getfrozen, show, validate, validatelength, validateregex, dovalidation, react, setvalue, getjsonactivation, getcommonhtmlattributes, getfrozenhiddenelement, getfrozentable, getjs, getjsvalue, getname, ishidden |
|
|
|
Private Method Summary |
| void |
getExtraJS()Returns the JScript code for the editor.Warning: documentation is missing. |
| void |
setup()Kind of a constructor of a derived form element.Warning: documentation is missing. |
| void |
get([ string $subelement ])Returns the HTML code of the element.Warning: documentation is missing. |
| void |
form_textedit()Warning: documentation is missing. |
| void |
form_textedit_copy()Warning: documentation is missing. |
|
Fields inherited from form_element |
| $flag_config_ok, $elname, $name, $value, $additional_html, $frozen, $class, $id, $style, $shared_required_fields, $shared_optional_fields, $method, $val_events, $js_mode, $form_name, $validator, $js_validator |
|
|
|
|
|
Private Method Details |
getExtraJS |
|
private void getExtraJS( )
|
| |
Returns the JScript code for the editor.
Warning: documentation is missing.
|
| Returns |
void |
|
setup |
|
private void setup( )
|
| |
Kind of a constructor of a derived form element.
The form objects expects one constructor form_element()to setup all form element object. So the constructorof every derived class gets never called. To to setupany object that's derived from form_element the derivedobject has to override this method. It's always calledby form_element.
Warning: documentation is missing.
|
| Returns |
void |
| See Also |
form_element() |
|
get |
|
private void get( [ string $subelement ] )
|
| |
Returns the HTML code of the element.
Warning: documentation is missing.
|
| Parameter |
|
| string |
$subelement |
= >>""<< |
|
Some complex form elements consists of several
HTML form elements. Date e.g. uses several select boxes.
The subelement name allows you to retrive each of this
"subelements". To get the year selector of a "Ymd"
date element you would use the "Y" as a subelement name. |
|
| Returns |
void |
| See Also |
getfrozen(), show() |
|
form_textedit |
|
private void form_textedit( )
|
| |
Warning: documentation is missing.
|
| Returns |
void |
|
form_textedit_copy |
|
private void form_textedit_copy( )
|
| |
Warning: documentation is missing.
|
| Returns |
void |
|
|
Private Field Details |
$iframe_src |
|
private string $iframe_src
>>""<<
SRC attribute of the IFrame which gets used as an editor.
|
|
$iframe_width |
|
private integer $iframe_width
>>-1<<
IFrame width.
|
|
$iframe_height |
|
private integer $iframe_height
>>-1<<
IFrame height.
|
|
$iframe_border |
|
private integer $iframe_border
>>-1<<
IFrame bordersize.
|
|
$iframe_scrolling |
|
private string $iframe_scrolling
>>""<<
IFrame scrolling attribute
|
|
$iframe_warning |
|
private string $iframe_warning
>>""<<
Content of the IFrame Tag.
|
|
$fonts |
|
private array $fonts
>>array("Arial", "Helvetica", "Times New Roman", "Courier", "Tahoma")<<
List of fonts of the font select box.
|
|
$fontsize |
|
private array $fontsize
>>array(1, 2, 3, 4, 5, 6, 7)<<
Font size of the font size select box.
1-7 is allowed.
|
|
$txcolors |
|
private array $txcolors
>>array("yellow", "orange", "red", "green", "blue", "#0f0f0f", "white")<<
List of textcolors.
|
|
$bgcolors |
|
private array $bgcolors
>>array("wheat", "peachpuff", "darksalmon", "darkseagreen", "skyblue", "whitesmoke", "white")<<
List of text background colors.
|
|
$features |
|
private array $features
>>array(
"bold", "italic", "underline", "strike",
"left", "right", "center",
"overwrite",
"cut", "copy", "paste", "delete",
"selectall", "unselect",
"font", "fontsize",
"txcolor", "bgcolor",
"link", "unlink",
"paragraph",
"ol", "ul",
"em", "pre",
"h1", "h2", "h3",
"sub", "sup",
"outdent", "indent"
)<<
List of activated features.
|
|
$optional_fields |
|
private array $optional_fields
>>array (
"iframe_width" => "integer",
"iframe_height" => "integer",
"iframe_border" => "integer",
"iframe_scrolling" => "string",
"iframe_warning" => "string",
"fonts" => "array",
"fontsize" => "array",
"txcolors" => "array",
"bxcolors" => "array",
"features" => "array"
)<<
List of optional fields provided by a derived class.
|
| See Also |
$shared_optional_fields, $required_fields |
|
$required_fields |
|
private array $required_fields
>>array(
"iframe_src" => "string"
)<<
List of required fields provided by a derived class.
|
| See Also |
$shared_required_fields, $optional_fields |
|
|
|
|
|
| PHPDoc 1.0beta |