midcom_helper_datamanager_widget_communityhtmlThis is a widget to handle the simple "communityhtml" type, which is a very simplified form of bbcode.
This widget can only be used with the communityhtml type, for which it is enforced as widget.
Configuration parameters:
Configuration is done by the datatype.
Sample configuration
"communityhtml" => Array (
"description" => "Content",
"datatype" => "communityhtml"
),CSS Styles in use by the Widget
The toolbar is a br-separated span.communityhtml_toolbar within the label of the field. Its contents have no further style.
The input field is of textarea.communityhtml.
Located in /midcom/helper/datamanager/widget_communityhtml.php (line 40)
midcom_helper_datamanager_widget | --midcom_helper_datamanager_widget_communityhtml
Array
$_colors
(line 56)
List of colors, as passed from the communityhtml type.
Array
$_sizes
(line 64)
List of font sizes, as passed from the communityhtml type.
Array
$_smileys
(line 48)
List of smileys, as passed from the communityhtml type.
Inherited from midcom_helper_datamanager_widget
midcom_helper_datamanager_widget::$missingrequired
midcom_helper_datamanager_widget::$required
midcom_helper_datamanager_widget::$_datamanager
midcom_helper_datamanager_widget::$_field
midcom_helper_datamanager_widget::$_fieldname
midcom_helper_datamanager_widget::$_l10n
midcom_helper_datamanager_widget::$_l10n_midcom
midcom_helper_datamanager_widget::$_value
This renders the complete toolbar based on the main type configuration.
Add the required JScript stuff before the actual widget so that it doesn't interfere with the label stuff.
Set the css class to always include the communityhtml class.
Inherited From midcom_helper_datamanager_widget
midcom_helper_datamanager_widget::midcom_helper_datamanager_widget()
midcom_helper_datamanager_widget::draw_helptext()
midcom_helper_datamanager_widget::draw_view()
midcom_helper_datamanager_widget::draw_widget()
midcom_helper_datamanager_widget::draw_widget_end()
midcom_helper_datamanager_widget::draw_widget_start()
midcom_helper_datamanager_widget::get_css_classes_required()
midcom_helper_datamanager_widget::get_value()
midcom_helper_datamanager_widget::set_value()
midcom_helper_datamanager_widget::_constructor()
midcom_helper_datamanager_widget::_read_formdata()
Documentation generated on Mon, 21 Nov 2005 18:24:39 +0100 by phpDocumentor 1.3.0RC3