$pages->indexOf()
Correct position detection for objects.
Parameters
Name | Type | Default |
---|---|---|
$object * | string |object |
– |
Return type
int
Parent class
Kirby\Cms\Pages
inherited from Kirby\Cms\Collection
Correct position detection for objects.
Name | Type | Default |
---|---|---|
$object * | string |object |
– |
int
Kirby\Cms\Pages
inherited from Kirby\Cms\Collection