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
set_fetch_mode
Habari\DatabaseConnection::set_fetch_mode PHP Method
DatabaseConnection Class Documentation
Show file
Open project: habari/system
set_fetch_mode()
public
method
Sets the fetch mode for return calls from PDOStatement
public
set_fetch_mode
(
integer
$mode
)
$mode
integer
One of the PDO::FETCH_MODE integers
public function set_fetch_mode($mode) { $this->fetch_mode = $mode; }
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