interface IAttributesAbstract (View source)

This interface defines the abstract methods for handling attributes in a database connection.

Methods

getInstance()

Get the connection instance.

getOptionsHandler()

Get the options handler instance.

void
set(string $name, mixed $value)

Set an attribute value using dynamic method call.

mixed
get(string $name)

Get an attribute value using dynamic method call.

Details

IConnection getInstance()

Get the connection instance.

Return Value

IConnection

The current connection instance

IOptions getOptionsHandler()

Get the options handler instance.

Return Value

IOptions

The current options handler instance

void set(string $name, mixed $value)

Set an attribute value using dynamic method call.

Parameters

string $name

The name of the attribute to set

mixed $value

The value to set

Return Value

void

mixed get(string $name)

Get an attribute value using dynamic method call.

Parameters

string $name

The name of the attribute to get

Return Value

mixed

The value of the requested attribute