1434. Class

1434.1. Zend\Mvc\Controller\Plugin\Params

1434.1.1. Methods

1434.1.1.1. __invoke

__invoke()

Grabs a param from route match by default.

Parameters:
  • string
  • mixed
Return type:

mixed

1434.1.1.2. fromFiles

fromFiles()

Return all files or a single file.

Parameters:
  • string – File name to retrieve, or null to get all.
  • mixed – Default value to use when the file is missing.
Return type:

array|ArrayAccess|null

1434.1.1.3. fromHeader

fromHeader()

Return all header parameters or a single header parameter.

Parameters:
  • string – Header name to retrieve, or null to get all.
  • mixed – Default value to use when the requested header is missing.
Return type:

null|ZendHttpHeaderHeaderInterface

1434.1.1.4. fromPost

fromPost()

Return all post parameters or a single post parameter.

Parameters:
  • string – Parameter name to retrieve, or null to get all.
  • mixed – Default value to use when the parameter is missing.
Return type:

mixed

1434.1.1.5. fromQuery

fromQuery()

Return all query parameters or a single query parameter.

Parameters:
  • string – Parameter name to retrieve, or null to get all.
  • mixed – Default value to use when the parameter is missing.
Return type:

mixed

1434.1.1.6. fromRoute

fromRoute()

Return all route parameters or a single route parameter.

Parameters:
  • string – Parameter name to retrieve, or null to get all.
  • mixed – Default value to use when the parameter is missing.
Return type:

mixed

Throws :

RuntimeException

Project Versions

Table Of Contents

Previous topic

1433. Class

Next topic

1435. Function

This Page