mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8564 201d5d3c-b55e-5fd7-737f-ddc643e51545
30 lines
No EOL
527 B
PHP
30 lines
No EOL
527 B
PHP
<?php
|
|
|
|
class Table {
|
|
var $name;
|
|
var $alias;
|
|
|
|
function Table($name, $alias = NULL){
|
|
$this->name = $name;
|
|
$this->alias = $alias;
|
|
}
|
|
|
|
function toString(){
|
|
//return $this->name;
|
|
return sprintf("%s%s", $this->name, $this->alias ? ' as ' . $this->alias : '');
|
|
}
|
|
|
|
function getName(){
|
|
return $this->name;
|
|
}
|
|
|
|
function getAlias(){
|
|
return $this->alias;
|
|
}
|
|
|
|
function isJoinTable(){
|
|
return false;
|
|
}
|
|
}
|
|
|
|
?>
|