Open Sencillo  2015.107
Long live the simplicity of PHP
 All Data Structures Namespaces Functions Pages
mysqlInterface Class Reference
Inheritance diagram for mysqlInterface:
mysqlEdit mysql

Public Member Functions

 dbCreateTable ($array)
 
 insert ($array, $stringRewrite=true)
 
 filter ($def)
 
 update ($array)
 
 select ($array, $update=false)
 
 config ()
 
 connect ()
 
 validator ()
 
 debug ()
 
 execute ()
 
- Public Member Functions inherited from mysqlEdit
 newColumn ($name, $type="INT")
 
 prepareTable ($name)
 
 uniqueKey ($keyName)
 
 createTable ($name)
 
 openTable ($name)
 
 insert ($values)
 
 set ($column, $value)
 
 update ($if, $sets=null)
 
 delete ($if)
 
 output ($if="`id`>0", $order="`id` ASC", $limit=1000)
 
- Public Member Functions inherited from mysql
 __construct ($DBHost=null, $DBName=null, $DBUser=null, $DBPass=null)
 
 query ($sql)
 
 write ($sql)
 
 close ()
 
 test ()
 
 integrity ($type)
 

Protected Attributes

 $save
 
 $mysqli
 
 $connect
 

Additional Inherited Members

- Data Fields inherited from mysql
 $DBHost
 
 $DBName
 
 $DBUser
 
 $DBPass
 
 $con
 

Detailed Description

test need

Definition at line 286 of file core_sql.php.

Member Function Documentation

config ( )

Create database protected configuration arrray

Definition at line 625 of file core_sql.php.

connect ( )

Create database connection

Definition at line 650 of file core_sql.php.

debug ( )

Write query error log

See Also
validator()
Returns
string

Definition at line 692 of file core_sql.php.

execute ( )

Execute database multiline query and return result

Returns
array[group_id][line_id][row_name]

Definition at line 701 of file core_sql.php.

select (   $array,
  $update = false 
)

ignore first N items

ignore last N items

out - addcode

Definition at line 507 of file core_sql.php.

validator ( )

Check SQL code for error

Returns
bool

Definition at line 675 of file core_sql.php.


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