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

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

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

Свойство Тип Описание
$contentInfo eZ\Publish\API\Repository\Values\Content\ContentInfo
$names array

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

Метод Описание
getContentInfo ( ) : eZ\Publish\API\Repository\Values\Content\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.

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

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

Content of the content this version belongs to.
public getContentInfo ( ) : eZ\Publish\API\Repository\Values\Content\ContentInfo
Результат eZ\Publish\API\Repository\Values\Content\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[]

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

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

protected ContentInfo,eZ\Publish\API\Repository\Values\Content $contentInfo
Результат eZ\Publish\API\Repository\Values\Content\ContentInfo

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

protected array $names
Результат array