PHP Class Jarves\Configuration\Connection

Inheritance: extends Model
Exibir arquivo Open project: jarves/jarves Class Usage Examples

Protected Properties

Property Type Description
$attributes
$charset string
$docBlock
$docBlocks
$name string
$password string
$persistent boolean
$port integer
$rootName
$server string
$slave boolean Defines whether this is a slave and therefore a read-only connection.
$type string
$username string

Public Methods

Method Description
getCharset ( ) : string
getDsn ( $withLogin = false )
getName ( ) : string
getPassword ( ) : string
getPersistent ( ) : boolean
getPort ( ) : integer
getRootName ( ) : string
getServer ( ) : string
getSlave ( ) : boolean
getType ( ) : string
getUsername ( ) : string
isSlave ( )
setCharset ( string $charset )
setName ( string $name )
setPassword ( string $password )
setPersistent ( boolean $persistent )
setPort ( integer $port )
setRootName ( string $rootName )
setServer ( string $server )
setSlave ( boolean $slave )
setType ( string $type )
setUsername ( string $username )

Method Details

getCharset() public method

public getCharset ( ) : string
return string

getDsn() public method

public getDsn ( $withLogin = false )

getName() public method

public getName ( ) : string
return string

getPassword() public method

public getPassword ( ) : string
return string

getPersistent() public method

public getPersistent ( ) : boolean
return boolean

getPort() public method

public getPort ( ) : integer
return integer

getRootName() public method

public getRootName ( ) : string
return string

getServer() public method

public getServer ( ) : string
return string

getSlave() public method

public getSlave ( ) : boolean
return boolean

getType() public method

public getType ( ) : string
return string

getUsername() public method

public getUsername ( ) : string
return string

isSlave() public method

public isSlave ( )

setCharset() public method

public setCharset ( string $charset )
$charset string

setName() public method

public setName ( string $name )
$name string

setPassword() public method

public setPassword ( string $password )
$password string

setPersistent() public method

public setPersistent ( boolean $persistent )
$persistent boolean

setPort() public method

public setPort ( integer $port )
$port integer

setRootName() public method

public setRootName ( string $rootName )
$rootName string

setServer() public method

public setServer ( string $server )
$server string

setSlave() public method

public setSlave ( boolean $slave )
$slave boolean

setType() public method

public setType ( string $type )
$type string

setUsername() public method

public setUsername ( string $username )
$username string

Property Details

$attributes protected_oe property

protected $attributes

$charset protected_oe property

protected string $charset
return string

$docBlock protected_oe property

protected $docBlock

$docBlocks protected_oe property

protected $docBlocks

$name protected_oe property

protected string $name
return string

$password protected_oe property

protected string $password
return string

$persistent protected_oe property

protected bool $persistent
return boolean

$port protected_oe property

protected int $port
return integer

$rootName protected_oe property

protected $rootName

$server protected_oe property

protected string $server
return string

$slave protected_oe property

Defines whether this is a slave and therefore a read-only connection.
protected bool $slave
return boolean

$type protected_oe property

protected string $type
return string

$username protected_oe property

protected string $username
return string