Skip to content

Kirby 5.1.2

$structureObject->__call()

Modified getter to also return fields from the object's content

$structureObject->__call(string $method): mixed

Parameters

Name Type Default
$methodrequired string no default value

Return type

mixed

This method modifies the existing $structureobject object it is applied to and returns it again.

Parent class

Kirby\Cms\StructureObject