Maslosoft Mangan API
Class RelatedOrderingAnnotation
RelatedOrderingAnnotation
Use this annotation to store order of related documents. This should be used on same field as Related or RelatedArray annotations are applied. This will apply incrementing values on selected field.
Will also apply sort if not set.
Compact notation:
RelatedOrdering('order')
Extended notation:
RelatedOrdering(orderField = 'order')
- Maslosoft\Addendum\Collections\MetaAnnotation
- Maslosoft\Mangan\Meta\ManganAnnotation
- Maslosoft\Mangan\Meta\ManganPropertyAnnotation
- Maslosoft\Mangan\Annotations\RelatedOrderingAnnotation
Namespace: Maslosoft\Mangan\Annotations
Conflicts('embedded')
Conflicts('embeddedarray')
Conflicts('dbref')
Conflicts('dbrefarray')
Template: RelatedOrdering('${orderField}')
Author: Piotr Maselkowski
Located at Annotations/RelatedOrderingAnnotation.php
Conflicts('embedded')
Conflicts('embeddedarray')
Conflicts('dbref')
Conflicts('dbrefarray')
Template: RelatedOrdering('${orderField}')
Author: Piotr Maselkowski
Located at Annotations/RelatedOrderingAnnotation.php
Methods inherited from Maslosoft\Mangan\Meta\ManganPropertyAnnotation
Methods inherited from Maslosoft\Mangan\Meta\ManganAnnotation
Properties summary
public
|
$value
|
|
public
|
$orderField
|
API documentation generated by ApiGen