Zend Framework
3.0
|
Public Member Functions | |
__invoke (ContainerInterface $container, $requestedName, array $options=null) | |
Create a form (v3) | |
canCreate (ContainerInterface $container, $requestedName) | |
Can we create the requested service? (v3) | |
canCreateServiceWithName (ServiceLocatorInterface $serviceLocator, $name, $requestedName) | |
Can we create the requested service? (v2) | |
createServiceWithName (ServiceLocatorInterface $serviceLocator, $name, $requestedName) | |
Create a form (v2) | |
Protected Member Functions | |
getConfig (ContainerInterface $container) | |
Get forms configuration, if any. | |
getFormFactory (ContainerInterface $container) | |
Retrieve the form factory, creating it if necessary. | |
marshalInputFilter (array &$config, ContainerInterface $container, Factory $formFactory) | |
Marshal the input filter into the configuration. | |
Protected Attributes | |
$config | |
$configKey = 'forms' | |
$factory | |
__invoke | ( | ContainerInterface | $container, |
$requestedName, | |||
array | $options = null |
||
) |
Create a form (v3)
ContainerInterface | $container | |
string | $requestedName | |
array | null | $options |
Implements FactoryInterface.
canCreate | ( | ContainerInterface | $container, |
$requestedName | |||
) |
Can we create the requested service? (v3)
ContainerInterface | $container | |
string | $requestedName |
Implements AbstractFactoryInterface.
canCreateServiceWithName | ( | ServiceLocatorInterface | $serviceLocator, |
$name, | |||
$requestedName | |||
) |
Can we create the requested service? (v2)
ServiceLocatorInterface | $serviceLocator | |
string | $name | Service name (as resolved by ServiceManager) |
string | $requestedName | Name by which service was requested |
Implements AbstractFactoryInterface.
createServiceWithName | ( | ServiceLocatorInterface | $serviceLocator, |
$name, | |||
$requestedName | |||
) |
Create a form (v2)
ServiceLocatorInterface | $serviceLocator | |
string | $name | Service name (as resolved by ServiceManager) |
string | $requestedName | Name by which service was requested |
Implements AbstractFactoryInterface.
|
protected |
Get forms configuration, if any.
ServiceLocatorInterface | $container |
|
protected |
Retrieve the form factory, creating it if necessary.
ContainerInterface | $services |
|
protected |
Marshal the input filter into the configuration.
If an input filter is specified:
array | $config | |
ContainerInterface | $container | |
Factory | $formFactory |
|
protected |
|
protected |
|
protected |