예제 #1
0
 /**
  * @param string|SQL $column
  * @param string $direction
  */
 public function __construct($column, $direction = null)
 {
     parent::__construct($column);
     $this->direction = $direction;
 }
예제 #2
0
파일: Aliased.php 프로젝트: harp-orm/query
 /**
  * @param string|Parametrised $content
  * @param string              $alias
  */
 public function __construct($content, $alias = null)
 {
     parent::__construct($content);
     $this->alias = $alias;
 }
예제 #3
0
파일: Set.php 프로젝트: harp-orm/query
 /**
  * @param string $column
  * @param mixed  $value
  */
 public function __construct($column, $value)
 {
     parent::__construct($column);
     $this->value = $value;
 }