base::table PHP Method

table() public static method

public static table ( $name = null )
    public static function table($name = null)
    {
        if (is_null(static::$prefix)) {
            static::$prefix = Config::db('prefix', '');
        }
        if (!is_null($name)) {
            return static::$prefix . $name;
        }
        return static::$prefix . static::$table;
    }