PHP Class Jackalope\NodeType\PropertyDefinition

TODO: document array format of constructor
Inheritance: extends ItemDefinition, implements PHPCR\NodeType\PropertyDefinitionInterface
ファイルを表示 Open project: jackalope/jackalope Class Usage Examples

Protected Properties

Property Type Description
$availableQueryOperators array List of constants from \PHPCR\Query\QueryObjectModelConstantsInterface
$defaultValues mixed
$isFullTextSearchable boolean
$isMultiple boolean
$isQueryOrderable boolean
$requiredType integer One of the PropertyType type constants
$valueConstraints array The constraint information array (array of strings)

Public Methods

Method Description
getAvailableQueryOperators ( ) {@inheritDoc}
getDefaultValues ( ) {@inheritDoc}
getRequiredType ( ) {@inheritDoc}
getValueConstraints ( ) {@inheritDoc}
isFullTextSearchable ( ) {@inheritDoc}
isMultiple ( ) {@inheritDoc}
isQueryOrderable ( ) {@inheritDoc}

Protected Methods

Method Description
fromArray ( array $data ) Treat more information in addition to ItemDefinition::fromArray()

Method Details

fromArray() protected method

See class documentation for the fields supported in the array.
protected fromArray ( array $data )
$data array The property definition in array form.

getAvailableQueryOperators() public method

{@inheritDoc}

getDefaultValues() public method

{@inheritDoc}
public getDefaultValues ( )

getRequiredType() public method

{@inheritDoc}
public getRequiredType ( )

getValueConstraints() public method

{@inheritDoc}
public getValueConstraints ( )

isFullTextSearchable() public method

{@inheritDoc}

isMultiple() public method

{@inheritDoc}
public isMultiple ( )

isQueryOrderable() public method

{@inheritDoc}
public isQueryOrderable ( )

Property Details

$availableQueryOperators protected_oe property

List of constants from \PHPCR\Query\QueryObjectModelConstantsInterface
protected array $availableQueryOperators
return array

$defaultValues protected_oe property

protected mixed $defaultValues
return mixed

$isFullTextSearchable protected_oe property

protected bool $isFullTextSearchable
return boolean

$isMultiple protected_oe property

protected bool $isMultiple
return boolean

$isQueryOrderable protected_oe property

protected bool $isQueryOrderable
return boolean

$requiredType protected_oe property

One of the PropertyType type constants
protected int $requiredType
return integer

$valueConstraints protected_oe property

The constraint information array (array of strings)
protected array $valueConstraints
return array