XpressEngine Core
1.11.2
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Pages
classes
db
queryparts
expression
SelectExpression.class.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (C) NAVER <http://www.navercorp.com> */
3
18
class
SelectExpression
extends
Expression
19
{
20
25
var
$column_alias
;
26
33
function
__construct
(
$column_name
, $alias = NULL)
34
{
35
parent::__construct(
$column_name
);
36
$this->column_alias = $alias;
37
}
38
43
function
getExpression
()
44
{
45
return
sprintf(
"%s%s"
, $this->column_name, $this->column_alias ?
" as "
. $this->column_alias :
""
);
46
}
47
48
function
show
()
49
{
50
return
true
;
51
}
52
53
function
getArgument
()
54
{
55
return
null;
56
}
57
58
function
getArguments
()
59
{
60
return
array();
61
}
62
63
function
isSubquery
()
64
{
65
return
false
;
66
}
67
68
}
69
/* End of file SelectExpression.class.php */
70
/* Location: ./classes/db/queryparts/expression/SelectExpression.class.php */
Expression
Definition:
Expression.class.php:16
SelectExpression\$column_alias
$column_alias
Definition:
SelectExpression.class.php:25
SelectExpression\show
show()
Definition:
SelectExpression.class.php:48
SelectExpression\getArguments
getArguments()
Definition:
SelectExpression.class.php:58
SelectExpression
Definition:
SelectExpression.class.php:18
SelectExpression\__construct
__construct($column_name, $alias=NULL)
Definition:
SelectExpression.class.php:33
SelectExpression\isSubquery
isSubquery()
Definition:
SelectExpression.class.php:63
SelectExpression\getArgument
getArgument()
Definition:
SelectExpression.class.php:53
SelectExpression\getExpression
getExpression()
Definition:
SelectExpression.class.php:43
Expression\$column_name
$column_name
Definition:
Expression.class.php:23
Generated on Tue Dec 18 2018 17:04:25 for XpressEngine Core by
1.8.5