Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Habari
DB
register_table
Habari\DB::register_table PHP Метод
Документация по классу DB
Показать файл
Открыть проект
register_table()
публичный
статический
Метод
Adds a table to the list of tables known to Habari. Used by Theme and Plugin classes to inform the DB class about custom tables used by the plugin
public
static
register_table
(
string
$name
)
$name
string
The table name
public static function register_table($name) { DB::instance()->connection->register_table($name); }
DB
add_error
begin_transaction
clear_errors
commit
connect
dbdelta
delete
disconnect
exec
execute_procedure
exists
get_column
get_driver_name
get_driver_version
get_errors
get_keyvalue
get_last_error
get_profiles
get_results
get_row
get_value
has_errors
in_transaction
insert
instance
is_connected
last_insert_id
list_tables
query
quote
register_table
rollback
row_count
set_fetch_class
set_fetch_mode
table
update
upgrade
upgrade_post
upgrade_pre