![]() |
gino CMS
2.5.0
gino è un CMS scritto in PHP che offre tutti gli strumenti necessari per poter creare un sito web e gestire i contenuti al suo interno in maniera semplice ed efficace, svincolando l'amministratore da conoscenze tecniche di programmazione
|
Driver specifico per la connessione a un database MYSQL attraverso la libreria PDO. More...
Public Member Functions | |
multiActionQuery ($file_content) | |
autoIncValue ($table) | |
tableexists ($table) | |
limit ($range, $offset) | |
distinct ($fields, $options=array()) | |
concat ($sequence) | |
dumpDatabase ($file) | |
restore ($table, $filename, $options=array()) | |
conformFieldType ($meta) | |
![]() | |
__construct ($params) | |
Costruttore. More... | |
getNumberRows () | |
Ritorna il numero di righe risultanti da una select query. More... | |
getNumberCols () | |
Ritorna il numero di colonne richiamate in una istruzione SELECT. More... | |
getAffectedRows () | |
Ritorna il numero di righe interessate da una istruzione INSERT, UPDATE o DELETE. More... | |
getInfoQuery () | |
openConnection ($opt=array()) | |
closeConnection () | |
begin () | |
rollback () | |
commit () | |
multiActionQuery ($queries) | |
freeresult ($result=null) | |
getLastId ($table) | |
autoIncValue ($table) | |
getFieldFromId ($table, $field, $field_id, $id, $options=array()) | |
tableexists ($table) | |
fieldInformations ($table) | |
conformFieldType ($meta) | |
limit ($range, $offset) | |
distinct ($fields, $options=array()) | |
concat ($sequence) | |
dumpDatabase ($file) | |
changeFieldType ($data_type, $value) | |
getNumRecords ($table, $where=null, $field='id', $options=array()) | |
query ($fields, $tables, $where=null, $options=array()) | |
execCustomQuery ($query, $options=array()) | |
select ($fields, $tables, $where=null, $options=array()) | |
insert ($fields, $table, $debug=false) | |
update ($fields, $table, $where, $debug=false) | |
delete ($table, $where, $debug=false) | |
drop ($table) | |
columnHasValue ($table, $field, $value, $options=array()) | |
join ($table, $condition, $option) | |
union ($queries, $options=array()) | |
restore ($table, $filename, $options=array()) | |
dump ($table, $path_to_file, $options=array()) | |
escapeString ($string) | |
![]() | |
openConnection () | |
Apre una connessione al database. More... | |
Protected Member Functions | |
setDSN () | |
setAttribute () | |
setCharacterSet () | |
buildQuery ($options=array()) | |
setFieldName ($field) | |
setFieldValue ($value) | |
arrayFieldsToString ($a_fields) | |
SQLForFieldInformations ($table) | |
SQLForDump ($table, $path_to_file, $delimiter, $enclosed, $where) | |
![]() | |
checkRowsFromSelect ($result) | |
Verifica se una istruzione SELECT ha avuto esito postivo. More... | |
queryResults ($query, $options=array()) | |
Esegue la query e ne calcola i tempi di esecuzione. More... | |
fetch ($results=null, $options=array()) | |
Prende e rende fruibili i risultati della query. More... | |
setDSN () | |
Imposta la stringa di connessione al database. More... | |
setAttribute () | |
Attributi da associare alla connessione. More... | |
setCharacterSet () | |
Imposta il character set del database. More... | |
buildQuery ($options=array()) | |
Costruisce la query (personalizzata per ogni driver) More... | |
setFieldName ($field) | |
Imposta il nome del campo in una query. More... | |
setFieldValue ($value) | |
Imposta il valore del campo in una query. More... | |
arrayFieldsToString ($a_fields) | |
Formatta l'elenco dei campi in una istruzione insert. More... | |
SQLForFieldInformations ($table) | |
SQL code specifico del driver per il metodo fieldInformations() More... | |
SQLForDump ($table, $path_to_file, $delimiter, $enclosed, $where) | |
SQL code specifico del driver per il metodo dump() More... | |
Additional Inherited Members | |
![]() | |
$_db_host | |
$_db_name | |
$_db_user | |
$_db_password | |
$_db_charset | |
![]() | |
static | getCharset () |
Elenco dei character set accettati. More... | |
![]() | |
$_dbms | |
$_numberrows | |
$_affected | |
$_numbercols | |
$_connection | |
$_pdo | |
$_result | |
$_show_stats | |
$_info_queries | |
$_cnt | |
$_time_queries | |
$_query_cache | |
$_query_cache_time | |
$_cache | |
Driver specifico per la connessione a un database MYSQL attraverso la libreria PDO.
Per poter effettuare il dump di un tabase MySQL occorre:
|
protected |
autoIncValue | ( | $table | ) |
Implements DbManager.
|
protected |
concat | ( | $sequence | ) |
Implements DbManager.
conformFieldType | ( | $meta | ) |
Implements DbManager.
distinct | ( | $fields, | |
$options = array() |
|||
) |
Implements DbManager.
dumpDatabase | ( | $file | ) |
Implements DbManager.
limit | ( | $range, | |
$offset | |||
) |
Implements DbManager.
multiActionQuery | ( | $file_content | ) |
Implements DbManager.
restore | ( | $table, | |
$filename, | |||
$options = array() |
|||
) |
Implements DbManager.
|
protected |
|
protected |
|
protected |
Example of configuration parameters
|
protected |
|
protected |
|
protected |
|
protected |
tableexists | ( | $table | ) |
Implements DbManager.