PHP Класс Doctrine\OrientDB\Query\Command\Credential

Наследование: extends Doctrine\OrientDB\Query\Command, implements Doctrine\OrientDB\Query\Command\CredentialInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
__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