-
$_allow_html
-
check if the HTML should be allowed in a description
-
$_anchorprefix
-
-
$_choices
-
The accociative array with the choices available.
-
$_choices
-
The accociative array with the choices available.
-
$_choices
-
The accociative array with the choices available.
-
$_colors
-
List of colors, as passed from the communityhtml type.
-
$_colors
-
-
$_commands
-
-
$_commands
-
The array with the commands to execute (for the type)
-
$_commands
-
The array with the commands to execute (for the type)
-
$_creation
-
Creation mode flag
-
$_creation_code_objmethod
-
Creation mode callback method name
-
$_creation_code_objref
-
Creation mode callback object reference
-
$_creation_schema
-
Creation mode schema name
-
$_css_url
-
The URL of the CSS file to use inside of the HTMLArea.
-
$_current_selection
-
-
$_customconfig
-
Custom JScript configuration block
-
$_customconfig
-
Custom JScript configuration block
-
$_data
-
-
$_datamanager
-
A reference to our Datamanager.
-
$_datamanager
-
A reference to our Datamanager
-
$_datatypes
-
The collection of datatypes corresponding to the fields out of the schema file.
-
$_display_key
-
This is true, if we need to display the key to the user.
-
$_elements
-
-
$_elements
-
-
$_enable_crypt
-
-
$_enable_outside_ais
-
-
$_field
-
A copy of the field definition we use.
-
$_field
-
A copy of the field definition we use.
-
$_fieldname
-
The name we should use for HTML Form elements, can also be used as prefix.
-
$_fieldname_delete
-
Fieldname constant
-
$_fieldname_delete
-
Fieldname constant
-
$_fieldname_description
-
Fieldname constant
-
$_fieldname_description
-
Fieldname constant
-
$_fieldname_filename
-
Fieldname constant
-
$_fieldname_filename
-
Fieldname constant
-
$_fieldname_mimetype
-
Fieldname constant
-
$_fieldname_mimetype
-
Fieldname constant
-
$_fieldname_storetype
-
Fieldname constant
-
$_fieldname_thumbtype
-
Fieldname constant
-
$_fields
-
The list of fields currently in use, this is a reference into $_layoutdb.
-
$_filterfunction
-
-
$_height
-
Height of longtext fields.
-
$_i18n
-
I18n service object reference, used for charset conversions.
-
$_initfuncname
-
-
$_inputstyle
-
The widget style to use, one of shorttext, longtext, longtext_preformatted or password.
-
$_l10n
-
Datamanager L10n Database
-
$_l10n
-
midcom.helper.datamanager L10n database reference.
-
$_l10n_midcom
-
MidCOM L10n Database
-
$_l10n_midcom
-
MidCOM core L10n database reference.
-
$_l10n_schema
-
The primary L10n DB to use for schema translation.
-
$_layout
-
The layout currently in use, this is a reference into $_layoutdb.
-
$_layoutdb
-
This is the complete Layout database with which the system has been initialized.
-
$_layoutname
-
The index name of the layout currently in use.
-
$_linkto
-
Field that refers to the schema database.
-
$_lock
-
This one will contain the lock data if the current storage object is locked.
-
$_maximumyear
-
-
$_maxlength
-
Maximum length of the input text for single-line fields.
-
$_minimumyear
-
-
$_missing_required_fields
-
A simple collection of field names from the required fields check. It is used for switching required fields to a seperate css class.
-
$_ourlock
-
$_ourlock will be true if and only if we are the owner of the current lock; this variable is only valid if $_lock is an array.
-
$_password
-
-
$_password_was_empty
-
-
$_poweruser
-
Poweruser flag
-
$_precision
-
The desired precision
-
$_processing_result
-
This one holds the status of the process_form run. It is neccessary to avoid multiple invocations of this method, like it is sometimes done by not ideally designed components. It is null if process_form wasn't called yet.
-
$_rule_registry
-
Pointer to a RuleRegistry singeltonobject.
-
$_schemapath
-
Default schema database to use in case linked field is empty.
-
$_selection_list
-
-
$_simple
-
Set to true if the simple upload widget should be shown.
-
$_simple
-
Set to true if the simple upload widget should be shown.
-
$_size
-
The height of the widget
-
$_size
-
The height of the widget
-
$_sizes
-
-
$_sizes
-
List of font sizes, as passed from the communityhtml type.
-
$_smileys
-
List of smileys, as passed from the communityhtml type.
-
$_smileys
-
-
$_storage
-
A reference to our storage object.
-
$_storage
-
This MidgardObject is used for storing and retrieving the data. Any object that is derived from them can also be used. Note that this member is populated with a reference!
-
$_stripmstags
-
Flag to enable the M$ HTML crap filter(tm).
-
$_textafter
-
check if the text should be shown before or after the checkbox.
-
$_thousandsep
-
-
$_thumbheight
-
-
$_thumbjpegqual
-
-
$_thumbwidth
-
-
$_tidy
-
Flag to enable HTML Tidy cleaning Requires the PECL Tidy extension
-
$_update_article_created
-
-
$_url_help_icon
-
The URL of the help icon. This URL is complete, no prefixes need to be added.
-
$_url_lock_icon
-
The URL of the lock icon. This URL is complete, no prefixes need to be added.
-
$_username
-
-
$_value
-
Our actual value as initialized by the datatype and (if applicable) extracted from the HTTP POST information.
-
$_value
-
Our actual value as extracted from the database object.
-
$_verify_password
-
-
$_widget
-
A reference to the widget we use to paint us.
-
$_width
-
Width of both long- and shorttext fields.
-
$_withtime
-
-
$_withtime
-
-
_add_element
-
-
_check_lock
-
This function will check if the current object does have a still valid lock which prevents us from editing. It returns true, if the storage object is locked for us, false otherwise.
-
_clear_lock
-
This will clear any existing lock on the storage object. Note, that it will check the permissions of the user and the lock. Returns true if the lock was successfully cleared.
-
_complete_data_keys
-
-
_complete_key
-
-
_constructor
-
-
_constructor
-
-
_constructor
-
-
_constructor
-
-
_constructor
-
-
_constructor
-
-
_constructor
-
-
_constructor
-
-
_constructor
-
-
_constructor
-
-
_constructor
-
-
_constructor
-
The constructor populates the internal members with a reference to the datamanger we belong to, a reference of the Midgard Object we must use for storage and the definition of the field we use.
-
_constructor
-
-
_constructor
-
-
_constructor
-
The constructor will clear the choices passed to the field just in case somebody will try to use it.
-
_constructor
-
The constructor will add the corresponding Javascript code only if we are running AIS. On-Site usage is not yet possible.
-
_constructor
-
The constructor will add the corresponding Javascript code only if we are running AIS. On-Site usage is not yet possible.
-
_constructor
-
-
_constructor
-
The constructor populates the internal members with a reference to the datamanger we belong to, the definition of the field we use and the default value we should use to initialize the widget's data.
-
_constructor
-
-
_convert_to_charset
-
-
_convert_to_data_charset
-
-
_convert_to_site_charset
-
-
_csv_encode
-
Encodes the given string into CSV according to these rules: Any appearance of the separator or one of the two newline characters \n and \r will trigger quoting. In quoting mode, the entire string will be enclosed in double-quotes.
-
_datamanager_set_storage
-
Replaces the internal storage object reference, used only from the datamanager itself during the creation process after it has created a new, empty storage object.
-
_datamanager_set_storage
-
-
_delete_attachment
-
-
_delete_attachment
-
-
_destroy_types
-
Internal helper which destroys all datatypes.
-
_format_filesize
-
-
_format_string
-
-
_get_config_js
-
Get the TinyMCE configuration This will be included in the "tinyMCE.init(...)" call
-
_get_config_js
-
Prepares the HTMLArea configuration scriptlet. It will search the templates in this order:
-
_get_csv_data
-
-
_get_default_colors
-
-
_get_default_sizes
-
-
_get_default_smileys
-
-
_get_default_value
-
This member function will yield the default value of the widget.
-
_get_default_value
-
-
_get_empty_value
-
-
_get_empty_value
-
-
_get_empty_value
-
-
_get_empty_value
-
Returns the empty value for the widget.
-
_get_empty_value
-
-
_get_layout_from_snippet
-
This funtion extracts the Layout Database from the snippet referenced by
-
_get_schema
-
This helper function will load the referenced schema database and creates a simple key/value list of all schemas in that file. This list is assigned to $this->_choices.
-
_get_widget_default_value
-
-
_get_widget_default_value
-
This function must return the default value to be used when creating the widget.
-
_get_widget_default_value
-
-
_get_widget_default_value
-
-
_get_widget_default_value
-
-
_get_widget_default_value
-
-
_get_widget_default_value
-
-
_handle_upload
-
-
_handle_upload
-
-
_is_poweruser_field
-
Small helper that determines if a given field is available only for Power Users.
-
_key_comparer
-
Helper function that does compare two keys for equality.
-
_key_comparer
-
-
_load_schema_database
-
This helper function will load the schema database identified by $source, which can either be a path to a snippet/file or an already loaded database array.
-
_populate_data
-
This method populates the Array $data with the current field information.
-
_preloadImages
-
Preload images used by htmlarea.
-
_read_formdata
-
-
_read_formdata
-
-
_read_formdata
-
-
_read_formdata
-
Reads the HTTP POST request data if available.
-
_read_formdata
-
Overriden to handle the password style widget. It mustn't update in certain cases.
-
_read_formdata
-
Evaluates the various controls and populates the command array for processing through datatype_blob
-
_read_formdata
-
Overridden to allow for the post-processing of the HTMLArea generated content.
-
_read_formdata
-
This override will scan for the available keys in the request data.
-
_read_formdata
-
-
_read_formdata
-
Evaluates the various controls and populates the command array for processing through datatype_image
-
_set_lock
-
This tries to set a lock at the current storage object. If it returns false, this failed due to an existing lock.
-
_translate_schema_field
-
This helper translates a field of the schema. Strings are translated in-place.
-
_true_init
-
This is the common initialization work shared between the existing-object and the new-object ("creation mode") init procedure.
-
_update_nemein_rcs
-
Calls midcom_update_nemein_rcs to update the Nemein RCS store if configured.
-
_update_value
-
-
_update_value
-
-
$data
-
This array always holds a current snapshot of the data. Changes to this array are not propagated into the object.
-
destroy
-
This function destroys the Widget so that the type can be destroyed as well. This is usually only called by the Datamanger main class.
-
destroy
-
Relays the destroy call to all elements.
-
destroy
-
Call this function if you no longer need the DM instance. It will drop all instantinated classes and resolve the cyclic references which prevent a DM instance to be garbage collected by PHP.
-
display_form
-
Here is the root of the all-mighty form generator. Calling this function will
-
display_view
-
This function will display the current data of the object in an non-editable way. It will not display edit/delete Links for the object. This view can be customized by CSS commands, see below.
-
display_view_field
-
This is a small version of the display_view method above for use outside of
-
draw_helptext
-
Helper function that renders the helptext if applicable. This is usually appended directly after the label.
-
draw_view
-
-
draw_view
-
-
draw_view
-
-
draw_view
-
-
draw_view
-
-
draw_view
-
-
draw_view
-
-
draw_view
-
Updates the list of choices and calles the parent.
-
draw_view
-
-
draw_view
-
-
draw_view
-
-
draw_view
-
-
draw_view
-
-
draw_view
-
-
draw_view
-
-
draw_view
-
Wenn called, this method should display the current data without any editing widget.
-
draw_widget
-
This renders the complete toolbar based on the main type configuration.
-
draw_widget
-
-
draw_widget
-
-
draw_widget
-
-
draw_widget
-
-
draw_widget
-
-
draw_widget
-
This method draws the HTML-Form widgets required to edit the data. This can be anything from a single form tag to a full list of them. Note, that you will be automatically enclosed within the calls to draw_widget_start and draw_widget_end.
-
draw_widget
-
Call the draw widget functions of all contained widgets.
-
draw_widget
-
-
draw_widget
-
The widget will use a field group to put all related fields together, unless we're in simple upload mode.
-
draw_widget
-
-
draw_widget
-
-
draw_widget
-
-
draw_widget
-
-
draw_widget
-
Updates the list of choices and calles the parent.
-
draw_widget
-
-
draw_widget_end
-
The widget will use a field group to put all related fields together, unless we're in simple upload mode.
-
draw_widget_end
-
The widget will use a field group to put all related fields together,.
-
draw_widget_end
-
A fieldgroup will contain all related fields.
-
draw_widget_end
-
The collection widget will use a field group to put all contained fields together.
-
draw_widget_end
-
The widget will use a field group to put all related fields together,.
-
draw_widget_end
-
The widget will use a field group to put all related fields together, unless we're in simple upload mode.
-
draw_widget_end
-
The account widget will use a field group to put all account-related fields together.
-
draw_widget_end
-
The widget will use a field group to put all related fields together,.
-
draw_widget_end
-
This is the default widget "introduction" code rendered before the actual field code. It will close the <label> tag.
-
draw_widget_start
-
The widget will use a field group to put all related fields together.
-
draw_widget_start
-
The account widget will use a field group to put all account-related fields together.
-
draw_widget_start
-
The widget will use a field group to put all related fields together.
-
draw_widget_start
-
This is the default widget "introduction" code rendered before the actual field code. It will open a <label> tag and display the heading.
-
draw_widget_start
-
The widget will use a field group to put all related fields together, unless we're in simple upload mode.
-
draw_widget_start
-
This is the default widget "introduction" code rendered before the actual field code. It will open a <label> tag and display the heading.
-
draw_widget_start
-
The widget will use a field group to put all related fields together, unless we're in simple upload mode.
-
draw_widget_start
-
The collection widget will use a field group to put all contained fields together.
-
draw_widget_start
-
Add the required JScript stuff before the actual widget so that it doesn't interfere with the label stuff.
-
draw_widget_start
-
A fieldgroup will contain all related fields.
-
datamanager.php
-
-
datatype_markdown.php
-
-
datatype_number.php
-
-
datatype.php
-
-
datatype_text.php
-