| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 | | <?php |  |   |  | /** SQL literal value |  | */ |  | class NotORM_Literal { |  |     protected $value = ''; |  |      |  |     /** @var array */ |  |     public $parameters = array(); |  |      |  |     /** Create literal value |  |     * @param string |  |     * @param mixed parameter |  |     * @param mixed ... |  |     */ |  |     function __construct($value) { |  |         $this->value = $value; |  |         $this->parameters = func_get_args(); |  |         array_shift($this->parameters); |  |     } |  |      |  |     /** Get literal value |  |     * @return string |  |     */ |  |     function __toString() { |  |         return $this->value; |  |     } |  |      |  | } | 
 |