app/Conditions/QueryFields/ThemeField.php
<?php
namespace App\Conditions\QueryFields;
/**
* Theme Query Field Class.
*
* @package UIType
*
* @copyright YetiForce S.A.
* @license YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com)
* @author Sławomir Kłos <s.klos@yetiforce.com>
* @author Mariusz Krzaczkowski <m.krzaczkowski@yetiforce.com>
*/
class ThemeField extends BaseField
{
/**
* Not equal operator.
*
* @return array
*/
public function operatorN(): array
{
return ['NOT IN', $this->getColumnName(), $this->getValue()];
}
/**
* Get value.
*
* @return mixed
*/
public function getValue()
{
return explode('##', $this->value);
}
}