protected static function getWithPrefix($table)
    {
        $prefix = static::$prefix;

        if (is_null($prefix) || empty($prefix)) {
            // If prefix is null, then no need to prepend a redundant _
            return $table;
        }

        return sprintf('%s_%s', $prefix, $table);
    }
protected static function getWithPrefix($table)
    {
        $prefix = static::$prefix;

        if (is_null($prefix) || empty($prefix)) {
            // If prefix is null, then no need to prepend a redundant _
            return $table;
        }

        return sprintf('%s_%s', $prefix, $table);
    }
protected static function getWithPrefix ( $ table ) { $ prefix = static :: $ prefix ; if ( is_null ( $ prefix ) || empty ( $ prefix ) ) { // If prefix is null, then no need to prepend a redundant _ return $ table ; } return sprintf ( '%s_%s' , $ prefix , $ table ) ; }
Returns table name with a prefix

@param string $table
@return string
Returns table name with a prefix