Skip to content

Kirby 5.3.3

$structureObject->__call()

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

$structureObject->__call(string $method, array $args = [ ]): mixed

Parameters

Name Type Default
$methodrequired string no default value
$args array [ ]

Return type

mixed

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

Parent class

Kirby\Cms\StructureObject