Method: db::prefix

Adds a prefix to a table name if set in c::set('db.prefix', 'myprefix_');
This makes it possible to use table names in all methods without prefix
and it will still be applied automatically.

Info

Syntax

db::prefix($table)

Parameters

Return (string)

The sanitized table name.