SilverStripe\GraphQL\Resolvers\VersionFilters
Synopsis
class VersionFilters
{
- // methods
- public null|void applyToReadingState()
- public DataList applyToList()
- public void validateArgs()
- protected bool isValidDate()
Methods
protected
- isValidDate() — Returns true if date is in proper YYYY-MM-DD format
public
- applyToList()
- applyToReadingState() — Use this as a fallback where resolver results aren't queried as a DataList, but rather use DataObject::get_one(). Example: SiteTree::get_by_link().
- validateArgs()