class ReadFileConnection extends Connection (View source)

deprecated 1.8.0 Use the latest version of graphql instead

Connection that sorts by folders first

Methods

public
__construct(string $connectionName)

No description

protected
applySort(SS_List $list, array $sortBy)

Always sort by folders before files

Details

__construct(string $connectionName)

No description

Parameters

string $connectionName

protected SS_List applySort(SS_List $list, array $sortBy)

Always sort by folders before files

Parameters

SS_List $list
array $sortBy

Return Value

SS_List