class FolderTypeResolver (View source)

deprecated 5.3.0 Will be moved to the silverstripe/graphql module

Methods

public
__construct()

No description

public static 
mixed
resolveFolderChildren(Folder $object, array $args, array $context, ResolveInfo $info)

No description

public static 
int
resolveFolderDescendantFileCount(Folder|AssetAdminFile $object, array $args, array $context, ResolveInfo $info)

No description

public static 
int
resolveFolderFilesInUseCount(Folder|AssetAdminFile $object, array $args, array $context, ResolveInfo $info)

No description

public static 
File[]
resolveFolderParents(File $object, array $args, array $context, ResolveInfo $info)

No description

public static 
sortChildren(array $context)

No description

Details

__construct()

No description

static mixed resolveFolderChildren(Folder $object, array $args, array $context, ResolveInfo $info)

No description

Parameters

Folder $object
array $args
array $context
ResolveInfo $info

Return Value

mixed

Exceptions

InvalidArgumentException
Exception

static int resolveFolderDescendantFileCount(Folder|AssetAdminFile $object, array $args, array $context, ResolveInfo $info)

No description

Parameters

Folder|AssetAdminFile $object
array $args
array $context
ResolveInfo $info

Return Value

int

static int resolveFolderFilesInUseCount(Folder|AssetAdminFile $object, array $args, array $context, ResolveInfo $info)

No description

Parameters

Folder|AssetAdminFile $object
array $args
array $context
ResolveInfo $info

Return Value

int

static File[] resolveFolderParents(File $object, array $args, array $context, ResolveInfo $info)

No description

Parameters

File $object
array $args
array $context
ResolveInfo $info

Return Value

File[]

static Closure sortChildren(array $context)

No description

Parameters

array $context

Return Value

Closure