function initialize_database()
{
    $database = new Database();
    $database->create_table();
}
Пример #2
0
 /**
  * Returns the name of the table used to store the data
  *
  * @param  Database $database Database object
  * @return string             The name of the table
  */
 protected static function table_name($database = null)
 {
     if (!isset($database)) {
         $database = new Database();
     }
     return $database->table_name();
 }