PHP Класс eZ\Publish\Core\REST\Client\Tests\IdManager

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$requestParser eZ\Publish\Core\REST\Common\RequestParser URL handler.

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

Метод Описание
__construct ( eZ\Publish\Core\REST\Common\RequestParser $requestParser ) Creates a new ID manager based on $requestParser.
generateId ( string $type, mixed $rawId ) : mixed Generates a repository specific ID.
parseId ( string $type, mixed $id ) : mixed Parses the given $id for $type into its raw form.

Описание методов

__construct() публичный Метод

Creates a new ID manager based on $requestParser.
public __construct ( eZ\Publish\Core\REST\Common\RequestParser $requestParser )
$requestParser eZ\Publish\Core\REST\Common\RequestParser

generateId() публичный Метод

Generates a repository specific ID for an object of $type from the database ID $rawId.
public generateId ( string $type, mixed $rawId ) : mixed
$type string
$rawId mixed
Результат mixed

parseId() публичный Метод

Takes a repository specific $id of $type and returns the raw database ID for the object.
public parseId ( string $type, mixed $id ) : mixed
$type string
$id mixed
Результат mixed

Описание свойств

$requestParser защищенное свойство

URL handler.
protected RequestParser,eZ\Publish\Core\REST\Common $requestParser
Результат eZ\Publish\Core\REST\Common\RequestParser