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
- $table (string) The name of the table with or without prefix
Return (string)
The sanitized table name.