PHP 클래스 eZ\Publish\Core\Repository\Values\User\UserGroup

상속: extends eZ\Publish\API\Repository\Values\User\UserGroup
파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$content eZ\Publish\API\Repository\Values\Content\Content Internal content representation.

공개 메소드들

메소드 설명
__get ( string $property ) : mixed Magic getter for retrieving convenience properties.
__isset ( string $property ) : boolean Magic isset for signaling existence of convenience properties.
getField ( string $fieldDefIdentifier, string | null $languageCode = null ) : eZ\Publish\API\Repository\Values\Content\Field | null This method returns the field for a given field definition identifier and language.
getFieldValue ( string $fieldDefIdentifier, string $languageCode = null ) : mixed Returns a field value for the given value $version->fields[$fieldDefId][$languageCode] is an equivalent call if no language is given on a translatable field this method returns the value of the initial language of the version if present, otherwise null.
getFields ( ) : eZ\Publish\API\Repository\Values\Content\Field[] This method returns the complete fields collection.
getFieldsByLanguage ( string $languageCode = null ) : eZ\Publish\API\Repository\Values\Content\Field[] This method returns the fields for a given language and non translatable fields.
getVersionInfo ( ) : eZ\Publish\API\Repository\Values\Content\VersionInfo Returns the VersionInfo for this version.

보호된 메소드들

메소드 설명
getProperties ( array $dynamicProperties = ['id', 'contentInfo'] ) : array Function where list of properties are returned.

메소드 상세

__get() 공개 메소드

Magic getter for retrieving convenience properties.
public __get ( string $property ) : mixed
$property string The name of the property to retrieve
리턴 mixed

__isset() 공개 메소드

Magic isset for signaling existence of convenience properties.
public __isset ( string $property ) : boolean
$property string
리턴 boolean

getField() 공개 메소드

If not set the initialLanguage of the content version is used.
public getField ( string $fieldDefIdentifier, string | null $languageCode = null ) : eZ\Publish\API\Repository\Values\Content\Field | null
$fieldDefIdentifier string
$languageCode string | null
리턴 eZ\Publish\API\Repository\Values\Content\Field | null A {@link Field} or null if nothing is found

getFieldValue() 공개 메소드

On non translatable fields this method ignores the languageCode parameter.
public getFieldValue ( string $fieldDefIdentifier, string $languageCode = null ) : mixed
$fieldDefIdentifier string
$languageCode string
리턴 mixed a primitive type or a field type Value object depending on the field type.

getFields() 공개 메소드

This method returns the complete fields collection.
public getFields ( ) : eZ\Publish\API\Repository\Values\Content\Field[]
리턴 eZ\Publish\API\Repository\Values\Content\Field[]

getFieldsByLanguage() 공개 메소드

If note set the initialLanguage of the content version is used.
public getFieldsByLanguage ( string $languageCode = null ) : eZ\Publish\API\Repository\Values\Content\Field[]
$languageCode string
리턴 eZ\Publish\API\Repository\Values\Content\Field[] with field identifier as keys

getProperties() 보호된 메소드

Override to add dynamic properties
protected getProperties ( array $dynamicProperties = ['id', 'contentInfo'] ) : array
$dynamicProperties array
리턴 array

getVersionInfo() 공개 메소드

Returns the VersionInfo for this version.
public getVersionInfo ( ) : eZ\Publish\API\Repository\Values\Content\VersionInfo
리턴 eZ\Publish\API\Repository\Values\Content\VersionInfo

프로퍼티 상세

$content 보호되어 있는 프로퍼티

Internal content representation.
protected Content,eZ\Publish\API\Repository\Values\Content $content
리턴 eZ\Publish\API\Repository\Values\Content\Content