OpenMediaVault  0.6 (Kralizec)
The open network attached storage solution
 All Classes Functions Variables Groups Pages
OMV::form::plugin::LinkedFields Class Reference

Detailed Description

This file is part of OpenMediaVault.

License:
http://www.gnu.org/licenses/gpl.html GPL Version 3
Author
Volker Theile volke.nosp@m.r.th.nosp@m.eile@.nosp@m.open.nosp@m.media.nosp@m.vaul.nosp@m.t.org

OpenMediaVault is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

OpenMediaVault is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with OpenMediaVault. If not, see http://www.gnu.org/licenses/.

Ext.AbstractPlugin Using this plugin it is possible to link various form fields together, thus you can apply properties to a field if others have been modified, e.g. checking a checkbox may show/hide a text field.

Parameters
correlationsThe correlations between the fields. This configuration contains the following properties: name - The name of the field. conditions - The conditions that must be fulfilled to apply the given properties. properties - The properties that will be applied if the conditions are fulfilled. If the conditions do not apply the opposite of the given properties are set.
applyPropertiesOnInitSet to TRUE to apply the properties to the configured fields when the form is initialized. Defaults to TRUE.

The documentation for this class was generated from the following file: