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