PHP 클래스 Sulu\Component\Rest\ListBuilder\Metadata\FieldDescriptorFactory

상속: implements Sulu\Component\Rest\ListBuilder\Metadata\FieldDescriptorFactoryInterface
파일 보기 프로젝트 열기: sulu/sulu

공개 메소드들

메소드 설명
__construct ( Sulu\Component\Rest\ListBuilder\Metadata\ProviderInterface $metadataProvider, $cachePath, $debug )
getFieldDescriptorForClass ( $className, $options = [], $type = null )

보호된 메소드들

메소드 설명
getConcatenationFieldDescriptor ( PropertyMetadata $generalMetadata, ConcatenationTypeMetadata $type, array $options ) : DoctrineConcatenationFieldDescriptor Returns concatenation field-descriptor for given general metadata.
getCountFieldDescriptor ( PropertyMetadata $generalMetadata, FieldMetadata $fieldMetadata ) : DoctrineCountFieldDescriptor Returns count-field-descriptor for given general metadata.
getFieldDescriptor ( PropertyMetadata $generalMetadata, FieldMetadata $fieldMetadata, array $options ) : DoctrineFieldDescriptor Returns field-descriptor for given general metadata.
getGroupConcatenationFieldDescriptor ( PropertyMetadata $generalMetadata, GroupConcatTypeMetadata $type, array $options ) : DoctrineGroupConcatFieldDescriptor Returns concatenation field-descriptor for given general metadata.

비공개 메소드들

메소드 설명
getCaseFieldDescriptor ( PropertyMetadata $generalMetadata, CaseTypeMetadata $type, array $options ) : DoctrineCaseFieldDescriptor Returns case field-descriptor for given general metadata.
getDoctrineJoins ( array $joinMetadata, array $options ) : DoctrineFieldDescriptor[] Creates doctrine-joins.
getGeneralFieldDescriptor ( PropertyMetadata $generalMetadata, $options ) : Sulu\Component\Rest\ListBuilder\FieldDescriptorInterface Returns general field-descriptor.
getIdentityFieldDescriptor ( PropertyMetadata $generalMetadata, IdentityTypeMetadata $type, array $options ) : DoctrineIdentityFieldDescriptor Returns identity field-descriptor for given general metadata.
isDefault ( PropertyMetadata $generalMetadata ) : boolean Determine default state.
isDisabled ( PropertyMetadata $generalMetadata ) : boolean Determine disabled state.
resolveOptions ( string $string, array $options ) : string Resolves options for string.

메소드 상세

__construct() 공개 메소드

public __construct ( Sulu\Component\Rest\ListBuilder\Metadata\ProviderInterface $metadataProvider, $cachePath, $debug )
$metadataProvider Sulu\Component\Rest\ListBuilder\Metadata\ProviderInterface

getConcatenationFieldDescriptor() 보호된 메소드

Returns concatenation field-descriptor for given general metadata.
protected getConcatenationFieldDescriptor ( PropertyMetadata $generalMetadata, ConcatenationTypeMetadata $type, array $options ) : DoctrineConcatenationFieldDescriptor
$generalMetadata Sulu\Component\Rest\ListBuilder\Metadata\General\PropertyMetadata
$type Sulu\Component\Rest\ListBuilder\Metadata\Doctrine\Type\ConcatenationTypeMetadata
$options array
리턴 Sulu\Component\Rest\ListBuilder\Doctrine\FieldDescriptor\DoctrineConcatenationFieldDescriptor

getCountFieldDescriptor() 보호된 메소드

Returns count-field-descriptor for given general metadata.
protected getCountFieldDescriptor ( PropertyMetadata $generalMetadata, FieldMetadata $fieldMetadata ) : DoctrineCountFieldDescriptor
$generalMetadata Sulu\Component\Rest\ListBuilder\Metadata\General\PropertyMetadata
$fieldMetadata Sulu\Component\Rest\ListBuilder\Metadata\Doctrine\FieldMetadata
리턴 Sulu\Component\Rest\ListBuilder\Doctrine\FieldDescriptor\DoctrineCountFieldDescriptor

getFieldDescriptor() 보호된 메소드

Returns field-descriptor for given general metadata.
protected getFieldDescriptor ( PropertyMetadata $generalMetadata, FieldMetadata $fieldMetadata, array $options ) : DoctrineFieldDescriptor
$generalMetadata Sulu\Component\Rest\ListBuilder\Metadata\General\PropertyMetadata
$fieldMetadata Sulu\Component\Rest\ListBuilder\Metadata\Doctrine\FieldMetadata
$options array
리턴 Sulu\Component\Rest\ListBuilder\Doctrine\FieldDescriptor\DoctrineFieldDescriptor

getFieldDescriptorForClass() 공개 메소드

public getFieldDescriptorForClass ( $className, $options = [], $type = null )

getGroupConcatenationFieldDescriptor() 보호된 메소드

Returns concatenation field-descriptor for given general metadata.
protected getGroupConcatenationFieldDescriptor ( PropertyMetadata $generalMetadata, GroupConcatTypeMetadata $type, array $options ) : DoctrineGroupConcatFieldDescriptor
$generalMetadata Sulu\Component\Rest\ListBuilder\Metadata\General\PropertyMetadata
$type Sulu\Component\Rest\ListBuilder\Metadata\Doctrine\Type\GroupConcatTypeMetadata
$options array
리턴 Sulu\Component\Rest\ListBuilder\Doctrine\FieldDescriptor\DoctrineGroupConcatFieldDescriptor