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, $a_mode=self::SQL_LIKE, $a_value=null) | |
isInCondition (ilADTText $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) | |
Public Member Functions inherited from ilADTSearchBridgeSingle | |
getADT () | |
Get ADT. | |
isNull () | |
Is null ? | |
isValid () | |
validate () | |
Validate current data. | |
Public Member Functions inherited from ilADTSearchBridge | |
__construct (ilADTDefinition $a_adt_def) | |
Constructor. | |
setForm (ilPropertyFormGUI $a_form) | |
Set form. | |
getForm () | |
Get form. | |
setElementId ($a_value) | |
Set element id (aka form field) | |
getElementId () | |
Get element id. | |
setTitle ($a_value) | |
Set title (aka form field caption) | |
getTitle () | |
Get title. | |
setTableGUI (ilTable2GUI $a_table) | |
Set table gui (for filter mode) | |
getTableGUI () | |
Get table gui. | |
getSQLCondition ($a_element_id) | |
Get SQL condition for current value(s) | |
isInCondition (ilADT $a_adt) | |
Compare directly against ADT. |
Data Fields | |
const | SQL_STRICT = 1 |
const | SQL_LIKE = 2 |
const | SQL_LIKE_END = 3 |
const | SQL_LIKE_START = 4 |
Protected Member Functions | |
isValidADTDefinition (ilADTDefinition $a_adt_def) | |
Check if given ADT definition is valid. | |
Protected Member Functions inherited from ilADTSearchBridgeSingle | |
setDefinition (ilADTDefinition $a_adt_def) | |
Set ADT definition. | |
Protected Member Functions inherited from ilADTSearchBridge | |
writeFilter ($a_value=null) | |
Write value(s) to filter store (in session) | |
readFilter () | |
Load value(s) from filter store (in session) | |
addToParentElement (ilFormPropertyGUI $a_field) | |
Add form field to parent element. | |
addToElementId ($a_add) | |
Add sub-element. | |
shouldBeImportedFromPost ($a_post) | |
Check if incoming values should be imported at all. | |
extractPostValues (array $a_post=null) | |
Extract data from (post) values. |
Additional Inherited Members | |
Protected Attributes inherited from ilADTSearchBridgeSingle | |
$adt |
Definition at line 5 of file class.ilADTTextSearchBridgeSingle.php.
ilADTTextSearchBridgeSingle::addToForm | ( | ) |
Add ADT-specific fields to form.
Reimplemented from ilADTSearchBridge.
Definition at line 31 of file class.ilADTTextSearchBridgeSingle.php.
References ilADTSearchBridge\addToParentElement(), ilADTSearchBridgeSingle\getADT(), ilADTSearchBridge\getElementId(), and ilADTSearchBridge\getTitle().
ilADTTextSearchBridgeSingle::getSerializedValue | ( | ) |
Get current value(s) in serialized form (for easy persisting)
Reimplemented from ilADTSearchBridge.
Definition at line 145 of file class.ilADTTextSearchBridgeSingle.php.
References ilADTSearchBridgeSingle\getADT(), ilADTSearchBridgeSingle\isNull(), and ilADTSearchBridgeSingle\isValid().
ilADTTextSearchBridgeSingle::getSQLCondition | ( | $a_element_id, | |
$a_mode = self::SQL_LIKE , |
|||
$a_value = null |
|||
) |
Definition at line 72 of file class.ilADTTextSearchBridgeSingle.php.
References $ilDB, ilADTSearchBridgeSingle\getADT(), ilADTSearchBridgeSingle\isNull(), and ilADTSearchBridgeSingle\isValid().
ilADTTextSearchBridgeSingle::importFromPost | ( | array | $a_post = null | ) |
Import values from (search) form request POST data.
Reimplemented from ilADTSearchBridge.
Definition at line 43 of file class.ilADTTextSearchBridgeSingle.php.
References ilADTSearchBridge\extractPostValues(), ilADTSearchBridgeSingle\getADT(), ilADTSearchBridge\getElementId(), ilADTSearchBridge\getForm(), ilADTSearchBridge\shouldBeImportedFromPost(), and ilADTSearchBridge\writeFilter().
ilADTTextSearchBridgeSingle::isInCondition | ( | ilADTText | $a_adt | ) |
Definition at line 136 of file class.ilADTTextSearchBridgeSingle.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 12 of file class.ilADTTextSearchBridgeSingle.php.
ilADTTextSearchBridgeSingle::loadFilter | ( | ) |
Load filter value(s) into ADT.
Reimplemented from ilADTSearchBridge.
Definition at line 19 of file class.ilADTTextSearchBridgeSingle.php.
References ilADTSearchBridgeSingle\getADT(), and ilADTSearchBridge\readFilter().
ilADTTextSearchBridgeSingle::setSerializedValue | ( | $a_value | ) |
Set current value(s) in serialized form (for easy persisting)
string |
Reimplemented from ilADTSearchBridge.
Definition at line 153 of file class.ilADTTextSearchBridgeSingle.php.
References ilADTSearchBridgeSingle\getADT().
const ilADTTextSearchBridgeSingle::SQL_LIKE = 2 |
Definition at line 8 of file class.ilADTTextSearchBridgeSingle.php.
Referenced by ilAdvancedMDFieldDefinitionText\searchObjects().
const ilADTTextSearchBridgeSingle::SQL_LIKE_END = 3 |
Definition at line 9 of file class.ilADTTextSearchBridgeSingle.php.
const ilADTTextSearchBridgeSingle::SQL_LIKE_START = 4 |
Definition at line 10 of file class.ilADTTextSearchBridgeSingle.php.
const ilADTTextSearchBridgeSingle::SQL_STRICT = 1 |
Definition at line 7 of file class.ilADTTextSearchBridgeSingle.php.