Documentation

Type extends EnumType
in package

Specific ENUM type class for Doctrine mapping

The namespace of this class contains information about the component, entity and field it is generated for. Namespace scheme is: \Cx\Core\Model\Data\Enum<component_name><entity_name> The class name equals the field's name (starting with an uppercase letter).

Tags
copyright

CLOUDREXX CMS - CLOUDREXX AG

author

Michael Ritter michael.ritter@cloudrexx.com

version
5.0.0
subpackage

core_model

Table of Contents

Properties

$values  : array<string|int, mixed>
Sets the possible values for this ENUM type

Methods

getDefaultLength()  : mixed
{@inheritdoc}
getName()  : mixed
{@inheritdoc}
getSQLDeclaration()  : mixed
{@inheritdoc}

Properties

$values

Sets the possible values for this ENUM type

protected array<string|int, mixed> $values = array('core', 'core_module', 'module')

List of possible values for this ENUM

Methods

getDefaultLength()

{@inheritdoc}

public getDefaultLength(AbstractPlatform $platform) : mixed
Parameters
$platform : AbstractPlatform

getSQLDeclaration()

{@inheritdoc}

public getSQLDeclaration(array<string|int, mixed> $fieldDeclaration, AbstractPlatform $platform) : mixed
Parameters
$fieldDeclaration : array<string|int, mixed>
$platform : AbstractPlatform

        
On this page

Search results