PHP 클래스 Doctrine\OrientDB\Binding\BindingParameters

파일 보기 프로젝트 열기: doctrine/orientdb-odm 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $host = null, string $port = null, string $username = null, string $password = null, string $database = null ) Creates a new binding parameters instance.
create ( mixed $parameters ) : BindingParameters Creates a new binding parameters instance from a URI string or a parameters array.
fromArray ( array $parameters ) : BindingParameters Creates a new binding parameters instance from a parameters array.
fromString ( $uri ) : BindingParameters Creates a new binding parameters instance from a URI string.
getDatabase ( ) : string Returns the specified database on the OrientDB server.
getHost ( ) : string Returns the specified IP host pointing to the OrientDB server.
getPassword ( ) : string Returns the specified password to access the OrientDB server.
getPort ( ) : integer Returns the specified TCP port pointing to the OrientDB server.
getUsername ( ) : string Returns the specified username to access the OrientDB server.

메소드 상세

__construct() 공개 메소드

Creates a new binding parameters instance.
public __construct ( string $host = null, string $port = null, string $username = null, string $password = null, string $database = null )
$host string
$port string
$username string
$password string
$database string

create() 공개 정적인 메소드

Creates a new binding parameters instance from a URI string or a parameters array.
public static create ( mixed $parameters ) : BindingParameters
$parameters mixed
리턴 BindingParameters

fromArray() 공개 정적인 메소드

Creates a new binding parameters instance from a parameters array.
public static fromArray ( array $parameters ) : BindingParameters
$parameters array
리턴 BindingParameters

fromString() 공개 정적인 메소드

Creates a new binding parameters instance from a URI string.
public static fromString ( $uri ) : BindingParameters
리턴 BindingParameters

getDatabase() 공개 메소드

Returns the specified database on the OrientDB server.
public getDatabase ( ) : string
리턴 string

getHost() 공개 메소드

Returns the specified IP host pointing to the OrientDB server.
public getHost ( ) : string
리턴 string

getPassword() 공개 메소드

Returns the specified password to access the OrientDB server.
public getPassword ( ) : string
리턴 string

getPort() 공개 메소드

Returns the specified TCP port pointing to the OrientDB server.
public getPort ( ) : integer
리턴 integer

getUsername() 공개 메소드

Returns the specified username to access the OrientDB server.
public getUsername ( ) : string
리턴 string