MysqliPlugin
extends Plugin
in package
Adds support for Mysqli object parsing.
Due to the way mysqli is implemented in PHP, this will cause warnings on certain Mysqli objects if screaming is enabled.
Table of Contents
- $always_readable : mixed
- $connected_readable : mixed
- $empty_readable : mixed
- $parser : mixed
- getTriggers() : mixed
- getTypes() : array<string|int, mixed>
- An array of types (As returned by gettype) for all data this plugin can operate on.
- parse() : mixed
- setParser() : mixed
Properties
$always_readable
protected
mixed
$always_readable
= array('client_version' => true, 'connect_errno' => true, 'connect_error' => true)
$connected_readable
protected
mixed
$connected_readable
= array('affected_rows' => true, 'error_list' => true, 'field_count' => true, 'host_info' => true, 'info' => true, 'insert_id' => true, 'server_info' => true, 'server_version' => true, 'stat' => true, 'sqlstate' => true, 'protocol_version' => true, 'thread_id' => true, 'warning_count' => true)
$empty_readable
protected
mixed
$empty_readable
= array('client_info' => true, 'errno' => true, 'error' => true)
$parser
protected
mixed
$parser
Methods
getTriggers()
public
getTriggers() : mixed
Return values
mixed —getTypes()
An array of types (As returned by gettype) for all data this plugin can operate on.
public
getTypes() : array<string|int, mixed>
Return values
array<string|int, mixed> —List of types
parse()
public
parse(mixed &$var, BasicObject &$o, mixed $trigger) : mixed
Parameters
- $var : mixed
- $o : BasicObject
- $trigger : mixed
Return values
mixed —setParser()
public
setParser(Parser $p) : mixed
Parameters
- $p : Parser