Java Doc for MysqliModule.java in  » EJB-Server-resin-3.1.5 » quercus » com » caucho » quercus » lib » db » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » EJB Server resin 3.1.5 » quercus » com.caucho.quercus.lib.db 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.quercus.module.AbstractQuercusModule
      com.caucho.quercus.lib.db.MysqliModule

MysqliModule
public class MysqliModule extends AbstractQuercusModule (Code)
Quercus mysql routines.


Field Summary
final public static  intAUTO_INCREMENT_FLAG
    
final public static  intBINARY_FLAG
    
final public static  intBINCMP_FLAG
    
final public static  intBLOB_FLAG
    
final public static  intENUM_FLAG
    
final public static  intGROUP_FLAG
    
final public static  intMULTIPLE_KEY_FLAG
    
final public static  intMYSQLI_ASSOC
    
final public static  intMYSQLI_BOTH
    
final public static  intMYSQLI_NUM
    
final public static  intMYSQLI_STORE_RESULT
    
final public static  intMYSQLI_USE_RESULT
    
final public static  intMYSQL_CLIENT_COMPRESS
    
final public static  intMYSQL_CLIENT_IGNORE_SPACE
    
final public static  intMYSQL_CLIENT_INTERACTIVE
    
final public static  intMYSQL_CLIENT_SSL
    
final public static  intMYSQL_TYPE_BLOB
    
final public static  intMYSQL_TYPE_DATE
    
final public static  intMYSQL_TYPE_DATETIME
    
final public static  intMYSQL_TYPE_DECIMAL
    
final public static  intMYSQL_TYPE_DOUBLE
    
final public static  intMYSQL_TYPE_ENUM
    
final public static  intMYSQL_TYPE_FLOAT
    
final public static  intMYSQL_TYPE_GEOMETRY
    
final public static  intMYSQL_TYPE_INT24
    
final public static  intMYSQL_TYPE_LONG
    
final public static  intMYSQL_TYPE_LONGLONG
    
final public static  intMYSQL_TYPE_LONG_BLOB
    
final public static  intMYSQL_TYPE_MEDIUM_BLOB
    
final public static  intMYSQL_TYPE_NEWDATE
    
final public static  intMYSQL_TYPE_NULL
    
final public static  intMYSQL_TYPE_SET
    
final public static  intMYSQL_TYPE_SHORT
    
final public static  intMYSQL_TYPE_STRING
    
final public static  intMYSQL_TYPE_TIME
    
final public static  intMYSQL_TYPE_TIMESTAMP
    
final public static  intMYSQL_TYPE_TINY
    
final public static  intMYSQL_TYPE_TINY_BLOB
    
final public static  intMYSQL_TYPE_VAR_STRING
    
final public static  intMYSQL_TYPE_YEAR
    
final public static  intNOT_NULL_FLAG
    
final public static  intNUM_FLAG
    
final public static  intPART_KEY_FLAG
    
final public static  intPRI_KEY_FLAG
    
final public static  intSET_FLAG
    
final public static  intTIMESTAMP_FLAG
    
final public static  intUNIQUE_FLAG
    
final public static  intUNIQUE_KEY_FLAG
    
final public static  intUNSIGNED_FLAG
    
final public static  intZEROFILL_FLAG
    

Constructor Summary
public  MysqliModule()
    

Method Summary
static  voidescapeString(StringBuilder buf, String unescapedString)
    
public  String[]getLoadedExtensions()
     Returns true for the mysql extension.
public  intmysql_stmt_affected_rows(Mysqli mysqli)
     Returns the number of affected rows.
public  booleanmysql_stmt_close(MysqliStatement stmt)
     Closes the statement.
public  intmysql_stmt_errno(Env env, MysqliStatement stmt)
     Returns the error number.
public  Stringmysql_stmt_error(Env env, MysqliStatement stmt)
     Returns a descrption of the error or an empty strng for no error.
public static  intmysqli_affected_rows(Mysqli conn)
     Returns the number of affected rows.
public static  booleanmysqli_autocommit(Mysqli conn, boolean mode)
     Turns auto-commit on or off.
