PHP Class LazyRecord\DSN\DSN

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

Protected Properties

Свойство Type Description
$arguments array
$attributes array
$driver string
$originalDSN The original DSN string.

Méthodes publiques

Méthode 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 méthode

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

__get() public méthode

public __get ( $key )

__isset() public méthode

public __isset ( $key )

__toString() public méthode

public __toString ( )

getArguments() public méthode

public getArguments ( )

getAttribute() public méthode

public getAttribute ( $key )

getAttributeString() public méthode

public getAttributeString ( )

getDBName() public méthode

public getDBName ( )

getDriver() public méthode

public getDriver ( )

getHost() public méthode

public getHost ( )

getOriginalDSN() public méthode

public getOriginalDSN ( )

getPort() public méthode

public getPort ( )

offsetExists() public méthode

public offsetExists ( $key )

offsetGet() public méthode

public offsetGet ( $key )

offsetSet() public méthode

public offsetSet ( $key, $value )

offsetUnset() public méthode

public offsetUnset ( $key )

removeAttribute() public méthode

public removeAttribute ( $key )

setAttribute() public méthode

public setAttribute ( $key, $val )

Property Details

$arguments protected_oe property

protected array $arguments
Résultat array

$attributes protected_oe property

protected array $attributes
Résultat array

$driver protected_oe property

protected string $driver
Résultat string

$originalDSN protected_oe property

The original DSN string.
protected $originalDSN