StructureObject
The StructureObject represents each item in a Structure collection. StructureObjects behave pretty much the same as Pages or Users and have a Content object to access their fields.
- $structureobject->content()
- $structureobject->field()
- $structureobject->hasNext()
- $structureobject->hasPrev()
- $structureobject->id()
- $structureobject->indexOf()
- $structureobject->is()
- $structureobject->isFirst()
- $structureobject->isLast()
- $structureobject->isNth()
- $structureobject->kirby()
- $structureobject->next()
- $structureobject->nextAll()
- $structureobject->parent()
- $structureobject->prev()
- $structureobject->prevAll()
- $structureobject->siblings()
- $structureobject->toArray()
- new StructureObject()
- StructureObject::factory()