public static  booleanmysqli_bind_param(Env env, MysqliStatement stmt, String types, Value[] params)
     Alias for MysqliModule.mysqli_stmt_bind_param .
public static  booleanmysqli_bind_result(Env env, MysqliStatement stmt, Value[] outParams)
    
public static  booleanmysqli_change_user(Mysqli mysqli, String user, String password, String db)
     Changes the user and database.
public static  Valuemysqli_character_set_name(Mysqli conn)
     Returns the client encoding.
public static  Valuemysqli_client_encoding(Mysqli conn)
     Alias for MysqliModule.mysqli_character_set_name .
public static  booleanmysqli_close(Env env, Mysqli conn)
     Closes a connection.
public static  booleanmysqli_commit(Mysqli conn)
     Commits the current transaction for the supplied connection.
public static  Mysqlimysqli_connect(Env env, String host, String userName, String password, String dbname, int port, String socket)
     Returns a new connection.
public static  intmysqli_connect_errno(Env env)
     Returns an error code value for the last call to mysqli_connect(), 0 for no previous error.
public static  Stringmysqli_connect_error(Env env)
     Returns an error description for the last call to mysqli_connect(), "" for no previous error.
public static  Valuemysqli_data_seek(Env env, MysqliResult result, int rowNumber)
     Seeks the specified row.
Parameters:
  env - the PHP executing environment
Parameters:
  result - the mysqli_result
Parameters:
  rowNumber - the row offset true on success or false if the row numberdoes not exist.
public static  intmysqli_errno(Mysqli conn)
     Returns the error code for the most recent function call, 0 for no error.
public static  Stringmysqli_error(Env env, Mysqli conn)
     Returns the most recent error.
public static  Valuemysqli_escape_string(Mysqli conn, StringValue unescapedString)
    
public static  booleanmysqli_execute(Env env, MysqliStatement stmt)
    
public static  Valuemysqli_fetch(Env env, MysqliStatement stmt)
    
public static  ArrayValuemysqli_fetch_array(Env env, MysqliResult result, int type)
     Returns a row for the result.
public static  ArrayValuemysqli_fetch_assoc(Env env, MysqliResult result)
     Returns an associative array from the result.
public static  Valuemysqli_fetch_field(Env env, MysqliResult result)
     Returns the field metadata.
public static  Valuemysqli_fetch_field_direct(Env env, MysqliResult result, int fieldOffset)
     Returns the field metadata.
public static  Valuemysqli_fetch_fields(Env env, MysqliResult result)
     Returns an array of field metadata.
public static  Valuemysqli_fetch_lengths(Env env, MysqliResult result)
     Returns an array of integers respresenting the size of each column FALSE if an error occurred.
public static  Valuemysqli_fetch_object(Env env, MysqliResult result)
     Returns an object with properties that correspond to the fetched row and moves the data pointer ahead.
public static  ArrayValuemysqli_fetch_row(Env env, MysqliResult result)
     Returns a row for the result.
public static  intmysqli_field_count(Mysqli conn)
     Returns a boolean to determine if the last query to the connection returned a resultset.
public static  booleanmysqli_field_seek(Env env, MysqliResult result, int fieldOffset)
     Seeks to the specified field offset.
public static  intmysqli_field_tell(Env env, MysqliResult result)
     Returns the position of the field cursor used for the last mysqli_fetch_field() call.
public static  booleanmysqli_free_result(MysqliResult result)
    
public static  StringValuemysqli_get_client_info(Env env)
     Returns the MySQL client version.
public static  intmysqli_get_client_version(Env env)
     Returns a number that represents the MySQL client library version in format: main_version*10000 + minor_version*100 + sub_version.
public static  Stringmysqli_get_host_info(Mysqli conn)
     Returns a string describing the type of MySQL connection in use.
public static  JdbcResultResourcemysqli_get_metadata(Env env, MysqliStatement stmt)
    
public static  Valuemysqli_get_proto_info(Mysqli conn)
     Return protocol number, for example 10.
public static  Stringmysqli_get_server_info(Mysqli conn)
     Returns the MySQL server version.
