$structure->has()
Checks if the given object or id is in the collection
Parameters
Name | Type | Default |
---|---|---|
$key * | string |object |
– |
Return type
bool
Parent class
Kirby\Cms\Structure
inherited from Kirby\Cms\Collection
Checks if the given object or id is in the collection
Name | Type | Default |
---|---|---|
$key * | string |object |
– |
bool
Kirby\Cms\Structure
inherited from Kirby\Cms\Collection