Class DataSource
Über dieses Objekt kann eine Datenquelle genauer spezifiziert werden. Über die Methoden getURI() und getDSN() können untrschiedliche Definitionen der Werte abgerufen werden.
- Alvine\Persistence\DataSource
- Alvine\Persistence\Provider\MongoDB\DataSource
Namespace: Alvine\Persistence\Provider\MongoDB
Package: Alvine\Persistence\Provider\MongoDB
Category: Alvine
License: Alvine Nutzungslizenz
Author: schukai GmbH info@schukai.de
Version: $Revision:$
Since: 20130809
Link: alvine.io
Located at DataSource.class.php
Package: Alvine\Persistence\Provider\MongoDB
Category: Alvine
License: Alvine Nutzungslizenz
Author: schukai GmbH info@schukai.de
Version: $Revision:$
Since: 20130809
Link: alvine.io
Located at DataSource.class.php
public
|
#
__construct( string $host = null, integer $port = null, string $database = null, string $collection = null, string $user = null, string $password = null, Alvine\Types\Map\SimpleMap $parameter = null )
Neues Objekt erstellen |
protected
|
|
public
|
|
public static
Alvine\Persistence\Provider\MySQL\DataSource
|
string |
DEFAULTSERVER
Standardhost |
#
'localhost'
|
integer |
DEFAULTPORT
Standardport |
#
27017
|
string |
DEFAULTDATABASE
Standarddatenbank |
#
'alvine'
|
string |
DEFAULTCOLLECTION
Standardcollection |
#
'object'
|
protected
stirng
|
$host
Host |
#
null
|
protected
integer
|
$port
Port |
#
null
|
protected
string
|
$database
Datenbank |
#
null
|
protected
string
|
$collection
Tabelle |
#
null
|