public static  intmysqli_get_server_version(Mysqli conn)
     Returns a number that represents the MySQL server version.
public static  Mysqlimysqli_init(Env env)
     Creates a new mysqli object.
public static  Valuemysqli_insert_id(Mysqli conn)
    
public static  booleanmysqli_more_results(Mysqli conn)
     Indicates if one or more result sets are available from a previous call to mysqli_multi_query.
public static  booleanmysqli_multi_query(Mysqli conn, String query)
     Executes one or multiple queires which are concatenated by a semicolon.
public static  booleanmysqli_next_result(Mysqli conn)
     Prepares next result set from a previous call to mysqli_multi_query.
public static  Valuemysqli_num_fields(MysqliResult result)
     Returns the number of fields from specified result set.
public static  Valuemysqli_num_rows(Env env, MysqliResult result)
     Returns the number of rows in the result set.
public static  booleanmysqli_options(Mysqli mysqli, int option, Value value)
     Sets the options for a connection.
public static  intmysqli_param_count(Env env, MysqliStatement stmt)
     Alias of MysqliModule.mysqli_stmt_param_count .
public static  booleanmysqli_ping(Mysqli conn)
    
public static  MysqliStatementmysqli_prepare(Env env, Mysqli conn, String query)
     Prepares a statement.
public static  Valuemysqli_query(Env env, Mysqli conn, String sql, int resultMode)
     Executes a query and returns the result.
static  Valuemysqli_query(Env env, Mysqli conn, String query, Object... args)
     Execute a query with arguments and return a result.
public static  booleanmysqli_real_connect(Env env, Mysqli mysqli, String host, String userName, String password, String dbname, int port, String socket, int flags)
     Connects to the database.
public static  Stringmysqli_real_escape_string(Mysqli conn, String unescapedString)
     Escapes the following special character in unescapedString.
public static  Valuemysqli_real_query(Env env, Mysqli conn, String query)
     Alias for MysqliModule.mysqli_query .
public static  booleanmysqli_rollback(Mysqli conn)
     Rolls back the current transaction for the * connection.
public static  booleanmysqli_select_db(Mysqli conn, String dbName)
     Select the database for a connection.
public static  booleanmysqli_set_charset(Mysqli mysqli, String charset)
     Sets the character set for a conneciton.
public static  booleanmysqli_set_opt(Mysqli mysqli, int option, Value value)
     Sets the options for a connection.
public static  Valuemysqli_stat(Env env, Mysqli conn)
     Returns a string with the status of the connection or FALSE if error.
public static  booleanmysqli_stmt_bind_param(Env env, MysqliStatement stmt, String types, Value[] params)
     Binds variables for the parameter markers in SQL statement that was passed to MysqliModule.mysqli_prepare .
public static  booleanmysqli_stmt_bind_result(Env env, MysqliStatement stmt, Value[] outParams)
     Binds outparams to result set.
public static  booleanmysqli_stmt_close(MysqliStatement stmt)
     Closes a statement.
public  Valuemysqli_stmt_data_seek(Env env, MysqliStatement stmt, int offset)
     Seeks to a given result.
public static  intmysqli_stmt_errno(Env env, MysqliStatement stmt)
     Returns the error code for the prepared statement.
public static  Stringmysqli_stmt_error(Env env, MysqliStatement stmt)
     Returns the error message for the prepared statement.
public static  booleanmysqli_stmt_execute(Env env, MysqliStatement stmt)
     Executes a statement that has been prepared using MysqliModule.mysqli_prepare .
public static  Valuemysqli_stmt_fetch(Env env, MysqliStatement stmt)
     Fetch results from a prepared statement.
public static  booleanmysqli_stmt_free_result(Env env, MysqliStatement stmt)
     Frees the result.
public static  MysqliStatementmysqli_stmt_init(Env env, Mysqli conn)
    
public static  Valuemysqli_stmt_num_rows(Env env, MysqliStatement stmt)
     Returns the number of rows.
public static  intmysqli_stmt_param_count(Env env, MysqliStatement stmt)
     Returns an integer representing the number of parameters or -1 if no query has been prepared.
