Stud.IP  5.4
DB_Sql Class Reference
Inheritance diagram for DB_Sql:
DB_Seminar DB_Seminar

Public Member Functions

 __construct ($query="")
 
 link_id ()
 
 query_id ()
 
 free ()
 
 query ($Query_String)
 
 next_record ()
 
 affected_rows ()
 
 num_rows ()
 
 num_fields ()
 
 nf ()
 
 np ()
 
 f ($Name)
 
 p ($Name)
 
 metadata ($table='', $full=false)
 
 halt ($msg)
 
 haltmsg ($msg)
 
 queryf ($format)
 
 cache_query ($Query_String)
 

Data Fields

 $Host = ""
 
 $Database = ""
 
 $User = ""
 
 $Password = ""
 
 $Auto_Free = 1
 
 $Debug = 0
 
 $Halt_On_Error = "yes"
 
 $Record = []
 
 $Row
 
 $RowCount
 
 $ColumnCount
 
 $Errno = 0
 
 $Error = ""
 

Protected Attributes

 $pdo
 
 $resultSet
 

Constructor & Destructor Documentation

◆ __construct()

__construct (   $query = "")

Member Function Documentation

◆ affected_rows()

affected_rows ( )

◆ cache_query()

cache_query (   $Query_String)

perform a query with caching directive for mysql

Parameters
string$Query_String
Returns
Resultset | int

◆ f()

f (   $Name)

◆ free()

free ( )

◆ halt()

halt (   $msg)

◆ haltmsg()

haltmsg (   $msg)

◆ link_id()

link_id ( )

◆ metadata()

metadata (   $table = '',
  $full = false 
)

◆ next_record()

next_record ( )

◆ nf()

nf ( )

◆ np()

np ( )

◆ num_fields()

num_fields ( )

◆ num_rows()

num_rows ( )

◆ p()

p (   $Name)

◆ query()

query (   $Query_String)

◆ query_id()

query_id ( )

◆ queryf()

queryf (   $format)

Field Documentation

◆ $Auto_Free

$Auto_Free = 1

◆ $ColumnCount

$ColumnCount

◆ $Database

$Database = ""

◆ $Debug

$Debug = 0

◆ $Errno

$Errno = 0

◆ $Error

$Error = ""

◆ $Halt_On_Error

$Halt_On_Error = "yes"

◆ $Host

$Host = ""

◆ $Password

$Password = ""

◆ $pdo

$pdo
protected

◆ $Record

$Record = []

◆ $resultSet

$resultSet
protected

◆ $Row

$Row

◆ $RowCount

$RowCount

◆ $User

$User = ""

The documentation for this class was generated from the following file: