Class Request
Request related functions
Namespace: Phramework\Models
License: Apache-2.0
Author: Xenofon Spafaridis nohponex@gmail.com
Since 0
Located at Models/Request.php
License: Apache-2.0
Author: Xenofon Spafaridis nohponex@gmail.com
Since 0
Located at Models/Request.php
Methods summary
public static
object
|
|
public static
|
#
requireParameters( array|object $parameters, string|array $required )
Check if required parameters are set |
public static
string|integer
|
#
resourceId( array|object $parameters, boolean $UINTEGER = true )
Require id parameter if it's set else return NULL, it uses |
public static
|
#
requireId( array|object $parameters, boolean $UINTEGER = true )
Require id parameter, it uses |
public static
array
|
#
parseModel( array|object $parameters, array $model )
Required required values and parse provided parameters into an array Validate the provided request model and return the |
public static
array
|