public static  booleanmysqli_stmt_prepare(MysqliStatement stmt, String query)
     Prepares a statment with a query.
public static  booleanmysqli_stmt_reset(Env env, MysqliStatement stmt)
     Resets a statment.
public static  JdbcResultResourcemysqli_stmt_result_metadata(Env env, MysqliStatement stmt)
    
public static  Stringmysqli_stmt_sqlstate(Env env, MysqliStatement stmt)
     Returns an error string.
public static  booleanmysqli_stmt_store_result(Env env, MysqliStatement stmt)
     Saves the result.
public static  JdbcResultResourcemysqli_store_result(Env env, Mysqli conn)
     Transfers the result set from the last query on the database connection represented by conn.
public static  JdbcResultResourcemysqli_use_result(Env env, Mysqli conn)
    
public static  intmysqli_warning_count(Mysqli conn)
     Returns the number of warnings from the last query in the connection object.

Field Detail
AUTO_INCREMENT_FLAG
final public static int AUTO_INCREMENT_FLAG(Code)



BINARY_FLAG
final public static int BINARY_FLAG(Code)



BINCMP_FLAG
final public static int BINCMP_FLAG(Code)



BLOB_FLAG
final public static int BLOB_FLAG(Code)



ENUM_FLAG
final public static int ENUM_FLAG(Code)



GROUP_FLAG
final public static int GROUP_FLAG(Code)



MULTIPLE_KEY_FLAG
final public static int MULTIPLE_KEY_FLAG(Code)



MYSQLI_ASSOC
final public static int MYSQLI_ASSOC(Code)



MYSQLI_BOTH
final public static int MYSQLI_BOTH(Code)



MYSQLI_NUM
final public static int MYSQLI_NUM(Code)



MYSQLI_STORE_RESULT
final public static int MYSQLI_STORE_RESULT(Code)



MYSQLI_USE_RESULT
final public static int MYSQLI_USE_RESULT(Code)



MYSQL_CLIENT_COMPRESS
final public static int MYSQL_CLIENT_COMPRESS(Code)



MYSQL_CLIENT_IGNORE_SPACE
final public static int MYSQL_CLIENT_IGNORE_SPACE(Code)



MYSQL_CLIENT_INTERACTIVE
final public static int MYSQL_CLIENT_INTERACTIVE(Code)



MYSQL_CLIENT_SSL
final public static int MYSQL_CLIENT_SSL(Code)



MYSQL_TYPE_BLOB
final public static int MYSQL_TYPE_BLOB(Code)



MYSQL_TYPE_DATE
final public static int MYSQL_TYPE_DATE(Code)



MYSQL_TYPE_DATETIME
final public static int MYSQL_TYPE_DATETIME(Code)



MYSQL_TYPE_DECIMAL
final public static int MYSQL_TYPE_DECIMAL(Code)



MYSQL_TYPE_DOUBLE
final public static int MYSQL_TYPE_DOUBLE(Code)



MYSQL_TYPE_ENUM
final public static int MYSQL_TYPE_ENUM(Code)



MYSQL_TYPE_FLOAT
final public static int MYSQL_TYPE_FLOAT(Code)



MYSQL_TYPE_GEOMETRY
final public static int MYSQL_TYPE_GEOMETRY(Code)



MYSQL_TYPE_INT24
final public static int MYSQL_TYPE_INT24(Code)



MYSQL_TYPE_LONG
final public static int MYSQL_TYPE_LONG(Code)



MYSQL_TYPE_LONGLONG
final public static int MYSQL_TYPE_LONGLONG(Code)



MYSQL_TYPE_LONG_BLOB
final public static int MYSQL_TYPE_LONG_BLOB(Code)



MYSQL_TYPE_MEDIUM_BLOB
final public static int MYSQL_TYPE_MEDIUM_BLOB(Code)



MYSQL_TYPE_NEWDATE
final public static int MYSQL_TYPE_NEWDATE(Code)



MYSQL_TYPE_NULL
final public static int MYSQL_TYPE_NULL(Code)



