Overview

Namespaces

  • Baguette
    • Application
    • Response
    • Serializer
    • Session

Traits

  • AcceptLanguage
  • Logging
  • Param
  • Whoopsable
  • Overview
  • Namespace
  • Class

Trait Param

Param trait for Application (filter_var wrapper)

Namespace: Baguette\Application
Copyright: 2016 Baguette HQ
License: Apache-2.0
Author: USAMI Kenta tadsan@zonu.me
Link: http://php.net/manual/function.filter-var.php
Located at Application/Param.php
Methods summary
public mixed
# getParam( string $name, integer $filter = FILTER_DEFAULT, array $option = [] )

Parameters

$name
$filter
$option

Returns

mixed
public array
# getParamAsArray( string $name, integer $filter = FILTER_DEFAULT, array $option = [] )

Parameters

$name
$filter
$option

Returns

array
public mixed
# getParamFilter( $name, integer $filter, mixed $filter_option = [], boolean $get_array = null )

Parameters

$name
$filter
$filter_option
$get_array

Returns

mixed
protected static mixed
# filterParam( mixed $value, integer $filter = FILTER_DEFAULT, mixed $filter_option = null )

Parameters

$value
$filter
$filter_option

Returns

mixed
ξ ^ω^)ξ < Baguette Not Framework API documentation generated by ApiGen