Resolver
class Resolver (View source)
Generic resolver for DataObjects
Methods
resolve(DataObject $obj, array $args = [], array $context = [], ResolveInfo|null $info = null)
No description
baseResolve(DataObject $obj, array $args = [], array $context = [], ResolveInfo|null $info = null)
Just the basic ViewableData field accessor bit, without all the property mapping overhead. Useful for custom dataobject types that circumvent the model layer.
static mixed|null
Details
static array|bool|int|mixed|DataList|DataObject|DBField|SS_List|string|null
resolve(DataObject $obj, array $args = [], array $context = [], ResolveInfo|null $info = null)
static array|bool|int|mixed|DataList|DataObject|DBField|SS_List|string|null
baseResolve(DataObject $obj, array $args = [], array $context = [], ResolveInfo|null $info = null)
Just the basic ViewableData field accessor bit, without all the property mapping overhead. Useful for custom dataobject types that circumvent the model layer.