MYSQL_TYPE_SET
final public static int MYSQL_TYPE_SET(Code)



MYSQL_TYPE_SHORT
final public static int MYSQL_TYPE_SHORT(Code)



MYSQL_TYPE_STRING
final public static int MYSQL_TYPE_STRING(Code)



MYSQL_TYPE_TIME
final public static int MYSQL_TYPE_TIME(Code)



MYSQL_TYPE_TIMESTAMP
final public static int MYSQL_TYPE_TIMESTAMP(Code)



MYSQL_TYPE_TINY
final public static int MYSQL_TYPE_TINY(Code)



MYSQL_TYPE_TINY_BLOB
final public static int MYSQL_TYPE_TINY_BLOB(Code)



MYSQL_TYPE_VAR_STRING
final public static int MYSQL_TYPE_VAR_STRING(Code)



MYSQL_TYPE_YEAR
final public static int MYSQL_TYPE_YEAR(Code)



NOT_NULL_FLAG
final public static int NOT_NULL_FLAG(Code)



NUM_FLAG
final public static int NUM_FLAG(Code)



PART_KEY_FLAG
final public static int PART_KEY_FLAG(Code)



PRI_KEY_FLAG
final public static int PRI_KEY_FLAG(Code)



SET_FLAG
final public static int SET_FLAG(Code)



TIMESTAMP_FLAG
final public static int TIMESTAMP_FLAG(Code)



UNIQUE_FLAG
final public static int UNIQUE_FLAG(Code)



UNIQUE_KEY_FLAG
final public static int UNIQUE_KEY_FLAG(Code)



UNSIGNED_FLAG
final public static int UNSIGNED_FLAG(Code)



ZEROFILL_FLAG
final public static int ZEROFILL_FLAG(Code)




Constructor Detail
MysqliModule
public MysqliModule()(Code)




Method Detail
escapeString
static void escapeString(StringBuilder buf, String unescapedString)(Code)



getLoadedExtensions
public String[] getLoadedExtensions()(Code)
Returns true for the mysql extension.



mysql_stmt_affected_rows
public int mysql_stmt_affected_rows(Mysqli mysqli)(Code)
Returns the number of affected rows.



mysql_stmt_close
public boolean mysql_stmt_close(MysqliStatement stmt)(Code)
Closes the statement.



mysql_stmt_errno
public int mysql_stmt_errno(Env env, MysqliStatement stmt)(Code)
Returns the error number.



mysql_stmt_error
public String mysql_stmt_error(Env env, MysqliStatement stmt)(Code)
Returns a descrption of the error or an empty strng for no error.



mysqli_affected_rows
public static int mysqli_affected_rows(Mysqli conn)(Code)
Returns the number of affected rows.



mysqli_autocommit
public static boolean mysqli_autocommit(Mysqli conn, boolean mode)(Code)
Turns auto-commit on or off.



mysqli_bind_param
public static boolean mysqli_bind_param(Env env, MysqliStatement stmt, String types, Value[] params)(Code)
Alias for MysqliModule.mysqli_stmt_bind_param .



mysqli_bind_result
public static boolean mysqli_bind_result(Env env, MysqliStatement stmt, Value[] outParams)(Code)



mysqli_change_user
public static boolean mysqli_change_user(Mysqli mysqli, String user, String password, String db)(Code)
Changes the user and database.



mysqli_character_set_name
public static Value mysqli_character_set_name(Mysqli conn)(Code)
Returns the client encoding.



mysqli_client_encoding
public static Value mysqli_client_encoding(Mysqli conn)(Code)
Alias for MysqliModule.mysqli_character_set_name .



mysqli_close
public static boolean mysqli_close(Env env, Mysqli conn)(Code)
Closes a connection.



mysqli_commit
public static boolean mysqli_commit(Mysqli conn)(Code)
Commits the current transaction for the supplied connection. returns true on success or false on failure



mysqli_connect
public static Mysqli mysqli_connect(Env env, String host, String userName, String password, String dbname, int port, String socket) throws IllegalStateException(Code)
Returns a new connection.



