PHP Class eZ\Publish\Core\Repository\Values\Content\VersionInfo

Inheritance: extends eZ\Publish\API\Repository\Values\Content\VersionInfo
Afficher le fichier Open project: ezsystems/ezpublish-kernel

Protected Properties

Свойство Type Description
$contentInfo eZ\Publish\API\Repository\Values\Content\ContentInfo
$names array

Méthodes publiques

Méthode Description
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.

Method Details

getContentInfo() public méthode

Content of the content this version belongs to.
public getContentInfo ( ) : eZ\Publish\API\Repository\Values\Content\ContentInfo
Résultat eZ\Publish\API\Repository\Values\Content\ContentInfo

getName() public méthode

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
Résultat string

getNames() public méthode

Returns the names computed from the name schema in the available languages.
public getNames ( ) : string[]
Résultat string[]

Property Details

$contentInfo protected_oe property

protected ContentInfo,eZ\Publish\API\Repository\Values\Content $contentInfo
Résultat eZ\Publish\API\Repository\Values\Content\ContentInfo

$names protected_oe property

protected array $names
Résultat array