36        if ($value !== 
null) {
 
   37            $this->
getADT()->setUrl($value);
 
   64            $item->setValue(
$post);
 
   76    public function getSQLCondition($a_element_id, $a_mode = self::SQL_LIKE, $a_value = 
null)
 
   84            $a_value = $this->
getADT()->getUrl();
 
   89                if (!is_array($a_value)) {
 
   90                    return $a_element_id . 
" = " . $db->quote($a_value, 
"text");
 
   92                    return $db->in($a_element_id, $a_value, 
"", 
"text");
 
   97                if (!is_array($a_value)) {
 
   98                    return $db->like($a_element_id, 
"text", 
"%" . $a_value . 
"%");
 
  101                    foreach ($a_value as $word) {
 
  103                            $tmp[] = $db->like($a_element_id, 
"text", 
"%" . $word . 
"%");
 
  107                        return "(" . implode(
" OR ", $tmp) . 
")";
 
  113                if (!is_array($a_value)) {
 
  114                    return $db->like($a_element_id, 
"text", $a_value . 
"%");
 
  119                if (!is_array($a_value)) {
 
  120                    return $db->like($a_element_id, 
"text", 
"%" . $a_value);
 
  133        if ($this->isValidADT($a_adt)) {
 
  134            return $this->
getADT()->equals($a_adt);
 
  146            return serialize(array($this->
getADT()->getUrl()));
 
  156        $a_value = unserialize($a_value);
 
  157        if (is_array($a_value)) {
 
  158            $this->
getADT()->setUrl($a_value[0]);
 
An exception for terminatinating execution or to throw for unit testing.
ADT definition base class.
external link search bridge
isInCondition(ilADT $a_adt)
Is in condition.
importFromPost(array $a_post=null)
Import from post.
loadFilter()
Load from filter.
getSerializedValue()
get serialized value
isValidADTDefinition(\ilADTDefinition $a_adt_def)
Is valid type.
addToForm()
add external link property to form
setSerializedValue($a_value)
Set serialized value.
getSQLCondition($a_element_id, $a_mode=self::SQL_LIKE, $a_value=null)
Get sql condition.
readFilter()
Load value(s) from filter store (in session)
extractPostValues(array $a_post=null)
Extract data from (post) values.
addToParentElement(ilFormPropertyGUI $a_field)
Add form field to parent element.
getElementId()
Get element id.
shouldBeImportedFromPost($a_post)
Check if incoming values should be imported at all.
This class represents a text property in a property form.
$GLOBALS['JPEG_Segment_Names']
Global Variable: XMP_tag_captions.