mysqli_connect_errno
public static int mysqli_connect_errno(Env env)(Code)
Returns an error code value for the last call to mysqli_connect(), 0 for no previous error.



mysqli_connect_error
public static String mysqli_connect_error(Env env)(Code)
Returns an error description for the last call to mysqli_connect(), "" for no previous error.



mysqli_data_seek
public static Value mysqli_data_seek(Env env, MysqliResult result, int rowNumber)(Code)
Seeks the specified row.
Parameters:
  env - the PHP executing environment
Parameters:
  result - the mysqli_result
Parameters:
  rowNumber - the row offset true on success or false if the row numberdoes not exist. NULL is returned if an error occurred.



mysqli_errno
public static int mysqli_errno(Mysqli conn)(Code)
Returns the error code for the most recent function call, 0 for no error.



mysqli_error
public static String mysqli_error(Env env, Mysqli conn)(Code)
Returns the most recent error.



mysqli_escape_string
public static Value mysqli_escape_string(Mysqli conn, StringValue unescapedString)(Code)
Alias for MysqliModule.mysqli_real_escape_string



mysqli_execute
public static boolean mysqli_execute(Env env, MysqliStatement stmt)(Code)



mysqli_fetch
public static Value mysqli_fetch(Env env, MysqliStatement stmt)(Code)



mysqli_fetch_array
public static ArrayValue mysqli_fetch_array(Env env, MysqliResult result, int type)(Code)
Returns a row for the result.



mysqli_fetch_assoc
public static ArrayValue mysqli_fetch_assoc(Env env, MysqliResult result)(Code)
Returns an associative array from the result.



mysqli_fetch_field
public static Value mysqli_fetch_field(Env env, MysqliResult result)(Code)
Returns the field metadata.



mysqli_fetch_field_direct
public static Value mysqli_fetch_field_direct(Env env, MysqliResult result, int fieldOffset)(Code)
Returns the field metadata.



mysqli_fetch_fields
public static Value mysqli_fetch_fields(Env env, MysqliResult result)(Code)
Returns an array of field metadata.



mysqli_fetch_lengths
public static Value mysqli_fetch_lengths(Env env, MysqliResult result)(Code)
Returns an array of integers respresenting the size of each column FALSE if an error occurred.
Parameters:
  env - the PHP executing environment
Parameters:
  result - the mysqli_result true on success or false if an error occurred.NULL is returned if result is null.



mysqli_fetch_object
public static Value mysqli_fetch_object(Env env, MysqliResult result)(Code)
Returns an object with properties that correspond to the fetched row and moves the data pointer ahead.
Parameters:
  env - the PHP executing environment
Parameters:
  result - the mysqli_result an object that corresponds to the fetchedrow or NULL if there are no more rows in resultset



mysqli_fetch_row
public static ArrayValue mysqli_fetch_row(Env env, MysqliResult result)(Code)
Returns a row for the result.



mysqli_field_count
public static int mysqli_field_count(Mysqli conn)(Code)
Returns a boolean to determine if the last query to the connection returned a resultset. false if no result set, true otherwise



mysqli_field_seek
public static boolean mysqli_field_seek(Env env, MysqliResult result, int fieldOffset)(Code)
Seeks to the specified field offset. If the next call to mysql_fetch_field() doesn't include a field offset, the field offset specified in mysqli_field_seek() will be returned.



mysqli_field_tell
public static int mysqli_field_tell(Env env, MysqliResult result)(Code)
Returns the position of the field cursor used for the last mysqli_fetch_field() call. This value can be used as an argument to mysqli_field_seek()



mysqli_free_result
public static boolean mysqli_free_result(MysqliResult result)(Code)
Frees a mysqli result



mysqli_get_client_info
public static StringValue mysqli_get_client_info(Env env)(Code)
Returns the MySQL client version.



mysqli_get_client_version
public static int mysqli_get_client_version(Env env)(Code)
Returns a number that represents the MySQL client library version in format: main_version*10000 + minor_version*100 + sub_version. For example 4.1.0 is returned as 40100.



mysqli_get_host_info
public static String mysqli_get_host_info(Mysqli conn)(Code)
Returns a string describing the type of MySQL connection in use.



