Class SC_DbConn

Description

Located in /class/SC_DbConn.php (line 29)


	
			
Variable Summary
mixed $conn
mixed $dbFactory
mixed $dsn
mixed $err_disp
mixed $includePath
mixed $result
Method Summary
SC_DbConn SC_DbConn ([ $dsn = ""], [ $err_disp = true], [ $new = false])
void autoExecute ( $table_name,  $fields_values, [ $sql_where = null])
void execute ( $n,  $obj)
void getAll ( $n, [ $arr = ""])
void getCol ( $n,  $col, [ $arr = ""])
string getLastQuery ([boolean $disp = true])
void getOne ( $n, [ $arr = ""])
void getRow ( $n, [ $arr = ""])
void prepare ( $n)
void query ( $n, [ $arr = ""], [ $ignore_err = false])
void reset ()
void send_err_mail ( $result,  $sql)
Variables
mixed $conn (line 31)
mixed $dbFactory (line 38)
mixed $dsn (line 36)
mixed $error_mail_title (line 35)
mixed $error_mail_to (line 34)
mixed $err_disp = true (line 37)
mixed $includePath (line 33)
mixed $result (line 32)
Methods
Constructor SC_DbConn (line 42)
SC_DbConn SC_DbConn ([ $dsn = ""], [ $err_disp = true], [ $new = false])
  • $dsn
  • $err_disp
  • $new
autoExecute (line 177)
void autoExecute ( $table_name,  $fields_values, [ $sql_where = null])
  • $table_name
  • $fields_values
  • $sql_where
execute (line 201)
void execute ( $n,  $obj)
  • $n
  • $obj
getAll (line 149)
void getAll ( $n, [ $arr = ""])
  • $n
  • $arr
getCol (line 131)
void getCol ( $n,  $col, [ $arr = ""])
  • $n
  • $col
  • $arr
getLastQuery (line 268)

直前に実行されたSQL文を取得する.

  • return: SQL文
string getLastQuery ([boolean $disp = true])
  • boolean $disp: trueの場合、画面出力を行う.
getOne (line 96)
void getOne ( $n, [ $arr = ""])
  • $n
  • $arr
getRow (line 114)
void getRow ( $n, [ $arr = ""])
  • $n
  • $arr
prepare (line 193)
void prepare ( $n)
  • $n
query (line 77)
void query ( $n, [ $arr = ""], [ $ignore_err = false])
  • $n
  • $arr
  • $ignore_err
reset (line 209)
void reset ()
send_err_mail (line 213)
void send_err_mail ( $result,  $sql)
  • $result
  • $sql

Documentation generated on Tue, 28 Apr 2009 18:13:14 +0900 by phpDocumentor 1.4.2