Structure
The Structure class wraps array data into a nicely chainable collection with objects and Kirby-style content with fields. The Structure class is the heart and soul of our yaml conversion method for pages.
-
$structure->add()
-
$structure->append()
-
$structure->chunk()
-
$structure->clone()
-
$structure->count()
-
$structure->current()
-
$structure->data()
-
$structure->empty()
-
$structure->extend()
-
$structure->filter()
-
$structure->filterBy()
-
$structure->find()
-
$structure->findBy()
-
$structure->findByKey()
-
$structure->first()
-
$structure->flip()
-
$structure->get()
-
$structure->getAttribute()
-
$structure->getIterator()
-
$structure->group()
-
$structure->groupBy()
-
$structure->has()
-
$structure->indexOf()
-
$structure->intersection()
-
$structure->intersects()
-
$structure->isEmpty()
-
$structure->isEven()
-
$structure->isNotEmpty()
-
$structure->isOdd()
-
$structure->key()
-
$structure->keyOf()
-
$structure->keys()
-
$structure->last()
-
$structure->limit()
-
$structure->map()
-
$structure->next()
-
$structure->not()
-
$structure->nth()
-
$structure->offset()
-
$structure->paginate()
-
$structure->pagination()
-
$structure->parent()
-
$structure->pluck()
-
$structure->prepend()
-
$structure->prev()
-
$structure->query()
-
$structure->random()
-
$structure->remove()
-
$structure->rewind()
-
$structure->search()
-
$structure->set()
-
$structure->shuffle()
-
$structure->slice()
-
$structure->sort()
-
$structure->sortBy()
-
$structure->toArray()
-
$structure->toJson()
-
$structure->toString()
-
$structure->valid()
-
$structure->values()
-
$structure->when()
-
$structure->without()
-
new Structure()
-
Structure::sortArgs()