You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mods-for-HESK-Netsyms/api/DataAccess/Entities/BaseEntity.php

14 lines
248 B
PHP

<?php
namespace DataAccess\Entities;
use Spot\Entity;
class BaseEntity extends Entity {
public static function table($tableName) {
global $hesk_settings;
return parent::table($hesk_settings['db_pfix'] . $tableName);
}
}