Class

eZ\Publish\SPI\Persistence\Content\Type

class Type extends ValueObject

Constants

STATUS_DEFINED

STATUS_DRAFT

STATUS_MODIFIED

Properties

mixed $id Primary key: Content type ID.
int $status Primary key: Status (legacy: "version").
string[] $name Human readable name of the content type.
string[] $description Human readable description of the content type.
string $identifier String identifier of a type.
int $created Creation date (timestamp).
int $modified Modification date (timestamp).
mixed $creatorId Creator user id.
mixed $modifierId Modifier user id.
string $remoteId Unique remote ID.
string $urlAliasSchema URL alias schema Same as {@link \eZ\Publish\SPI\Persistence\Content\Type::$nameSchema}.
string $nameSchema Name schema.
bool $isContainer Determines if the type is a container.
mixed $initialLanguageId Initial language.
mixed $sortField Specifies which property the child locations should be sorted on by default when created.
mixed $sortOrder Specifies whether the sort order should be ascending or descending by default when created.
mixed[] $groupIds Contains an array of type group IDs.
FieldDefinition[] $fieldDefinitions Content fields in this type.
bool $defaultAlwaysAvailable