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; } } /* End of file Table.class.php */ /* Location: ./classes/db/queryparts/table/Table.class.php */