64 if(!isset($this->_value_to_string))
68 $this->_value_to_string =
'';
110 if(!isset($this->_show))
112 if(is_array($this->_value) && count($this->_value) === 1 && $this->_value[0] ===
'')
114 $this->_show =
false;
119 switch($this->operation)
129 case 'notlike_tail' :
130 case 'notlike_prefix' :
141 if(!isset($this->_value))
143 $this->_show =
false;
146 if($this->_value ===
'')
148 $this->_show =
false;
151 $tmpArray = array(
'string' => 1,
'integer' => 1);
152 if(!isset($tmpArray[gettype($this->_value)]))
154 $this->_show =
false;
159 if(!is_array($this->_value))
161 $this->_show =
false;
164 if(count($this->_value) != 2)
166 $this->_show =
false;
174 $this->_show =
false;
194 return $name .
' = ' . $value;
197 return $name .
' >= ' . $value;
200 return $name .
' > ' . $value;
203 return $name .
' <= ' . $value;
206 return $name .
' < ' . $value;
211 if(defined(
'__CUBRID_VERSION__')
212 && __CUBRID_VERSION__ >=
'8.4.1')
213 return $name .
' rlike ' . $value;
215 return $name .
' like ' . $value;
217 case 'notlike_tail' :
218 case 'notlike_prefix' :
220 return $name .
' not like ' . $value;
223 return $name .
' in ' . $value;
227 return $name .
' not in ' . $value;
230 return $name .
' <> ' . $value;
233 return $name .
' is not null';
236 return $name .
' is null';
239 return $name .
' & ' . $value;
242 return $name .
' | ' . $value;
245 return $name .
' ^ ' . $value;
248 return $name .
' ~ ' . $value;
251 return $name .
' between ' . $value[0] .
' and ' . $value[1];
toString($withValue=true)
__construct($column_name, $argument, $operation, $pipe)