-
$_allow_html
-
check if the HTML should be allowed in a description
-
$_anchorprefix
-
-
$_assignee
-
-
$_choices
-
The accociative array with the choices available.
-
$_choices
-
The accociative array with the choices available.
-
$_choices
-
The accociative array with the choices available.
-
$_classname
-
-
$_colors
-
List of colors, as passed from the communityhtml type.
-
$_colors
-
-
$_commands
-
The array with the commands to execute (for the type)
-
$_commands
-
-
$_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
-
-
$_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
-
-
$_enable_outside_ais
-
Whether to allow loading of the widget_html 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
-
midcom.helper.datamanager L10n database reference.
-
$_l10n
-
Datamanager L10n Database
-
$_l10n_midcom
-
MidCOM core L10n database reference.
-
$_l10n_midcom
-
MidCOM L10n Database
-
$_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.
-
$_multiple
-
Whether this is a multiple select or not
-
$_object
-
-
$_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
-
$_privilege
-
-
$_privilege_object
-
-
$_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
-
-
$_show_js
-
If the datamanager should display js or not.
-
$_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
-
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!
-
$_storage
-
A reference to our storage object.
-
$_store_as_iso_timestamp
-
This is a MgdSchmea transition compatibility flag. It decides wether a given field is stored as a ISO Timestamp by MgdSchema, or not. This flag is valid for all storage destinations.
-
$_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
-
$_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 extracted from the database object.
-
$_value
-
Our actual value as initialized by the datatype and (if applicable) extracted from the HTTP POST information.
-
$_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
-
The constructor will clear the choices passed to the field just in case somebody will try to use it.
-
_constructor
-
-
_constructor
-
-
_constructor
-
-
_constructor
-
-
_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
-
-
_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 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
-
-
_constructor
-
-
_constructor
-
-
_constructor
-
-
_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
-
-
_datatype2identifier
-
-
_delete_attachment
-
-
_delete_attachment
-
-
_destroy_types
-
Internal helper which destroys all datatypes.
-
_display_person
-
-
_find_contacts_url
-
-
_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_default_value
-
-
_get_empty_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
-
-
_get_widget_default_value
-
-
_get_widget_default_value
-
-
_get_widget_default_value
-
-
_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
-
-
_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
-
Reads the HTTP POST request data if available.
-
_read_formdata
-
-
_read_formdata
-
Overriden to handle the password style widget. It mustn't update in certain cases.
-
_read_formdata
-
-
_read_formdata
-
-
_read_formdata
-
-
_read_formdata
-
-
_read_formdata
-
Overridden to allow for the post-processing of the HTMLArea generated content.
-
_read_formdata
-
Evaluates the various controls and populates the command array for processing through datatype_image
-
_read_formdata
-
This override will scan for the available keys in the request data.
-
_read_formdata
-
Evaluates the various controls and populates the command array for processing through datatype_blob
-
_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
-
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.
-
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.
-
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
-
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
-
-
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
-
-
draw_widget
-
-
draw_widget
-
-
draw_widget
-
-
draw_widget
-
-
draw_widget
-
-
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
-
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
-
-
draw_widget
-
-
draw_widget
-
-
draw_widget
-
-
draw_widget
-
-
draw_widget
-
Call the draw widget functions of all contained widgets.
-
draw_widget
-
Updates the list of choices and calles the parent.
-
draw_widget
-
This renders the complete toolbar based on the main type configuration.
-
draw_widget_end
-
This is the default widget "introduction" code rendered before the actual field code. It will close the <label> tag.
-
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, unless we're in simple upload mode.
-
draw_widget_end
-
A fieldgroup will contain all related fields.
-
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,.
-
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
-
The collection widget will use a field group to put all contained fields together.
-
draw_widget_start
-
The widget will use a field group to put all related fields together.
-
draw_widget_start
-
The collection widget will use a field group to put all contained fields together.
-
draw_widget_start
-
A fieldgroup will contain all related fields.
-
draw_widget_start
-
The account widget will use a field group to put all account-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
-
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 widget will use a field group to put all related fields together.
-
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
-
Add the required JScript stuff before the actual widget so that it doesn't interfere with the label stuff.
-
datamanager.php
-
-
datatype_integer.php
-
-
datatype_markdown.php
-
-
datatype_number.php
-
-
datatype.php
-
-
datatype_text.php
-
-
$missingrequired
-
This flag is true if the field is a required input field which was missing in the last submit run. The rendering code should take this into account accordingly. This is used by the draw_widget_start method.
-
midcom_helper_datamanager
-
The constructor loads the layout database, verifies its structure and initializes the complete class for usage. No object gets loaded at this point.
-
midcom_helper_datamanager
-
The main purpose of the Datamanager is to store arbitary data in an arbitary Midgard object.
-
midcom_helper_datamanager_datatype
-
Construct a Datatype.
-
midcom_helper_datamanager_datatype
-
The DATATYPE concept is the main interface between the data stored at a Midgard Object, the Widget that displays the Data and the Datamanger core class.
-
midcom_helper_datamanager_datatype_account
-
-
midcom_helper_datamanager_datatype_account
-
The DATATYPE concept is the main interface between the data stored at a Midgard Object, the Widget that displays the Data and the Datamanger core class.
-
midcom_helper_datamanager_datatype_array
-
The DATATYPE concept is the main interface between the data stored at a Midgard Object, the Widget that displays the Data and the Datamanger core class.
-
midcom_helper_datamanager_datatype_array
-
-
midcom_helper_datamanager_datatype_blob
-
The DATATYPE concept is the main interface between the data stored at a Midgard Object, the Widget that displays the Data and the Datamanger core class.
-
midcom_helper_datamanager_datatype_boolean
-
-
midcom_helper_datamanager_datatype_boolean
-
The DATATYPE concept is the main interface between the data stored at a Midgard Object, the Widget that displays the Data and the Datamanger core class.
-
midcom_helper_datamanager_datatype_collection
-
The DATATYPE concept is the main interface between the data stored at a Midgard Object, the Widget that displays the Data and the Datamanger core class.
-
midcom_helper_datamanager_datatype_communityhtml
-
-
midcom_helper_datamanager_datatype_communityhtml
-
The DATATYPE concept is the main interface between the data stored at a Midgard Object, the Widget that displays the Data and the Datamanger core class.
-
midcom_helper_datamanager_datatype_image
-
The DATATYPE concept is the main interface between the data stored at a Midgard Object, the Widget that displays the Data and the Datamanger core class.
-
midcom_helper_datamanager_datatype_integer
-
Constructor with default configuration.
-
midcom_helper_datamanager_datatype_integer
-
Integer datatype.
-
midcom_helper_datamanager_datatype_mailtemplate
-
-
midcom_helper_datamanager_datatype_mailtemplate
-
The DATATYPE concept is the main interface between the data stored at a Midgard Object, the Widget that displays the Data and the Datamanger core class.
-
midcom_helper_datamanager_datatype_markdown
-
-
midcom_helper_datamanager_datatype_markdown
-
Markdown datatype.
-
midcom_helper_datamanager_datatype_multiselect
-
-
midcom_helper_datamanager_datatype_multiselect
-
The DATATYPE concept is the main interface between the data stored at a Midgard Object, the Widget that displays the Data and the Datamanger core class.
-
midcom_helper_datamanager_datatype_number
-
Constructor with default configuration.
-
midcom_helper_datamanager_datatype_number
-
Number datatype.
-
midcom_helper_datamanager_datatype_privilege
-
-
midcom_helper_datamanager_datatype_privilege
-
The DATATYPE concept is the main interface between the data stored at a Midgard Object, the Widget that displays the Data and the Datamanger core class.
-
midcom_helper_datamanager_datatype_text
-
Plain text datatype.
-
midcom_helper_datamanager_datatype_text
-
Constructor with default configuration.
-
midcom_helper_datamanager_datatype_unixdate
-
-
midcom_helper_datamanager_datatype_unixdate
-
The DATATYPE concept is the main interface between the data stored at a Midgard Object, the Widget that displays the Data and the Datamanger core class.
-
midcom_helper_datamanager_selectlist_allgroups
-
Lists all groups recursivly, using four spaces to indent subgroups.
-
midcom_helper_datamanager_selectlist_allpersons
-
Lists all users of the current sitegroup.
-
midcom_helper_datamanager_selectlist_allpersons_id
-
Lists all users of the current sitegroup.
-
midcom_helper_datamanager_urlname_field
-
Helper function for generating uniformal URL name field definitions in schemas
-
midcom_helper_datamanager_widget
-
Constructor
-
midcom_helper_datamanager_widget
-
The widget concept is the interface to the user.
-
midcom_helper_datamanager_widget_account
-
This is a simple widget for the account datatype, it queries username, password and password verification.
-
midcom_helper_datamanager_widget_blob
-
This is a widget to handle binary attachments.
-
midcom_helper_datamanager_widget_checkbox
-
This is a widget for simple boolean fields.
-
midcom_helper_datamanager_widget_collection
-
This is a widget to handle a variable-length collection of other types.
-
midcom_helper_datamanager_widget_communityhtml
-
This is a widget to handle the simple "communityhtml" type, which is a very simplified form of bbcode.
-
midcom_helper_datamanager_widget_config_radiobox
-
This is a widget to handle radio-box style select lists, intended for configuration UIs.
-
midcom_helper_datamanager_widget_contactchooser
-
This is a widget to choose persons from org.openpsa.contacts
-
midcom_helper_datamanager_widget_date
-
This is a widget to show a JS driven date selector.
-
midcom_helper_datamanager_widget_html
-
This is a WYSIWYG HTML widget, built on HTMLArea.
-
midcom_helper_datamanager_widget_image
-
This is a widget to handle image attachments.
-
midcom_helper_datamanager_widget_mailtemplate
-
This is a widget that manages E-Mail templates.
-
midcom_helper_datamanager_widget_markdown
-
This is a widget for editing Markdown content. It is mostly the same as the
-
midcom_helper_datamanager_widget_multiselect
-
This is a widget to handle image variable-height multi-selection lists.
-
midcom_helper_datamanager_widget_radiobox
-
This is a widget to handle radio-box style select lists.
-
midcom_helper_datamanager_widget_schemaselect
-
This is a widget to handle the selection schemas out of an existing schma database.
-
midcom_helper_datamanager_widget_select
-
This is a widget to handle image variable-height select lists.
-
midcom_helper_datamanager_widget_text
-
This is a flexible text widget, that allows for input of plain text in several forms. Supported widgets are:
-
midcom_helper_datamanager_widget_tinymce
-
This is a WYSIWYG HTML widget that uses the powerful TinyMCE editor