Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Habari
DatabaseConnection
register_table
Habari\DatabaseConnection::register_table PHP Method
DatabaseConnection Class Documentation
Show file
Open project: habari/system
register_table()
public
method
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
register_table
(
string
$name
)
$name
string
the table name
public function register_table($name) { $this->tables[] = $name; $this->load_tables(); }
DatabaseConnection
ConnectionFactory
add_error
begin_transaction
clear_errors
commit
connect
dbdelta
delete
disconnect
exec
execute_procedure
exists
filter_tables
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
is_connected
last_insert_id
list_tables
load_tables
query
query_file
quote
register_table
rollback
row_count
set_fetch_class
set_fetch_mode
sql_t
table
update
upgrade
upgrade_post
upgrade_pre