[ Index ]
 

Code source de CMS made simple 1.0.5

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/lib/adodb_lite/generic_modules/ -> pear_module.inc (sommaire)

(pas de description)

Poids: 192 lignes (4 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 2 classes

pear_ADOConnection:: (9 méthodes):
  SetFetchMode()
  GetCol()
  GetOne()
  GetRow()
  Query()
  LimitQuery()
  Disconnect()
  ErrorNative()
  Quote()

pear_ResultSet:: (5 méthodes):
  Free()
  NumRows()
  NumCols()
  FetchRow()
  FetchInto()


Classe: pear_ADOConnection  - X-Ref

SetFetchMode($mode)   X-Ref
Set how select queries will retrieve data.
Usage: $oldmode = $db->SetFetchMode($mode)

returns: The previous fetch mode
param: mode    The fetchmode ADODB_FETCH_ASSOC or ADODB_FETCH_NUM

GetCol($sql, $inputarr = false, $trim = false)   X-Ref
Returns the last record id of an inserted item
Usage: $db->GetCol($sql);


GetOne($sql, $inputarr = false)   X-Ref
Return first element of first row of sql statement. Recordset is disposed
for you.

Usage: $db->GetOne($sql);

GetRow($sql, $inputarr = false, $getone = false)   X-Ref
Return one row of sql statement. Recordset is disposed for you.

Usage: $db->GetRow($sql);

Query($sql, $inputarr = false)   X-Ref
PEAR DB Compat - do not use internally


LimitQuery($sql, $offset, $nrows, $inputarr = false)   X-Ref
PEAR DB Compat - do not use internally


Disconnect()   X-Ref
PEAR DB Compat - do not use internally


ErrorNative()   X-Ref
PEAR DB Compat - do not use internally


Quote($string)   X-Ref
PEAR DB Compat - do not use internally


Classe: pear_ResultSet  - X-Ref

Free()   X-Ref
PEAR DB Compatable Command


NumRows()   X-Ref
PEAR DB Compatable Command


NumCols()   X-Ref
PEAR DB Compatable Command


FetchRow()   X-Ref
Fetch a row, returning false if no more rows.
PEAR DB Compatable Command

return: false or array containing the current record

FetchInto(&$arr)   X-Ref
Fetch a row, returning PEAR_Error if no more rows.
PEAR DB Compatable Command




Généré le : Tue Apr 3 18:50:37 2007 par Balluche grâce à PHPXref 0.7