PHP 클래스 Doctrine\OrientDB\Query\Command\Credential

상속: extends Doctrine\OrientDB\Query\Command, implements Doctrine\OrientDB\Query\Command\CredentialInterface
파일 보기 프로젝트 열기: doctrine/orientdb-odm

공개 메소드들

메소드 설명
__construct ( string $permission ) Creates a new statement, setting the $permission.
on ( string $resource ) : Credential Sets the $resource on which the credential is given.
permission ( string $permission ) : Credential Sets a permission for the query.
to ( string $role ) : Credential Sets the $role having the credential on a resource.

보호된 메소드들

메소드 설명
getTokenFormatters ( ) : Array Returns the formatters for this query's tokens.

메소드 상세

__construct() 공개 메소드

Creates a new statement, setting the $permission.
public __construct ( string $permission )
$permission string

getTokenFormatters() 보호된 메소드

Returns the formatters for this query's tokens.
protected getTokenFormatters ( ) : Array
리턴 Array

on() 공개 메소드

Sets the $resource on which the credential is given.
public on ( string $resource ) : Credential
$resource string
리턴 Credential

permission() 공개 메소드

Sets a permission for the query.
public permission ( string $permission ) : Credential
$permission string
리턴 Credential

to() 공개 메소드

Sets the $role having the credential on a resource.
public to ( string $role ) : Credential
$role string
리턴 Credential