2013-01-26 21:46:54 +00:00
|
|
|
<?php
|
|
|
|
namespace chat\data;
|
|
|
|
|
2013-01-27 16:24:00 +00:00
|
|
|
/**
|
2013-01-27 17:07:24 +00:00
|
|
|
* Basic implementation that sets proper table name.
|
|
|
|
*
|
2013-01-27 16:24:00 +00:00
|
|
|
* @author Tim Düsterhus
|
|
|
|
* @copyright 2010-2013 Tim Düsterhus
|
|
|
|
* @license Creative Commons Attribution-NonCommercial-ShareAlike <http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode>
|
|
|
|
* @package be.bastelstu.chat
|
|
|
|
* @subpackage data
|
|
|
|
*/
|
2013-01-26 21:46:54 +00:00
|
|
|
abstract class CHATDatabaseObject extends \wcf\data\DatabaseObject {
|
|
|
|
/**
|
2013-01-27 17:14:27 +00:00
|
|
|
* @see \wcf\data\DatabaseObject::getDatabaseTableName()
|
2013-01-27 16:27:47 +00:00
|
|
|
*/
|
2013-01-26 21:46:54 +00:00
|
|
|
public static function getDatabaseTableName() {
|
2013-01-27 16:24:00 +00:00
|
|
|
return 'chat'.WCF_N.'_'.static::$databaseTableName;
|
2013-01-26 21:46:54 +00:00
|
|
|
}
|
2013-01-27 16:27:47 +00:00
|
|
|
}
|