NZTA\SDLT\Model\ImpactThreshold
Class ImpactThreshold. Represents an admin-managed record for association with Base Impact Ratings.
Synopsis
class ImpactThreshold
extends DataObject
implements
ScaffoldingProvider
{
- // members
- private static string $table_name = 'ImpactThreshold';
- // methods
- public static mixed match()
- public SchemaScaffolder provideGraphQLScaffolding()
- public bool canView()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Implements
- SilverStripe\GraphQL\Scaffolding\Interfaces\ScaffoldingProvider
Members
private
- $table_name — string
Methods
public
- canView() — Allow logged-in user to access the model
- match() — If $operator and $operand match an impact-rating, return it.
- provideGraphQLScaffolding()