[ Index ]
 

Code source de PHP PEAR 1.4.5

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

title

Body

[fermer]

/tests/DB/tests/ -> prepexe.inc (sommaire)

Tests the drivers' prepare and execute methods Executed by driver/06prepexec.phpt

Author: Daniel Convissor <danielc@php.net>
Copyright: 1997-2005 The PHP Group
License: http://www.php.net/license/3_0.txt PHP License 3.0
Version: $Id: prepexe.inc,v 1.27 2007/01/08 00:19:48 aharvey Exp $
Poids: 241 lignes (7 kb)
Inclus ou requis: 1 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 4 fonctions

  pe()
  my_shutdown()
  print_results()
  print_4()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

pe($o)   X-Ref
Local error callback handler

Prints out an error message and kills the process.

param: object  $o  PEAR error object automatically passed to this method
return: void

my_shutdown()   X-Ref
Automatically free the prepared statements and results when the script
terminates

return: void

print_results()   X-Ref
Print out the data in test table

return: void

print_4($sth, $bind)   X-Ref
Execute the prepared statement and print out the data in the result

param: resource     $sth   the statement handle to process
param: string|array $bind  the data that will replace the placeholders
return: void



Généré le : Sun Feb 25 14:08:00 2007 par Balluche grâce à PHPXref 0.7