PHP Класс eZ\Publish\Core\REST\Client\Values\Content\VersionInfo

См. также: eZ\Publish\API\Repository\Values\Content\VersionInfo
Наследование: extends eZ\Publish\API\Repository\Values\Content\VersionInfo
Показать файл Открыть проект

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

Свойство Тип Описание
$contentInfoId string
$contentService eZ\Publish\Core\REST\Client\ContentService
$names string[]

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

Метод Описание
__construct ( eZ\Publish\API\Repository\ContentService $contentService, array $data = [] )
__get ( $propertyName )
__isset ( $propertyName )
getContentInfo ( ) : ContentInfo Content of the content this version belongs to.
getName ( string $languageCode = null ) : string Returns the name computed from the name schema in the given language.
getNames ( ) : string[] Returns the names computed from the name schema in the available languages.

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

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

public __construct ( eZ\Publish\API\Repository\ContentService $contentService, array $data = [] )
$contentService eZ\Publish\API\Repository\ContentService
$data array

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

public __get ( $propertyName )

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

public __isset ( $propertyName )

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

Content of the content this version belongs to.
public getContentInfo ( ) : ContentInfo
Результат ContentInfo

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

If no language is given the name in initial language of the version if present, otherwise null.
public getName ( string $languageCode = null ) : string
$languageCode string
Результат string

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

Returns the names computed from the name schema in the available languages.
public getNames ( ) : string[]
Результат string[]

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

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

protected string $contentInfoId
Результат string

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

protected ContentService,eZ\Publish\Core\REST\Client $contentService
Результат eZ\Publish\Core\REST\Client\ContentService

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

protected string[] $names
Результат string[]