Maslosoft Mangan API
Class DocumentPropertyMeta
DocumentPropertyMeta
- Maslosoft\Addendum\Collections\MetaProperty
- Maslosoft\Mangan\Meta\DocumentPropertyMeta
Properties summary
public
string
|
$label
Field label |
#
''
|
public
string
|
$description
Description |
#
''
|
public
|
$dbRef
DB Ref metadata |
#
null
|
public
|
$embedded
Embedded document meta data |
#
null
|
public
|
$related
Related document meta data |
#
null
|
public
boolean
|
$owned
If document is owned set this to true. |
#
false
|
public
boolean
|
$updatable
When ownered decide if should be updatable |
#
true
|
public
|
$i18n
I18N metadata |
#
null
|
public
string[]
|
$decorators
Decorators |
#
[]
|
public
string|mixed[]
|
$sanitizer
Sanitizer short name or class name or configuration. |
#
null
|
public
boolean
|
$sanitizeArray
Whether sanitization should be performed for array of elements |
#
false
|
public
boolean
|
$persistent
If field should be persistent, by default true |
#
true
|
public
boolean|null
|
$safe
Whether attribute is safe for mass assignement |
#
null
|
public
boolean
|
$readonly
Whether property is read only |
#
false
|
public
boolean
|
$toJson
Whether property should be included when converting to Json |
#
true
|
public
boolean
|
$fromJson
Whether property should be included when converting from Json |
#
true
|
public
boolean
|
$toArray
Whether property should be included when converting to document array |
#
true
|
public
boolean
|
$fromArray
Whether property should be included when converting from document array |
#
true
|
public
boolean| |
$secret
Whether property is secret |
#
false
|
public
boolean
|
$propagateEvents
Whether events should be propagated to this property sub objects |
#
false
|
public
|
$validators
Validators configuration |
#
[]
|
public
|
$index
Index specification. |
#
null
|