mysqli_get_metadata
public static JdbcResultResource mysqli_get_metadata(Env env, MysqliStatement stmt)(Code)



mysqli_get_proto_info
public static Value mysqli_get_proto_info(Mysqli conn)(Code)
Return protocol number, for example 10.



mysqli_get_server_info
public static String mysqli_get_server_info(Mysqli conn)(Code)
Returns the MySQL server version.



mysqli_get_server_version
public static int mysqli_get_server_version(Mysqli conn)(Code)
Returns a number that represents the MySQL server version.



mysqli_init
public static Mysqli mysqli_init(Env env)(Code)
Creates a new mysqli object.



mysqli_insert_id
public static Value mysqli_insert_id(Mysqli conn)(Code)
Returns ID generated for an AUTO_INCREMENT column by the previous INSERT query on success, 0 if the previous query does not generate an AUTO_INCREMENT value, or FALSE if no MySQL connection was established



mysqli_more_results
public static boolean mysqli_more_results(Mysqli conn)(Code)
Indicates if one or more result sets are available from a previous call to mysqli_multi_query.



mysqli_multi_query
public static boolean mysqli_multi_query(Mysqli conn, String query)(Code)
Executes one or multiple queires which are concatenated by a semicolon.



mysqli_next_result
public static boolean mysqli_next_result(Mysqli conn)(Code)
Prepares next result set from a previous call to mysqli_multi_query.



mysqli_num_fields
public static Value mysqli_num_fields(MysqliResult result)(Code)
Returns the number of fields from specified result set.



mysqli_num_rows
public static Value mysqli_num_rows(Env env, MysqliResult result)(Code)
Returns the number of rows in the result set.
Parameters:
  env - the PHP executing environment
Parameters:
  result - the mysqli_result the number of rows in the result setor NULL, if an error occurred



mysqli_options
public static boolean mysqli_options(Mysqli mysqli, int option, Value value)(Code)
Sets the options for a connection.



mysqli_param_count
public static int mysqli_param_count(Env env, MysqliStatement stmt)(Code)
Alias of MysqliModule.mysqli_stmt_param_count .



mysqli_ping
public static boolean mysqli_ping(Mysqli conn)(Code)
Checks if the connection is still valid



mysqli_prepare
public static MysqliStatement mysqli_prepare(Env env, Mysqli conn, String query)(Code)
Prepares a statement.



mysqli_query
public static Value mysqli_query(Env env, Mysqli conn, String sql, int resultMode)(Code)
Executes a query and returns the result.



mysqli_query
static Value mysqli_query(Env env, Mysqli conn, String query, Object... args)(Code)
Execute a query with arguments and return a result.



mysqli_real_connect
public static boolean mysqli_real_connect(Env env, Mysqli mysqli, String host, String userName, String password, String dbname, int port, String socket, int flags)(Code)
Connects to the database.



mysqli_real_escape_string
public static String mysqli_real_escape_string(Mysqli conn, String unescapedString)(Code)
Escapes the following special character in unescapedString. the escaped string.



mysqli_real_query
public static Value mysqli_real_query(Env env, Mysqli conn, String query)(Code)
Alias for MysqliModule.mysqli_query .



mysqli_rollback
public static boolean mysqli_rollback(Mysqli conn)(Code)
Rolls back the current transaction for the * connection. true on success or false on failure.



mysqli_select_db
public static boolean mysqli_select_db(Mysqli conn, String dbName)(Code)
Select the database for a connection.



mysqli_set_charset
public static boolean mysqli_set_charset(Mysqli mysqli, String charset)(Code)
Sets the character set for a conneciton.



mysqli_set_opt
public static boolean mysqli_set_opt(Mysqli mysqli, int option, Value value)(Code)
Sets the options for a connection.



mysqli_stat
public static Value mysqli_stat(Env env, Mysqli conn)(Code)
Returns a string with the status of the connection or FALSE if error.



