PHP Class LazyRecord\DSN\DSN

getHost(), getPort(), getDBName() methods are used by MySQL and PostgreSQL
Inheritance: implements ArrayAcces\ArrayAccess, implements IteratorAggregat\IteratorAggregate
Datei anzeigen Open project: corneltek/lazyrecord Class Usage Examples

Protected Properties

Property Type Description
$arguments array
$attributes array
$driver string
$originalDSN The original DSN string.

Public Methods

Method Description
__construct ( $driver, array $attributes = [], array $arguments = [], $originalDSN = null )
__get ( $key )
__isset ( $key )
__toString ( )
getArguments ( )
getAttribute ( $key )
getAttributeString ( )
getDBName ( )
getDriver ( )
getHost ( )
getOriginalDSN ( )
getPort ( )
offsetExists ( $key )
offsetGet ( $key )
offsetSet ( $key, $value )
offsetUnset ( $key )
removeAttribute ( $key )
setAttribute ( $key, $val )

Method Details

__construct() public method

public __construct ( $driver, array $attributes = [], array $arguments = [], $originalDSN = null )
$attributes array
$arguments array

__get() public method

public __get ( $key )

__isset() public method

public __isset ( $key )

__toString() public method

public __toString ( )

getArguments() public method

public getArguments ( )

getAttribute() public method

public getAttribute ( $key )

getAttributeString() public method

public getAttributeString ( )

getDBName() public method

public getDBName ( )

getDriver() public method

public getDriver ( )

getHost() public method

public getHost ( )

getOriginalDSN() public method

public getOriginalDSN ( )

getPort() public method

public getPort ( )

offsetExists() public method

public offsetExists ( $key )

offsetGet() public method

public offsetGet ( $key )

offsetSet() public method

public offsetSet ( $key, $value )

offsetUnset() public method

public offsetUnset ( $key )

removeAttribute() public method

public removeAttribute ( $key )

setAttribute() public method

public setAttribute ( $key, $val )

Property Details

$arguments protected_oe property

protected array $arguments
return array

$attributes protected_oe property

protected array $attributes
return array

$driver protected_oe property

protected string $driver
return string

$originalDSN protected_oe property

The original DSN string.
protected $originalDSN