From 96435695a5600fe667520abaefbd54471c90490f Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Wed, 2 Jan 2008 15:48:24 +0000 Subject: [PATCH] Update ID, refname and methodsynopsis to the new-oo-style git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@249694 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mysqli/mysqli.xml | 4 +-- reference/mysqli/mysqli/affected-rows.xml | 16 +++++----- reference/mysqli/mysqli/autocommit.xml | 19 +++++------- reference/mysqli/mysqli/change-user.xml | 23 ++++++-------- .../mysqli/mysqli/character-set-name.xml | 19 +++++------- reference/mysqli/mysqli/close.xml | 19 +++++------- reference/mysqli/mysqli/commit.xml | 19 +++++------- reference/mysqli/mysqli/connect-errno.xml | 9 ++++-- reference/mysqli/mysqli/connect-error.xml | 9 ++++-- reference/mysqli/mysqli/connect.xml | 29 ++++++++--------- reference/mysqli/mysqli/debug.xml | 19 +++++------- reference/mysqli/mysqli/dump-debug-info.xml | 19 +++++------- reference/mysqli/mysqli/errno.xml | 16 +++++----- reference/mysqli/mysqli/error.xml | 16 +++++----- reference/mysqli/mysqli/field-count.xml | 16 +++++----- reference/mysqli/mysqli/get-charset.xml | 10 ++++-- reference/mysqli/mysqli/get-client-info.xml | 9 ++++-- .../mysqli/mysqli/get-client-version.xml | 9 ++++-- reference/mysqli/mysqli/get-host-info.xml | 16 +++++----- reference/mysqli/mysqli/get-proto-info.xml | 16 +++++----- reference/mysqli/mysqli/get-server-info.xml | 16 +++++----- .../mysqli/mysqli/get-server-version.xml | 16 +++++----- reference/mysqli/mysqli/get-warnings.xml | 10 ++++-- reference/mysqli/mysqli/info.xml | 16 +++++----- reference/mysqli/mysqli/init.xml | 18 +++++------ reference/mysqli/mysqli/insert-id.xml | 16 +++++----- reference/mysqli/mysqli/kill.xml | 19 +++++------- reference/mysqli/mysqli/more-results.xml | 10 ++++-- reference/mysqli/mysqli/multi-query.xml | 19 +++++------- reference/mysqli/mysqli/next-result.xml | 10 ++++-- reference/mysqli/mysqli/options.xml | 21 ++++++------- reference/mysqli/mysqli/ping.xml | 19 +++++------- reference/mysqli/mysqli/prepare.xml | 19 +++++------- reference/mysqli/mysqli/query.xml | 21 ++++++------- reference/mysqli/mysqli/real-connect.xml | 31 +++++++++---------- .../mysqli/mysqli/real-escape-string.xml | 23 ++++++-------- reference/mysqli/mysqli/real-query.xml | 19 +++++------- reference/mysqli/mysqli/rollback.xml | 19 ++++++------ reference/mysqli/mysqli/select-db.xml | 19 +++++------- reference/mysqli/mysqli/set-charset.xml | 19 +++++------- .../mysqli/set-local-infile-default.xml | 5 +-- .../mysqli/set-local-infile-handler.xml | 5 +-- reference/mysqli/mysqli/sqlstate.xml | 16 +++++----- reference/mysqli/mysqli/ssl-set.xml | 27 +++++++--------- reference/mysqli/mysqli/stat.xml | 19 +++++------- reference/mysqli/mysqli/stmt-init.xml | 16 +++++----- reference/mysqli/mysqli/store-result.xml | 19 +++++------- reference/mysqli/mysqli/thread-id.xml | 16 +++++----- reference/mysqli/mysqli/thread-safe.xml | 5 +-- reference/mysqli/mysqli/use-result.xml | 19 +++++------- reference/mysqli/mysqli/warning-count.xml | 16 +++++----- 51 files changed, 403 insertions(+), 432 deletions(-) diff --git a/reference/mysqli/mysqli.xml b/reference/mysqli/mysqli.xml index b0383ab8a7..bf2e9c3e00 100644 --- a/reference/mysqli/mysqli.xml +++ b/reference/mysqli/mysqli.xml @@ -1,5 +1,5 @@ - + The MySQLi class MySQLi @@ -34,7 +34,7 @@ Methods - + diff --git a/reference/mysqli/mysqli/affected-rows.xml b/reference/mysqli/mysqli/affected-rows.xml index c4ccd22804..a26b9d4e72 100644 --- a/reference/mysqli/mysqli/affected-rows.xml +++ b/reference/mysqli/mysqli/affected-rows.xml @@ -1,24 +1,24 @@ - - + + - mysqli_affected_rows mysqli->affected_rows + mysqli_affected_rows Gets the number of affected rows in a previous MySQL operation &reftitle.description; - Procedural style: - - intmysqli_affected_rows - mysqlilink - Object oriented style (property): mysqli intaffected_rows + Procedural style: + + intmysqli_affected_rows + mysqlilink + Returns the number of rows affected by the last INSERT, UPDATE, REPLACE or diff --git a/reference/mysqli/mysqli/autocommit.xml b/reference/mysqli/mysqli/autocommit.xml index dc2968dbab..d458e14f6f 100644 --- a/reference/mysqli/mysqli/autocommit.xml +++ b/reference/mysqli/mysqli/autocommit.xml @@ -1,28 +1,25 @@ - - + + + mysqli::autocommit mysqli_autocommit - mysqli->autocommit() Turns on or off auto-commiting database modifications &reftitle.description; + Object oriented style (method) + + boolmysqli::autocommit + boolmode + Procedural style: boolmysqli_autocommit mysqlilink boolmode - Object oriented style (method) - - mysqli - - boolautocommit - boolmode - - Turns on or off auto-commit mode on queries for the database connection. diff --git a/reference/mysqli/mysqli/change-user.xml b/reference/mysqli/mysqli/change-user.xml index 541018b34e..5e58115343 100644 --- a/reference/mysqli/mysqli/change-user.xml +++ b/reference/mysqli/mysqli/change-user.xml @@ -1,14 +1,21 @@ - - + + + mysqli::change_user mysqli_change_user - mysqli->change_user() Changes the user of the specified database connection &reftitle.description; + Object oriented style (method): + + boolmysqli::change_user + stringuser + stringpassword + stringdatabase + Procedural style: boolmysqli_change_user @@ -17,16 +24,6 @@ stringpassword stringdatabase - Object oriented style (method): - - mysqli - - boolchange_user - stringuser - stringpassword - stringdatabase - - Changes the user of the specified database connection and sets the current database. diff --git a/reference/mysqli/mysqli/character-set-name.xml b/reference/mysqli/mysqli/character-set-name.xml index 266453c68f..a8877ac2a7 100644 --- a/reference/mysqli/mysqli/character-set-name.xml +++ b/reference/mysqli/mysqli/character-set-name.xml @@ -1,27 +1,24 @@ - - + + + mysqli::character_set_name mysqli_character_set_name - mysqli->character_set_name() Returns the default character set for the database connection &reftitle.description; + Object oriented style (method): + + stringmysqli::character_set_name + + Procedural style: stringmysqli_character_set_name mysqlilink - Object oriented style (method): - - mysqli - - stringcharacter_set_name - - - Returns the current character set for the database connection. diff --git a/reference/mysqli/mysqli/close.xml b/reference/mysqli/mysqli/close.xml index fed42e62d4..14b379da13 100644 --- a/reference/mysqli/mysqli/close.xml +++ b/reference/mysqli/mysqli/close.xml @@ -1,27 +1,24 @@ - - + + + mysqli::close mysqli_close - mysqli->close() Closes a previously opened database connection &reftitle.description; + Object oriented style (method): + + boolmysqli::close + + Procedural style: boolmysqli_close mysqlilink - Object oriented style (method): - - mysqli - - boolclose - - - Closes a previously opened database connection. diff --git a/reference/mysqli/mysqli/commit.xml b/reference/mysqli/mysqli/commit.xml index 17605e70cc..2426a0ced2 100644 --- a/reference/mysqli/mysqli/commit.xml +++ b/reference/mysqli/mysqli/commit.xml @@ -1,27 +1,24 @@ - - + + + mysqli::commit mysqli_commit - mysqli->commit() Commits the current transaction &reftitle.description; + Object oriented style (method) + + boolmysqli::commit + + Procedural style: boolmysqli_commit mysqlilink - Object oriented style (method) - - mysqli - - boolcommit - - - Commits the current transaction for the database connection. diff --git a/reference/mysqli/mysqli/connect-errno.xml b/reference/mysqli/mysqli/connect-errno.xml index 9fdbcf2580..736da8e2bf 100644 --- a/reference/mysqli/mysqli/connect-errno.xml +++ b/reference/mysqli/mysqli/connect-errno.xml @@ -1,13 +1,18 @@ - - + + + mysqli->connect_errno mysqli_connect_errno Returns the error code from last connect call &reftitle.description; + + mysqli + stringconnect_errno + intmysqli_connect_errno diff --git a/reference/mysqli/mysqli/connect-error.xml b/reference/mysqli/mysqli/connect-error.xml index dc319b3f8e..a90fe52e00 100644 --- a/reference/mysqli/mysqli/connect-error.xml +++ b/reference/mysqli/mysqli/connect-error.xml @@ -1,13 +1,18 @@ - - + + + mysqli->connect_error mysqli_connect_error Returns a string description of the last connect error &reftitle.description; + + mysqli + stringconnect_error + stringmysqli_connect_error diff --git a/reference/mysqli/mysqli/connect.xml b/reference/mysqli/mysqli/connect.xml index d7cc0171cd..76c3346ec3 100644 --- a/reference/mysqli/mysqli/connect.xml +++ b/reference/mysqli/mysqli/connect.xml @@ -1,14 +1,24 @@ - - + + + mysqli::__construct mysqli_connect - mysqli->__construct() Open a new connection to the MySQL server &reftitle.description; + Object oriented style (constructor): + + mysqli::__construct + stringhost + stringusername + stringpasswd + stringdbname + intport + stringsocket + Procedural style mysqlimysqli_connect @@ -19,19 +29,6 @@ intport stringsocket - Object oriented style (constructor): - - mysqli - - __construct - stringhost - stringusername - stringpasswd - stringdbname - intport - stringsocket - - Opens a connection to the MySQL Server running on. diff --git a/reference/mysqli/mysqli/debug.xml b/reference/mysqli/mysqli/debug.xml index 371005edda..0d5c505f42 100644 --- a/reference/mysqli/mysqli/debug.xml +++ b/reference/mysqli/mysqli/debug.xml @@ -1,27 +1,24 @@ - - + + + mysqli::debug mysqli_debug - mysqli->debug() Performs debugging operations &reftitle.description; + Object oriented style (method): + + boolmysqli::debug + stringmessage + Procedural style: boolmysqli_debug stringmessage - Object oriented style (method): - - mysqli - - booldebug - stringmessage - - Performs debugging operations using the Fred Fish debugging library. diff --git a/reference/mysqli/mysqli/dump-debug-info.xml b/reference/mysqli/mysqli/dump-debug-info.xml index e38b82b437..9372de1985 100644 --- a/reference/mysqli/mysqli/dump-debug-info.xml +++ b/reference/mysqli/mysqli/dump-debug-info.xml @@ -1,27 +1,24 @@ - - + + + mysqli::dump_debug_info mysqli_dump_debug_info - mysqli->dump_debug_info() Dump debugging information into the log &reftitle.description; + Object oriented style (method): + + boolmysqli::dump_debug_info + + Procedural style: boolmysqli_dump_debug_info mysqlilink - Object oriented style (method): - - mysqli - - booldump_debug_info - - - This function is designed to be executed by an user with the SUPER privilege and is used to dump debugging information into the log for the diff --git a/reference/mysqli/mysqli/errno.xml b/reference/mysqli/mysqli/errno.xml index 5a33692ba8..56237c3088 100644 --- a/reference/mysqli/mysqli/errno.xml +++ b/reference/mysqli/mysqli/errno.xml @@ -1,24 +1,24 @@ - - + + - mysqli_errno mysqli->errno + mysqli_errno Returns the error code for the most recent function call &reftitle.description; - Procedural style: - - intmysqli_errno - mysqlilink - Object oriented style (property): mysqli interrno + Procedural style: + + intmysqli_errno + mysqlilink + Returns the last error code for the most recent MySQLi function call that can succeed or fail. diff --git a/reference/mysqli/mysqli/error.xml b/reference/mysqli/mysqli/error.xml index f526793211..dd870ada06 100644 --- a/reference/mysqli/mysqli/error.xml +++ b/reference/mysqli/mysqli/error.xml @@ -1,24 +1,24 @@ - - + + - mysqli_error mysqli->error + mysqli_error Returns a string description of the last error &reftitle.description; - Procedural style: - - stringmysqli_error - mysqlilink - Object oriented style (property): mysqli stringerror + Procedural style: + + stringmysqli_error + mysqlilink + Returns the last error message for the most recent MySQLi function call that can succeed or fail. diff --git a/reference/mysqli/mysqli/field-count.xml b/reference/mysqli/mysqli/field-count.xml index 4ee3a97069..8abeae84a2 100644 --- a/reference/mysqli/mysqli/field-count.xml +++ b/reference/mysqli/mysqli/field-count.xml @@ -1,24 +1,24 @@ - - + + - mysqli_field_count mysqli->field_count + mysqli_field_count Returns the number of columns for the most recent query &reftitle.description; - Procedural style: - - intmysqli_field_count - mysqlilink - Object oriented style (property): mysqli_result intfield_count + Procedural style: + + intmysqli_field_count + mysqlilink + Returns the number of columns for the most recent query on the connection represented by the link parameter. This function diff --git a/reference/mysqli/mysqli/get-charset.xml b/reference/mysqli/mysqli/get-charset.xml index a95cc57442..b4f005042b 100644 --- a/reference/mysqli/mysqli/get-charset.xml +++ b/reference/mysqli/mysqli/get-charset.xml @@ -1,13 +1,19 @@ - - + + + mysqli::get_charset mysqli_get_charset Returns a character set object &reftitle.description; + + objectmysqli::get_charset + + + objectmysqli_get_charset mysqlilink diff --git a/reference/mysqli/mysqli/get-client-info.xml b/reference/mysqli/mysqli/get-client-info.xml index 685a7e33d5..67942132f0 100644 --- a/reference/mysqli/mysqli/get-client-info.xml +++ b/reference/mysqli/mysqli/get-client-info.xml @@ -1,13 +1,18 @@ - - + + + mysqli::get_client_info mysqli_get_client_info Returns the MySQL client version as a string &reftitle.description; + + stringmysqli::get_client_info + + stringmysqli_get_client_info diff --git a/reference/mysqli/mysqli/get-client-version.xml b/reference/mysqli/mysqli/get-client-version.xml index c246093d19..e2dad7a884 100644 --- a/reference/mysqli/mysqli/get-client-version.xml +++ b/reference/mysqli/mysqli/get-client-version.xml @@ -1,13 +1,18 @@ - - + + + mysqli::get_client_version mysqli_get_client_version Get MySQL client info &reftitle.description; + + intmysqli::get_client_version + + intmysqli_get_client_version diff --git a/reference/mysqli/mysqli/get-host-info.xml b/reference/mysqli/mysqli/get-host-info.xml index c666047e98..8fbdcbd698 100644 --- a/reference/mysqli/mysqli/get-host-info.xml +++ b/reference/mysqli/mysqli/get-host-info.xml @@ -1,24 +1,24 @@ - - + + - mysqli_get_host_info mysqli->host_info + mysqli_get_host_info Returns a string representing the type of connection used &reftitle.description; - Procdural style: - - stringmysqli_get_host_info - mysqlilink - Object oriented style (property): mysqli stringhost_info + Procdural style: + + stringmysqli_get_host_info + mysqlilink + The mysqli_get_host_info function returns a string describing the connection represented by the link diff --git a/reference/mysqli/mysqli/get-proto-info.xml b/reference/mysqli/mysqli/get-proto-info.xml index 16389d921d..0a86afc4e1 100644 --- a/reference/mysqli/mysqli/get-proto-info.xml +++ b/reference/mysqli/mysqli/get-proto-info.xml @@ -1,24 +1,24 @@ - - + + - mysqli_get_proto_info mysqli->protocol_version + mysqli_get_proto_info Returns the version of the MySQL protocol used &reftitle.description; - Procedural style: - - intmysqli_get_proto_info - mysqlilink - Object oriented style (property): mysqli stringprotocol_version + Procedural style: + + intmysqli_get_proto_info + mysqlilink + Returns an integer representing the MySQL protocol version used by the connection represented by the link parameter. diff --git a/reference/mysqli/mysqli/get-server-info.xml b/reference/mysqli/mysqli/get-server-info.xml index 437ca3ceba..7156159fc9 100644 --- a/reference/mysqli/mysqli/get-server-info.xml +++ b/reference/mysqli/mysqli/get-server-info.xml @@ -1,24 +1,24 @@ - - + + - mysqli_get_server_info mysqli->server_info + mysqli_get_server_info Returns the version of the MySQL server &reftitle.description; - Procedural style: - - stringmysqli_get_server_info - mysqlilink - Object oriented style (property): mysqli stringserver_info + Procedural style: + + stringmysqli_get_server_info + mysqlilink + Returns a string representing the version of the MySQL server that the MySQLi extension is connected to. diff --git a/reference/mysqli/mysqli/get-server-version.xml b/reference/mysqli/mysqli/get-server-version.xml index eab8648326..24c4e32d32 100644 --- a/reference/mysqli/mysqli/get-server-version.xml +++ b/reference/mysqli/mysqli/get-server-version.xml @@ -1,24 +1,24 @@ - - + + - mysqli_get_server_version mysqli->server_version + mysqli_get_server_version Returns the version of the MySQL server as an integer &reftitle.description; - Procedural style: - - intmysqli_get_server_version - mysqlilink - Object oriented style (property): mysqli intserver_version + Procedural style: + + intmysqli_get_server_version + mysqlilink + The mysqli_get_server_version function returns the version of the server connected to (represented by the diff --git a/reference/mysqli/mysqli/get-warnings.xml b/reference/mysqli/mysqli/get-warnings.xml index 2c1b502c03..bc7d18c1c5 100644 --- a/reference/mysqli/mysqli/get-warnings.xml +++ b/reference/mysqli/mysqli/get-warnings.xml @@ -1,13 +1,19 @@ - - + + + mysqli::get_warnings mysqli_get_warnings &reftitle.description; + + objectmysqli::get_warnings + + + objectmysqli_get_warnings mysqlilink diff --git a/reference/mysqli/mysqli/info.xml b/reference/mysqli/mysqli/info.xml index b1f55bc785..5ea127f7de 100644 --- a/reference/mysqli/mysqli/info.xml +++ b/reference/mysqli/mysqli/info.xml @@ -1,24 +1,24 @@ - - + + - mysqli_info mysqli->info + mysqli_info Retrieves information about the most recently executed query &reftitle.description; - Procedural style: - - stringmysqli_info - mysqlilink - Object oriented style (property) mysqli stringinfo + Procedural style: + + stringmysqli_info + mysqlilink + The mysqli_info function returns a string providing information about the last query executed. The nature of this string is diff --git a/reference/mysqli/mysqli/init.xml b/reference/mysqli/mysqli/init.xml index a774767b99..a539daee15 100644 --- a/reference/mysqli/mysqli/init.xml +++ b/reference/mysqli/mysqli/init.xml @@ -1,26 +1,24 @@ - - + + + mysqli::init mysqli_init Initializes MySQLi and returns a resource for use with mysqli_real_connect() &reftitle.description; + Object oriented style (method): + + mysqliinit + + Procedural style: mysqlimysqli_init - Object oriented style (method): - - mysqli - - mysqliinit - - - Allocates or initializes a MYSQL object suitable for mysqli_options and mysqli_real_connect. diff --git a/reference/mysqli/mysqli/insert-id.xml b/reference/mysqli/mysqli/insert-id.xml index d7aa6fa0b4..6cdfe1bf02 100644 --- a/reference/mysqli/mysqli/insert-id.xml +++ b/reference/mysqli/mysqli/insert-id.xml @@ -1,24 +1,24 @@ - - + + - mysqli_insert_id mysqli->insert_id + mysqli_insert_id Returns the auto generated id used in the last query &reftitle.description; - Procedural style: - - intmysqli_insert_id - mysqlilink - Object oriented style (property): mysqli intinsert_id + Procedural style: + + intmysqli_insert_id + mysqlilink + The mysqli_insert_id function returns the ID generated by a query on a table with a column having the AUTO_INCREMENT attribute. If diff --git a/reference/mysqli/mysqli/kill.xml b/reference/mysqli/mysqli/kill.xml index 41348ffc29..e0df009941 100644 --- a/reference/mysqli/mysqli/kill.xml +++ b/reference/mysqli/mysqli/kill.xml @@ -1,28 +1,25 @@ - - + + + mysqli::kill mysqli_kill - mysqli->kill() Asks the server to kill a MySQL thread &reftitle.description; + Object oriented style (method) + + boolmysqli::kill + intprocessid + Procedural style: boolmysqli_kill mysqlilink intprocessid - Object oriented style (method) - - mysqli - - boolkill - intprocessid - - This function is used to ask the server to kill a MySQL thread specified by the processid parameter. This value must be diff --git a/reference/mysqli/mysqli/more-results.xml b/reference/mysqli/mysqli/more-results.xml index 08e2103876..8e3ae8d220 100644 --- a/reference/mysqli/mysqli/more-results.xml +++ b/reference/mysqli/mysqli/more-results.xml @@ -1,14 +1,18 @@ - - + + + mysqli::more_results mysqli_more_results - mysqli->more_results Check if there are any more query results from a multi query &reftitle.description; + + boolmysqli::more_results + + boolmysqli_more_results mysqlilink diff --git a/reference/mysqli/mysqli/multi-query.xml b/reference/mysqli/mysqli/multi-query.xml index 4062111711..16ca161532 100644 --- a/reference/mysqli/mysqli/multi-query.xml +++ b/reference/mysqli/mysqli/multi-query.xml @@ -1,28 +1,25 @@ - - + + + mysqli::multi_query mysqli_multi_query - mysqli->multi_query() Performs a query on the database &reftitle.description; + Object oriented style (method): + + boolmysqli::multi_query + stringquery + Procedural style: boolmysqli_multi_query mysqlilink stringquery - Object oriented style (method): - - mysqli - - boolmulti_query - stringquery - - Executes one or multiple queries which are concatenated by a semicolon. diff --git a/reference/mysqli/mysqli/next-result.xml b/reference/mysqli/mysqli/next-result.xml index 0387c1cc08..ef653617a0 100644 --- a/reference/mysqli/mysqli/next-result.xml +++ b/reference/mysqli/mysqli/next-result.xml @@ -1,14 +1,18 @@ - - + + + mysqli::next_result mysqli_next_result - mysqli->next_result() Prepare next result from multi_query &reftitle.description; + + boolmysqli::next_result + + boolmysqli_next_result mysqlilink diff --git a/reference/mysqli/mysqli/options.xml b/reference/mysqli/mysqli/options.xml index 6346c7b0ce..f3485cb663 100644 --- a/reference/mysqli/mysqli/options.xml +++ b/reference/mysqli/mysqli/options.xml @@ -1,14 +1,20 @@ - - + + + mysqli::options mysqli_options - mysqli->options() Set options &reftitle.description; + Object oriented style (method) + + boolmysqli::options + intoption + mixedvalue + Procedural style: boolmysqli_options @@ -16,15 +22,6 @@ intoption mixedvalue - Object oriented style (method) - - mysqli - - booloptions - intoption - mixedvalue - - Used to set extra connect options and affect behavior for a connection. diff --git a/reference/mysqli/mysqli/ping.xml b/reference/mysqli/mysqli/ping.xml index ae6b735e36..a0c5c76e27 100644 --- a/reference/mysqli/mysqli/ping.xml +++ b/reference/mysqli/mysqli/ping.xml @@ -1,27 +1,24 @@ - - + + + mysqli::ping mysqli_ping - mysqli->ping() Pings a server connection, or tries to reconnect if the connection has gone down &reftitle.description; + Object oriented style (method): + + boolmysqli::ping + + Procedural style: boolmysqli_ping mysqlilink - Object oriented style (method): - - mysqli - - boolping - - - Checks whether the connection to the server is working. If it has gone down, and global option mysqli.reconnect is enabled diff --git a/reference/mysqli/mysqli/prepare.xml b/reference/mysqli/mysqli/prepare.xml index f11b1bb41f..553040b6b2 100644 --- a/reference/mysqli/mysqli/prepare.xml +++ b/reference/mysqli/mysqli/prepare.xml @@ -1,28 +1,25 @@ - - + + + mysqli::prepare mysqli_prepare - mysqli->prepare() Prepare a SQL statement for execution &reftitle.description; + Object oriented style (method) + + mysqli_stmtprepare + stringquery + Procedure style: mysqli_stmtmysqli_prepare mysqlilink stringquery - Object oriented style (method) - - mysqli - - mysqli_stmtprepare - stringquery - - Prepares the SQL query pointed to by the null-terminated string query, and returns a statement handle to be used for further operations on the diff --git a/reference/mysqli/mysqli/query.xml b/reference/mysqli/mysqli/query.xml index eb9160c5d4..940ec18977 100644 --- a/reference/mysqli/mysqli/query.xml +++ b/reference/mysqli/mysqli/query.xml @@ -1,14 +1,20 @@ - - + + + mysqli::query mysqli_query - mysqli->query() Performs a query on the database &reftitle.description; + Object oriented style (method): + + mixedmysqli::query + stringquery + intresultmode + Procedural style: mixedmysqli_query @@ -16,15 +22,6 @@ stringquery intresultmode - Object oriented style (method): - - mysqli - - mixedquery - stringquery - intresultmode - - Performs a query against the database. diff --git a/reference/mysqli/mysqli/real-connect.xml b/reference/mysqli/mysqli/real-connect.xml index b6adc08102..04bf244c01 100644 --- a/reference/mysqli/mysqli/real-connect.xml +++ b/reference/mysqli/mysqli/real-connect.xml @@ -1,14 +1,25 @@ - - + + + mysqli::real_connect mysqli_real_connect - mysqli->real_connect() Opens a connection to a mysql server &reftitle.description; + Object oriented style (method) + + boolmysqli::real_connect + stringhost + stringusername + stringpasswd + stringdbname + intport + stringsocket + intflags + Procedural style boolmysqli_real_connect @@ -21,20 +32,6 @@ stringsocket intflags - Object oriented style (method) - - mysqli - - boolreal_connect - stringhost - stringusername - stringpasswd - stringdbname - intport - stringsocket - intflags - - Establish a connection to a MySQL database engine. diff --git a/reference/mysqli/mysqli/real-escape-string.xml b/reference/mysqli/mysqli/real-escape-string.xml index a34e100879..0c0b248d38 100644 --- a/reference/mysqli/mysqli/real-escape-string.xml +++ b/reference/mysqli/mysqli/real-escape-string.xml @@ -1,32 +1,29 @@ - - + + + mysqli::real_escape_string mysqli_real_escape_string - mysqli->real_escape_string() Escapes special characters in a string for use in a SQL statement, taking into account the current charset of the connection &reftitle.description; - Procedural style: - - stringmysqli_real_escape_string - mysqlilink - stringescapestr - Object oriented style (both methods are equivalent): - - mysqli - stringescape_string + stringmysqli::escape_string stringescapestr stringreal_escape_string stringescapestr - + Procedural style: + + stringmysqli_real_escape_string + mysqlilink + stringescapestr + This function is used to create a legal SQL string that you can use in an SQL statement. The given string is encoded to an escaped SQL string, diff --git a/reference/mysqli/mysqli/real-query.xml b/reference/mysqli/mysqli/real-query.xml index a519df01c1..54ca92bb6a 100644 --- a/reference/mysqli/mysqli/real-query.xml +++ b/reference/mysqli/mysqli/real-query.xml @@ -1,28 +1,25 @@ - - + + + mysqli::real_query mysqli_real_query - mysqli->real_query() Execute an SQL query &reftitle.description; + Object oriented style (method): + + boolreal_query + stringquery + Procedural style boolmysqli_real_query mysqlilink stringquery - Object oriented style (method): - - mysqli - - boolreal_query - stringquery - - Executes a single query against the database whose result can then be retrieved or stored using the mysqli_store_result or diff --git a/reference/mysqli/mysqli/rollback.xml b/reference/mysqli/mysqli/rollback.xml index b4e821933c..3455607acb 100644 --- a/reference/mysqli/mysqli/rollback.xml +++ b/reference/mysqli/mysqli/rollback.xml @@ -1,25 +1,24 @@ - - + + + mysqli::rollback mysqli_rollback - mysqli->rollback() Rolls back current transaction &reftitle.description; + Object oriented style (method): + + boolmysqli::rollback + + + Procedural style: boolmysqli_rollback mysqlilink - - mysqli - - boolrollback - - - Rollbacks the current transaction for the database. diff --git a/reference/mysqli/mysqli/select-db.xml b/reference/mysqli/mysqli/select-db.xml index 93ba4287c6..aae321e13a 100644 --- a/reference/mysqli/mysqli/select-db.xml +++ b/reference/mysqli/mysqli/select-db.xml @@ -1,28 +1,25 @@ - - + + + mysqli::select_db mysqli_select_db - mysqli->select_db() Selects the default database for database queries &reftitle.description; + Object oriented style (method): + + boolmysqli::select_db + stringdbname + Procedural style: boolmysqli_select_db mysqlilink stringdbname - Object oriented style (method): - - mysqli - - boolselect_db - stringdbname - - Selects the default database to be used when performing queries against the database connection. diff --git a/reference/mysqli/mysqli/set-charset.xml b/reference/mysqli/mysqli/set-charset.xml index a362903ba4..3bdb5becf4 100644 --- a/reference/mysqli/mysqli/set-charset.xml +++ b/reference/mysqli/mysqli/set-charset.xml @@ -1,28 +1,25 @@ - - + + + mysqli::set_charset mysqli_set_charset - mysqli->set_charset Sets the default client character set &reftitle.description; + Object oriented style (method): + + boolmysqli::set_charset + stringcharset + Procedural style: boolmysqli_set_charset mysqlilink stringcharset - Object oriented style (method): - - mysqli - - boolset_charset - stringcharset - - Sets the default character set to be used when sending data from and to the database server. diff --git a/reference/mysqli/mysqli/set-local-infile-default.xml b/reference/mysqli/mysqli/set-local-infile-default.xml index 1b876331ce..073399ce56 100644 --- a/reference/mysqli/mysqli/set-local-infile-default.xml +++ b/reference/mysqli/mysqli/set-local-infile-default.xml @@ -1,7 +1,8 @@ - - + + + mysqli::set_local_infile_default mysqli_set_local_infile_default Unsets user defined handler for load local infile command diff --git a/reference/mysqli/mysqli/set-local-infile-handler.xml b/reference/mysqli/mysqli/set-local-infile-handler.xml index 6dec5d72f0..2d3a071db6 100644 --- a/reference/mysqli/mysqli/set-local-infile-handler.xml +++ b/reference/mysqli/mysqli/set-local-infile-handler.xml @@ -1,7 +1,8 @@ - - + + + mysqli::set_local_infile_handler mysqli_set_local_infile_handler Set callback functions for LOAD DATA LOCAL INFILE command diff --git a/reference/mysqli/mysqli/sqlstate.xml b/reference/mysqli/mysqli/sqlstate.xml index 10f99d13ab..bc6701220d 100644 --- a/reference/mysqli/mysqli/sqlstate.xml +++ b/reference/mysqli/mysqli/sqlstate.xml @@ -1,24 +1,24 @@ - - + + - mysqli_sqlstate mysqli->sqlstate + mysqli_sqlstate Returns the SQLSTATE error from previous MySQL operation &reftitle.description; - Procedural style: - - stringmysqli_sqlstate - mysqlilink - Object oriented style (property): mysqli stringsqlstate + Procedural style: + + stringmysqli_sqlstate + mysqlilink + Returns a string containing the SQLSTATE error code for the last error. The error code consists of five characters. '00000' means no error. diff --git a/reference/mysqli/mysqli/ssl-set.xml b/reference/mysqli/mysqli/ssl-set.xml index 012759856d..19b5436707 100644 --- a/reference/mysqli/mysqli/ssl-set.xml +++ b/reference/mysqli/mysqli/ssl-set.xml @@ -1,14 +1,23 @@ - - + + + mysqli::ssl_set mysqli_ssl_set - mysqli->ssl_set() Used for establishing secure connections using SSL &reftitle.description; + Object oriented style (method): + + boolmysqli::ssl_set + stringkey + stringcert + stringca + stringcapath + stringcipher + Procedural style: boolmysqli_ssl_set @@ -19,18 +28,6 @@ stringcapath stringcipher - Object oriented style (method): - - mysqli - - boolssl_set - stringkey - stringcert - stringca - stringcapath - stringcipher - - Used for establishing secure connections using SSL. It must be called before mysqli_real_connect. This function does diff --git a/reference/mysqli/mysqli/stat.xml b/reference/mysqli/mysqli/stat.xml index 71d2c29e5c..9dc8d8b9b8 100644 --- a/reference/mysqli/mysqli/stat.xml +++ b/reference/mysqli/mysqli/stat.xml @@ -1,27 +1,24 @@ - - + + + mysqli::stat mysqli_stat - mysqli->stat() Gets the current system status &reftitle.description; + Object oriented style (method): + + stringmysqli::stat + + Procedural style: stringmysqli_stat mysqlilink - Object oriented style (method): - - mysqli - - stringstat - - - mysqli_stat returns a string containing information similar to that provided by the 'mysqladmin status' command. diff --git a/reference/mysqli/mysqli/stmt-init.xml b/reference/mysqli/mysqli/stmt-init.xml index c71419e663..c5d2a80f03 100644 --- a/reference/mysqli/mysqli/stmt-init.xml +++ b/reference/mysqli/mysqli/stmt-init.xml @@ -1,19 +1,14 @@ - - + + + mysqli::stmt_init mysqli_stmt_init - mysqli->stmt_init() Initializes a statement and returns an object for use with mysqli_stmt_prepare &reftitle.description; - Procedural style : - - mysqli_stmtmysqli_stmt_init - mysqlilink - Object oriented style (property): mysqli @@ -22,6 +17,11 @@ + Procedural style : + + mysqli_stmtmysqli_stmt_init + mysqlilink + Allocates and initializes a statement object suitable for mysqli_stmt_prepare. diff --git a/reference/mysqli/mysqli/store-result.xml b/reference/mysqli/mysqli/store-result.xml index 2bcb4df570..86d1e4ed2c 100644 --- a/reference/mysqli/mysqli/store-result.xml +++ b/reference/mysqli/mysqli/store-result.xml @@ -1,27 +1,24 @@ - - + + + mysqli::store_result mysqli_store_result - mysqli->store_result() Transfers a result set from the last query &reftitle.description; + Object oriented style (method): + + mysqli_resultstore_result + + Procedural style: mysqli_resultmysqli_store_result mysqlilink - Object oriented style (method): - - mysqli - - mysqli_resultstore_result - - - Transfers the result set from the last query on the database connection represented by the link parameter to be used with diff --git a/reference/mysqli/mysqli/thread-id.xml b/reference/mysqli/mysqli/thread-id.xml index 160ff88c96..608074e3a9 100644 --- a/reference/mysqli/mysqli/thread-id.xml +++ b/reference/mysqli/mysqli/thread-id.xml @@ -1,24 +1,24 @@ - - + + + mysqli::thread_id mysqli_thread_id - mysqli->thread_id Returns the thread ID for the current connection &reftitle.description; - Procedural style: - - intmysqli_thread_id - mysqlilink - Object oriented style (property): mysqli intthread_id + Procedural style: + + intmysqli_thread_id + mysqlilink + The mysqli_thread_id function returns the thread ID for the current connection which can then be killed using the diff --git a/reference/mysqli/mysqli/thread-safe.xml b/reference/mysqli/mysqli/thread-safe.xml index 32d8ea8a78..63367b72bf 100644 --- a/reference/mysqli/mysqli/thread-safe.xml +++ b/reference/mysqli/mysqli/thread-safe.xml @@ -1,7 +1,8 @@ - - + + + mysqli::thread_safe mysqli_thread_safe Returns whether thread safety is given or not diff --git a/reference/mysqli/mysqli/use-result.xml b/reference/mysqli/mysqli/use-result.xml index 1dbb48e577..3784b57e98 100644 --- a/reference/mysqli/mysqli/use-result.xml +++ b/reference/mysqli/mysqli/use-result.xml @@ -1,27 +1,24 @@ - - + + + mysqli::use_result mysqli_use_result - mysqli->use_result() Initiate a result set retrieval &reftitle.description; + Object oriented style (method): + + mysqli_resultuse_result + + Procedural style: mysqli_resultmysqli_use_result mysqlilink - Object oriented style (method): - - mysqli - - mysqli_resultuse_result - - - Used to initiate the retrieval of a result set from the last query executed using the mysqli_real_query function on the diff --git a/reference/mysqli/mysqli/warning-count.xml b/reference/mysqli/mysqli/warning-count.xml index a150106901..bbf388ea55 100644 --- a/reference/mysqli/mysqli/warning-count.xml +++ b/reference/mysqli/mysqli/warning-count.xml @@ -1,24 +1,24 @@ - - + + + mysqli::warning_count mysqli_warning_count - mysqli->warning_count Returns the number of warnings from the last query for the given link &reftitle.description; - Procedural style: - - intmysqli_warning_count - mysqlilink - Object oriented style (property): mysqli intwarning_count + Procedural style: + + intmysqli_warning_count + mysqlilink + Returns the number of warnings from the last query in the connection.