mysqli_stmt_bind_param
public static boolean mysqli_stmt_bind_param(Env env, MysqliStatement stmt, String types, Value[] params)(Code)
Binds variables for the parameter markers in SQL statement that was passed to MysqliModule.mysqli_prepare . Type specification chars:
i
corresponding variable has type integer;
d
corresponding variable has type double;
b
corresponding variable is a blob and will be sent in packages
s
corresponding variable has type string (which really means all other types);



mysqli_stmt_bind_result
public static boolean mysqli_stmt_bind_result(Env env, MysqliStatement stmt, Value[] outParams)(Code)
Binds outparams to result set.



mysqli_stmt_close
public static boolean mysqli_stmt_close(MysqliStatement stmt)(Code)
Closes a statement.



mysqli_stmt_data_seek
public Value mysqli_stmt_data_seek(Env env, MysqliStatement stmt, int offset)(Code)
Seeks to a given result.



mysqli_stmt_errno
public static int mysqli_stmt_errno(Env env, MysqliStatement stmt)(Code)
Returns the error code for the prepared statement.



mysqli_stmt_error
public static String mysqli_stmt_error(Env env, MysqliStatement stmt)(Code)
Returns the error message for the prepared statement.



mysqli_stmt_execute
public static boolean mysqli_stmt_execute(Env env, MysqliStatement stmt)(Code)
Executes a statement that has been prepared using MysqliModule.mysqli_prepare . true on success or false on failure



mysqli_stmt_fetch
public static Value mysqli_stmt_fetch(Env env, MysqliStatement stmt)(Code)
Fetch results from a prepared statement. true on success, false on error, null if no more rows.



mysqli_stmt_free_result
public static boolean mysqli_stmt_free_result(Env env, MysqliStatement stmt)(Code)
Frees the result.



mysqli_stmt_init
public static MysqliStatement mysqli_stmt_init(Env env, Mysqli conn)(Code)
Returns a statement for use with MysqliModule.mysqli_stmt_prepare



mysqli_stmt_num_rows
public static Value mysqli_stmt_num_rows(Env env, MysqliStatement stmt)(Code)
Returns the number of rows.



mysqli_stmt_param_count
public static int mysqli_stmt_param_count(Env env, MysqliStatement stmt)(Code)
Returns an integer representing the number of parameters or -1 if no query has been prepared.



mysqli_stmt_prepare
public static boolean mysqli_stmt_prepare(MysqliStatement stmt, String query)(Code)
Prepares a statment with a query.



mysqli_stmt_reset
public static boolean mysqli_stmt_reset(Env env, MysqliStatement stmt)(Code)
Resets a statment.



mysqli_stmt_result_metadata
public static JdbcResultResource mysqli_stmt_result_metadata(Env env, MysqliStatement stmt)(Code)
Returns result information for metadata



mysqli_stmt_sqlstate
public static String mysqli_stmt_sqlstate(Env env, MysqliStatement stmt)(Code)
Returns an error string.



mysqli_stmt_store_result
public static boolean mysqli_stmt_store_result(Env env, MysqliStatement stmt)(Code)
Saves the result.



mysqli_store_result
public static JdbcResultResource mysqli_store_result(Env env, Mysqli conn)(Code)
Transfers the result set from the last query on the database connection represented by conn. Used in conjunction with MysqliModule.mysqli_multi_query



mysqli_use_result
public static JdbcResultResource mysqli_use_result(Env env, Mysqli conn)(Code)



mysqli_warning_count
public static int mysqli_warning_count(Mysqli conn)(Code)
Returns the number of warnings from the last query in the connection object. number of warnings



Fields inherited from com.caucho.quercus.module.AbstractQuercusModule
final protected static int PHP_INI_ALL(Code)(Java Doc)
final protected static int PHP_INI_PERDIR(Code)(Java Doc)
final protected static int PHP_INI_SYSTEM(Code)(Java Doc)
final protected static int PHP_INI_USER(Code)(Java Doc)

Methods inherited from com.caucho.quercus.module.AbstractQuercusModule
public Map<String, Value> getConstMap()(Code)(Java Doc)
public IniDefinitions getIniDefinitions()(Code)(Java Doc)
public String[] getLoadedExtensions()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.