[midcom.helper.datamanager] element index

Package indexes

All elements
a d e f g i l m p r s t u v w _
_
top
Variable $_allow_html
check if the HTML should be allowed in a description
Variable $_anchorprefix
Variable $_choices
The accociative array with the choices available.
Variable $_choices
The accociative array with the choices available.
Variable $_choices
The accociative array with the choices available.
Variable $_colors
List of colors, as passed from the communityhtml type.
Variable $_colors
Variable $_commands
Variable $_commands
The array with the commands to execute (for the type)
Variable $_commands
The array with the commands to execute (for the type)
Variable $_creation
Creation mode flag
Variable $_creation_code_objmethod
Creation mode callback method name
Variable $_creation_code_objref
Creation mode callback object reference
Variable $_creation_schema
Creation mode schema name
Variable $_css_url
The URL of the CSS file to use inside of the HTMLArea.
Variable $_current_selection
Variable $_customconfig
Custom JScript configuration block
Variable $_customconfig
Custom JScript configuration block
Variable $_data
Variable $_datamanager
A reference to our Datamanager.
Variable $_datamanager
A reference to our Datamanager
Variable $_datatypes
The collection of datatypes corresponding to the fields out of the schema file.
Variable $_display_key
This is true, if we need to display the key to the user.
Variable $_elements
Variable $_elements
Variable $_enable_crypt
Variable $_enable_outside_ais
Variable $_field
A copy of the field definition we use.
Variable $_field
A copy of the field definition we use.
Variable $_fieldname
The name we should use for HTML Form elements, can also be used as prefix.
Variable $_fieldname_delete
Fieldname constant
Variable $_fieldname_delete
Fieldname constant
Variable $_fieldname_description
Fieldname constant
Variable $_fieldname_description
Fieldname constant
Variable $_fieldname_filename
Fieldname constant
Variable $_fieldname_filename
Fieldname constant
Variable $_fieldname_mimetype
Fieldname constant
Variable $_fieldname_mimetype
Fieldname constant
Variable $_fieldname_storetype
Fieldname constant
Variable $_fieldname_thumbtype
Fieldname constant
Variable $_fields
The list of fields currently in use, this is a reference into $_layoutdb.
Variable $_filterfunction
Variable $_height
Height of longtext fields.
Variable $_i18n
I18n service object reference, used for charset conversions.
Variable $_initfuncname
Variable $_inputstyle
The widget style to use, one of shorttext, longtext, longtext_preformatted or password.
Variable $_l10n
Datamanager L10n Database
Variable $_l10n
midcom.helper.datamanager L10n database reference.
Variable $_l10n_midcom
MidCOM L10n Database
Variable $_l10n_midcom
MidCOM core L10n database reference.
Variable $_l10n_schema
The primary L10n DB to use for schema translation.
Variable $_layout
The layout currently in use, this is a reference into $_layoutdb.
Variable $_layoutdb
This is the complete Layout database with which the system has been initialized.
Variable $_layoutname
The index name of the layout currently in use.
Variable $_linkto
Field that refers to the schema database.
Variable $_lock
This one will contain the lock data if the current storage object is locked.
Variable $_maximumyear
Variable $_maxlength
Maximum length of the input text for single-line fields.
Variable $_minimumyear
Variable $_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.
Variable $_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.
Variable $_password
Variable $_password_was_empty
Variable $_poweruser
Poweruser flag
Variable $_precision
The desired precision
Variable $_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.
Variable $_rule_registry
Pointer to a RuleRegistry singeltonobject.
Variable $_schemapath
Default schema database to use in case linked field is empty.
Variable $_selection_list
Variable $_simple
Set to true if the simple upload widget should be shown.
Variable $_simple
Set to true if the simple upload widget should be shown.
Variable $_size
The height of the widget
Variable $_size
The height of the widget
Variable $_sizes
Variable $_sizes
List of font sizes, as passed from the communityhtml type.
Variable $_smileys
List of smileys, as passed from the communityhtml type.
Variable $_smileys
Variable $_storage
A reference to our storage object.
Variable $_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!
Variable $_stripmstags
Flag to enable the M$ HTML crap filter(tm).
Variable $_textafter
check if the text should be shown before or after the checkbox.
Variable $_thousandsep
Variable $_thumbheight
Variable $_thumbjpegqual
Variable $_thumbwidth
Variable $_tidy
Flag to enable HTML Tidy cleaning Requires the PECL Tidy extension
Variable $_update_article_created
Variable $_url_help_icon
The URL of the help icon. This URL is complete, no prefixes need to be added.
Variable $_url_lock_icon
The URL of the lock icon. This URL is complete, no prefixes need to be added.
Variable $_username
Variable $_value
Our actual value as initialized by the datatype and (if applicable) extracted from the HTTP POST information.
Variable $_value
Our actual value as extracted from the database object.
Variable $_verify_password
Variable $_widget
A reference to the widget we use to paint us.
Variable $_width
Width of both long- and shorttext fields.
Variable $_withtime
Variable $_withtime
Method _add_element
Method _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.
Method _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.
Method _complete_data_keys
Method _complete_key
Method _constructor
Method _constructor
Method _constructor
Method _constructor
Method _constructor
Method _constructor
Method _constructor
Method _constructor
Method _constructor
Method _constructor
Method _constructor
Method _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.
Method _constructor
Method _constructor
Method _constructor
The constructor will clear the choices passed to the field just in case somebody will try to use it.
Method _constructor
The constructor will add the corresponding Javascript code only if we are running AIS. On-Site usage is not yet possible.
Method _constructor
The constructor will add the corresponding Javascript code only if we are running AIS. On-Site usage is not yet possible.
Method _constructor
Method _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.
Method _constructor
Method _convert_to_charset
Method _convert_to_data_charset
Method _convert_to_site_charset
Method _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.
Method _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.
Method _datamanager_set_storage
Method _delete_attachment
Method _delete_attachment
Method _destroy_types
Internal helper which destroys all datatypes.
Method _format_filesize
Method _format_string
Method _get_config_js
Get the TinyMCE configuration This will be included in the "tinyMCE.init(...)" call
Method _get_config_js
Prepares the HTMLArea configuration scriptlet. It will search the templates in this order:
Method _get_csv_data
Method _get_default_colors
Method _get_default_sizes
Method _get_default_smileys
Method _get_default_value
This member function will yield the default value of the widget.
Method _get_default_value
Method _get_empty_value
Method _get_empty_value
Method _get_empty_value
Method _get_empty_value
Returns the empty value for the widget.
Method _get_empty_value
Method _get_layout_from_snippet
This funtion extracts the Layout Database from the snippet referenced by
Method _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.
Method _get_widget_default_value
Method _get_widget_default_value
This function must return the default value to be used when creating the widget.
Method _get_widget_default_value
Method _get_widget_default_value
Method _get_widget_default_value
Method _get_widget_default_value
Method _get_widget_default_value
Method _handle_upload
Method _handle_upload
Method _is_poweruser_field
Small helper that determines if a given field is available only for Power Users.
Method _key_comparer
Helper function that does compare two keys for equality.
Method _key_comparer
Method _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.
Method _populate_data
This method populates the Array $data with the current field information.
Method _preloadImages
Preload images used by htmlarea.
Method _read_formdata
Method _read_formdata
Method _read_formdata
Method _read_formdata
Reads the HTTP POST request data if available.
Method _read_formdata
Overriden to handle the password style widget. It mustn't update in certain cases.
Method _read_formdata
Evaluates the various controls and populates the command array for processing through datatype_blob
Method _read_formdata
Overridden to allow for the post-processing of the HTMLArea generated content.
Method _read_formdata
This override will scan for the available keys in the request data.
Method _read_formdata
Method _read_formdata
Evaluates the various controls and populates the command array for processing through datatype_image
Method _set_lock
This tries to set a lock at the current storage object. If it returns false, this failed due to an existing lock.
Method _translate_schema_field
This helper translates a field of the schema. Strings are translated in-place.
Method _true_init
This is the common initialization work shared between the existing-object and the new-object ("creation mode") init procedure.
Method _update_nemein_rcs
Calls midcom_update_nemein_rcs to update the Nemein RCS store if configured.
Method _update_value
Method _update_value
a
top
Method append_error
This member will append the given string both to the internal error string and, if available, to the current content manager's processing message string.
Method autoindex
Relays the autoindex call if we have blobs or subtypes thereoff.
Method autoindex
Indexes the blob if and only if it is set to autoindex mode.
d
top
Variable $data
This array always holds a current snapshot of the data. Changes to this array are not propagated into the object.
Method 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.
Method destroy
Relays the destroy call to all elements.
Method 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.
Method display_form
Here is the root of the all-mighty form generator. Calling this function will
Method 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.
Method display_view_field
This is a small version of the display_view method above for use outside of
Method draw_helptext
Helper function that renders the helptext if applicable. This is usually appended directly after the label.
Method draw_view
Method draw_view
Method draw_view
Method draw_view
Method draw_view
Method draw_view
Method draw_view
Method draw_view
Updates the list of choices and calles the parent.
Method draw_view
Method draw_view
Method draw_view
Method draw_view
Method draw_view
Method draw_view
Method draw_view
Method draw_view
Wenn called, this method should display the current data without any editing widget.
Method draw_widget
This renders the complete toolbar based on the main type configuration.
Method draw_widget
Method draw_widget
Method draw_widget
Method draw_widget
Method draw_widget
Method 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.
Method draw_widget
Call the draw widget functions of all contained widgets.
Method draw_widget
Method draw_widget
The widget will use a field group to put all related fields together, unless we're in simple upload mode.
Method draw_widget
Method draw_widget
Method draw_widget
Method draw_widget
Method draw_widget
Updates the list of choices and calles the parent.
Method draw_widget
Method draw_widget_end
The widget will use a field group to put all related fields together, unless we're in simple upload mode.
Method draw_widget_end
The widget will use a field group to put all related fields together,.
Method draw_widget_end
A fieldgroup will contain all related fields.
Method draw_widget_end
The collection widget will use a field group to put all contained fields together.
Method draw_widget_end
The widget will use a field group to put all related fields together,.
Method draw_widget_end
The widget will use a field group to put all related fields together, unless we're in simple upload mode.
Method draw_widget_end
The account widget will use a field group to put all account-related fields together.
Method draw_widget_end
The widget will use a field group to put all related fields together,.
Method draw_widget_end
This is the default widget "introduction" code rendered before the actual field code. It will close the <label> tag.
Method draw_widget_start
The widget will use a field group to put all related fields together.
Method draw_widget_start
The account widget will use a field group to put all account-related fields together.
Method draw_widget_start
The widget will use a field group to put all related fields together.
Method 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.
Method draw_widget_start
The widget will use a field group to put all related fields together, unless we're in simple upload mode.
Method 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.
Method draw_widget_start
The widget will use a field group to put all related fields together, unless we're in simple upload mode.
Method draw_widget_start
The collection widget will use a field group to put all contained fields together.
Method draw_widget_start
Add the required JScript stuff before the actual widget so that it doesn't interfere with the label stuff.
Method draw_widget_start
A fieldgroup will contain all related fields.
Page datamanager.php
datamanager.php in datamanager.php
Page datatype_markdown.php
datatype_markdown.php in datatype_markdown.php
Page datatype_number.php
datatype_number.php in datatype_number.php
Page datatype.php
datatype.php in datatype.php
Page datatype_text.php
datatype_text.php in datatype_text.php
e
top
Variable $errstr
The error string of the last call executed by the datamanager. The content of this string is automatically appended to the content manager's processing message and therefore needs only to be printed while in a non-AIS environment.
f
top
Variable $form_prefix
Form field name prefix
g
top
Method get_array