PHP Class Dshafik\MySQL

Show file Open project: dshafik/php7-mysql-shim Class Usage Examples

Public Properties

Property Type Description
$connections
$last_connection

Public Methods

Method Description
checkValidResult ( $result, $function )
escapeString ( $unescapedString )
getConnection ( $link = null, $func = null )
mysqlFieldInfo ( mysqli_result $result, $field, $what )

Protected Methods

Method Description
escapeChar ( $char )
getFieldFlags ( $what )
getFieldType ( $what )

Method Details

checkValidResult() public static method

public static checkValidResult ( $result, $function )

escapeChar() protected static method

protected static escapeChar ( $char )

escapeString() public static method

public static escapeString ( $unescapedString )

getConnection() public static method

public static getConnection ( $link = null, $func = null )

getFieldFlags() protected static method

protected static getFieldFlags ( $what )

getFieldType() protected static method

protected static getFieldType ( $what )

mysqlFieldInfo() public static method

public static mysqlFieldInfo ( mysqli_result $result, $field, $what )
$result mysqli_result

Property Details

$connections public static property

public static $connections

$last_connection public static property

public static $last_connection