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
table
Table.class.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (C) NAVER <http://www.navercorp.com> */
3
9
class
Table
10
{
11
16
var
$name
;
17
22
var
$alias
;
23
30
function
__construct
(
$name
,
$alias
= NULL)
31
{
32
$this->name =
$name
;
33
$this->alias =
$alias
;
34
}
35
36
function
toString
()
37
{
38
//return $this->name;
39
return
sprintf(
"%s%s"
, $this->name, $this->alias ?
' as '
. $this->alias :
''
);
40
}
41
42
function
getName
()
43
{
44
return
$this->name
;
45
}
46
47
function
getAlias
()
48
{
49
return
$this->alias
;
50
}
51
52
function
isJoinTable
()
53
{
54
return
false
;
55
}
56
57
}
58
/* End of file Table.class.php */
59
/* Location: ./classes/db/queryparts/table/Table.class.php */
Table\__construct
__construct($name, $alias=NULL)
Definition:
Table.class.php:30
Table\getName
getName()
Definition:
Table.class.php:42
Table\isJoinTable
isJoinTable()
Definition:
Table.class.php:52
Table\getAlias
getAlias()
Definition:
Table.class.php:47
Table\$name
$name
Definition:
Table.class.php:16
Table\toString
toString()
Definition:
Table.class.php:36
Table
Definition:
Table.class.php:9
Table\$alias
$alias
Definition:
Table.class.php:22
Generated on Tue Dec 18 2018 17:04:25 for XpressEngine Core by
1.8.5