SpecGatherer
class SpecGatherer
Properties
protected SpecProviderInterface[] | $specProviders | ||
protected CRM_Core_DAO[] | $DAONames | A cache of DAOs based on entity |
Methods
getSpec(string $entity, string $action, $includeCustom)
Returns a RequestSpec with all the fields available. Uses spec providers to add or modify field specifications.
Details
at line 69
RequestSpec
getSpec(string $entity, string $action, $includeCustom)
Returns a RequestSpec with all the fields available. Uses spec providers to add or modify field specifications.
For an example see CustomFieldSpecProvider.