ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
loadFilter () | |
Load filter value(s) into ADT. | |
addToForm () | |
Add ADT-specific fields to form. | |
importFromPost (array $a_post=null) | |
Import values from (search) form request POST data. | |
getSQLCondition ($a_element_id) | |
Get SQL condition for current value(s) | |
isInCondition (ilADTMultiEnum $a_adt) | |
getSerializedValue () | |
Get current value(s) in serialized form (for easy persisting) | |
setSerializedValue ($a_value) | |
Set current value(s) in serialized form (for easy persisting) |
Protected Member Functions | |
isValidADTDefinition (ilADTDefinition $a_adt_def) | |
Check if given ADT definition is valid. | |
convertADTDefinitionToMulti (ilADTDefinition $a_adt_def) | |
Convert definition to multi version. | |
Protected Member Functions inherited from ilADTSearchBridgeMulti | |
setDefinition (ilADTDefinition $a_adt_def) | |
Set ADT definition. |
Protected Attributes | |
$multi_source |
Definition at line 5 of file class.ilADTEnumSearchBridgeMulti.php.
ilADTEnumSearchBridgeMulti::addToForm | ( | ) |
Add ADT-specific fields to form.
Reimplemented from ilADTSearchBridge.
Definition at line 44 of file class.ilADTEnumSearchBridgeMulti.php.
References $lng, $options, ilADTSearchBridge\addToParentElement(), ilADTSearchBridgeSingle\getADT(), ilADTSearchBridge\getElementId(), and ilADTSearchBridge\getTitle().
|
protected |
Convert definition to multi version.
Reimplemented from ilADTSearchBridgeMulti.
Definition at line 15 of file class.ilADTEnumSearchBridgeMulti.php.
References ilADTFactory\getInstance(), and ilADTDefinition\getType().
ilADTEnumSearchBridgeMulti::getSerializedValue | ( | ) |
Get current value(s) in serialized form (for easy persisting)
Reimplemented from ilADTSearchBridge.
Definition at line 133 of file class.ilADTEnumSearchBridgeMulti.php.
References ilADTSearchBridgeSingle\getADT(), ilADTSearchBridgeSingle\isNull(), and ilADTSearchBridgeSingle\isValid().
ilADTEnumSearchBridgeMulti::getSQLCondition | ( | $a_element_id | ) |
Get SQL condition for current value(s)
string | $a_element_id |
Reimplemented from ilADTSearchBridge.
Definition at line 96 of file class.ilADTEnumSearchBridgeMulti.php.
References $ilDB, ilADTSearchBridgeSingle\getADT(), ilADTSearchBridgeSingle\isNull(), ilADTSearchBridgeSingle\isValid(), and ilADTMultiEnumDBBridge\SEPARATOR.
Referenced by ilAdvancedMDFieldDefinitionSelectMulti\findBySingleValue().
ilADTEnumSearchBridgeMulti::importFromPost | ( | array | $a_post = null | ) |
Import values from (search) form request POST data.
Reimplemented from ilADTSearchBridge.
Definition at line 65 of file class.ilADTEnumSearchBridgeMulti.php.
References ilADTSearchBridge\extractPostValues(), ilADTSearchBridgeSingle\getADT(), ilADTSearchBridge\getElementId(), ilADTSearchBridge\getForm(), ilADTSearchBridge\shouldBeImportedFromPost(), and ilADTSearchBridge\writeFilter().
ilADTEnumSearchBridgeMulti::isInCondition | ( | ilADTMultiEnum | $a_adt | ) |
Definition at line 125 of file class.ilADTEnumSearchBridgeMulti.php.
References ilADTSearchBridgeSingle\getADT().
|
protected |
Check if given ADT definition is valid.
:TODO: This could be avoided with type-specifc constructors :TODO: bridge base class?
ilADTDefinition | $a_adt_def |
Reimplemented from ilADTSearchBridge.
Definition at line 9 of file class.ilADTEnumSearchBridgeMulti.php.
ilADTEnumSearchBridgeMulti::loadFilter | ( | ) |
Load filter value(s) into ADT.
Reimplemented from ilADTSearchBridge.
Definition at line 32 of file class.ilADTEnumSearchBridgeMulti.php.
References ilADTSearchBridgeSingle\getADT(), and ilADTSearchBridge\readFilter().
ilADTEnumSearchBridgeMulti::setSerializedValue | ( | $a_value | ) |
Set current value(s) in serialized form (for easy persisting)
string |
Reimplemented from ilADTSearchBridge.
Definition at line 141 of file class.ilADTEnumSearchBridgeMulti.php.
References ilADTSearchBridgeSingle\getADT().
|
protected |
Definition at line 7 of file class.ilADTEnumSearchBridgeMulti.php.