Property | Type | Description | |
---|---|---|---|
$configFactory | ZF\Configuration\ResourceFactory |
Method | Description | |
---|---|---|
__construct ( ZF\Configuration\ResourceFactory $configFactory ) | $validatorPlugins should typically be an instance of Zend\Validator\ValidatorPluginManager. | |
controllerExists ( string $module, string $controller ) : boolean | Check if a module and controller exists | |
fetch ( string $module, string $controller, string $inputFilterName = null ) : false | array | InputFilterEntity | Get the validators of a specific module and controller | |
moduleExists ( string $module ) : boolean | Check if the module exists | |
remove ( string $module, string $controller, string $inputname ) : boolean | Remove the named input | |
update ( string $module, string $controller, array $inputFilter ) : false | InputFilterEntity | Update a specific controller with a new inputfilter (validator) |
Method | Description | |
---|---|---|
addInputFilter ( string $module, string $controller, array $inputFilter, string $validatorName = null ) : array | boolean | Add input filter | |
generateValidatorName ( string $controller ) : string | Generates the validator name based on controller name | |
getCollectionType ( string $controller ) : string | Determine the collection class to use | |
getEntityType ( string $controller ) : string | Determine the entity class to use | |
getInputFilter ( string $module, string $controller, string $inputFilterName = null ) : false | InputFilterCollection | InputFilterEntity | Get input filter of a module and controller | |
removeInputFilter ( string $module, string $controller, string $inputFilterName ) : boolean | Remove input filter |
public __construct ( ZF\Configuration\ResourceFactory $configFactory ) | ||
$configFactory | ZF\Configuration\ResourceFactory |
protected generateValidatorName ( string $controller ) : string | ||
$controller | string | |
return | string |
protected getCollectionType ( string $controller ) : string | ||
$controller | string | |
return | string |
protected getEntityType ( string $controller ) : string | ||
$controller | string | |
return | string |
public moduleExists ( string $module ) : boolean | ||
$module | string | |
return | boolean |