28     protected int $type = self::TYPE_REGULAR;
    34     protected string $operator = 
'=';
    46         if ($this->
getType() === self::TYPE_REGULAR) {
    49             if ($arField instanceof 
arField) {
    50                 $type = $arField->getFieldType();
    57                 if (in_array($this->
getOperator(), [
'IN', 
'NOT IN', 
'NOTIN'])) {
    60                     $statement .= 
' IN (';
    66                 $statement .= implode(
', ', $values);
    71                     if (in_array($this->
getOperator(), [
'IS', 
'IS NOT'])) {
    97         $this->
operator = $operator;
   102         return $this->operator;
 This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
setFieldname(string $fieldname)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
getConnectorContainerName()
Return the Name of your Connector Table 
 
asSQLStatement(ActiveRecord $activeRecord, ilDBInterface $db)
 
setStatement(string $statement)
 
link(string $caption, string $href, bool $new_viewport=false)
 
setOperator(string $operator)