XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
ConditionWithoutArgument.class.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (C) NAVER <http://www.navercorp.com> */
3 
10 {
11 
21  {
22  parent::__construct($column_name, $argument, $operation, $pipe);
23  $tmpArray = array('in' => 1, 'notin' => 1, 'not_in' => 1);
24  if(isset($tmpArray[$operation]))
25  {
26  if(is_array($argument))
27  {
28  $argument = implode($argument, ',');
29  }
30  $this->_value = '(' . $argument . ')';
31  }
32  else
33  {
34  $this->_value = $argument;
35  }
36  }
37 
38 }
39 /* End of file ConditionWithoutArgument.class.php */
40 /* Location: ./classes/db/queryparts/condition/ConditionWithoutArgument.class.php */
__construct($column_name, $argument, $operation, $pipe="")