Solutions Open Source

Référence de la classe tx_dbal_handler_rawmysql

Graphe d'héritage de tx_dbal_handler_rawmysql:

Inheritance graph
[légende]
Graphe de collaboration de tx_dbal_handler_rawmysql:

Collaboration graph
[légende]

Liste de tous les membres

Fonctions membres publiques

 init ($config, &$pObj)
 exec_INSERTquery ($table, $fields_values)
 exec_UPDATEquery ($table, $where, $fields_values)
 exec_DELETEquery ($table, $where)
 exec_SELECTquery ($select_fields, $from_table, $where_clause, $groupBy, $orderBy, $limit)
 sql_error ()
 sql_insert_id ()
 sql_affected_rows ()
 sql_query ($query)
 quoteStr ($str)
 admin_get_tables ()
 admin_get_fields ($tableName)
 admin_get_keys ($tableName)
 admin_query ($query)

Attributs publics

 $config = array()
 $link
 $pObj


Documentation des fonctions membres

tx_dbal_handler_rawmysql::init ( config,
&$  pObj 
)

Initialize. For MySQL we will have to connect to the database and select the database.

Paramètres:
array Configuration array from handler
object Parent object.
Renvoie:
boolean True if connection and database selection worked out well.

Réimplémentée à partir de t3lib_sqlengine.

tx_dbal_handler_rawmysql::exec_INSERTquery ( table,
fields_values 
)

Execute INSERT query

Paramètres:
string Table name
array Field=>Value array
Renvoie:
boolean True on success

Réimplémentée à partir de t3lib_sqlengine.

tx_dbal_handler_rawmysql::exec_UPDATEquery ( table,
where,
fields_values 
)

Execute UPDATE query

Paramètres:
string Table name
string WHERE clause
array Field=>Value array
Renvoie:
boolean True on success

Réimplémentée à partir de t3lib_sqlengine.

tx_dbal_handler_rawmysql::exec_DELETEquery ( table,
where 
)

Execute DELETE query

Paramètres:
string Table name
string WHERE clause
Renvoie:
boolean True on success

Réimplémentée à partir de t3lib_sqlengine.

tx_dbal_handler_rawmysql::exec_SELECTquery ( select_fields,
from_table,
where_clause,
groupBy,
orderBy,
limit 
)

Execute SELECT query

Paramètres:
string List of fields to select from the table. This is what comes right after "SELECT ...". Required value.
string Table(s) from which to select. This is what comes right after "FROM ...". Required value.
string Optional additional WHERE clauses put in the end of the query. NOTICE: You must escape values with addslashes() first
string Optional GROUP BY field(s), if none, supply blank string.
string Optional ORDER BY field(s), if none, supply blank string.
string Optional LIMIT value ([begin,]max), if none, supply blank string.
Renvoie:
object Result object

Réimplémentée à partir de t3lib_sqlengine.

tx_dbal_handler_rawmysql::sql_error (  ) 

mysql_error() wrapper

Renvoie:
string mysql_error()

Réimplémentée à partir de t3lib_sqlengine.

tx_dbal_handler_rawmysql::sql_insert_id (  ) 

mysql_insert_id() wrapper

Renvoie:
integer mysql_insert_id();

Réimplémentée à partir de t3lib_sqlengine.

tx_dbal_handler_rawmysql::sql_affected_rows (  ) 

mysql_affected_rows() wrapper

Renvoie:
integer mysql_affected_rows()

Réimplémentée à partir de t3lib_sqlengine.

tx_dbal_handler_rawmysql::sql_query ( query  ) 

mysql_query() wrapper

Paramètres:
string Query string
Renvoie:
object Result object

Réimplémentée à partir de t3lib_sqlengine.

tx_dbal_handler_rawmysql::quoteStr ( str  ) 

Escape quotes in strings

Paramètres:
string Input string
Renvoie:
string Output string

Réimplémentée à partir de t3lib_sqlengine.

tx_dbal_handler_rawmysql::admin_get_tables (  ) 

Returns the list of tables from the database, quering MySQL for it.

Renvoie:
array Tables in an array (tablename is in both key and value)

Réimplémentée à partir de t3lib_sqlengine.

tx_dbal_handler_rawmysql::admin_get_fields ( tableName  ) 

Returns information about each field in the $table, quering MySQL for it.

Paramètres:
string Table name
Renvoie:
array Field information in an associative array with fieldname => field row

Réimplémentée à partir de t3lib_sqlengine.

tx_dbal_handler_rawmysql::admin_get_keys ( tableName  ) 

Returns information about each index key in the $table, quering MySQL for it.

Paramètres:
string Table name
Renvoie:
array Key information in a numeric array

Réimplémentée à partir de t3lib_sqlengine.

tx_dbal_handler_rawmysql::admin_query ( query  ) 

mysql() wrapper function, used by the Install Tool and EM for all queries regarding management of the database!

Paramètres:
string Query to execute
Renvoie:
pointer Result pointer

Réimplémentée à partir de t3lib_sqlengine.


Documentation des données membres

tx_dbal_handler_rawmysql::$config = array()

tx_dbal_handler_rawmysql::$link

tx_dbal_handler_rawmysql::$pObj


La documentation de cette classe a été générée à partir du fichier suivant :
Généré le Fri Aug 31 11:43:41 2007 pour OBLADY - Typo3 API v4.1.2 par  doxygen 1.5.3