Overview

Namespaces

  • Deimos
    • Request
      • Adapter
  • PHP

Traits

  • Data
  • Other
  • Query
  • Request
  • Router
  • Server
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Trait Query

Class query

Direct Known Users

Deimos\Request\RequestExtension
Namespace: Deimos\Request\Adapter
Package: Deimos\query\Adapter
Located at Request/Adapter/Query.php
Methods summary
public mixed
# get( string $path = null, mixed $default = null, boolean $strip = true )

Parameters

$path
$default
$strip

Returns

mixed
public mixed
# query( string $path = null, mixed $default = null, boolean $strip = true )

Parameters

$path
$default
$strip

Returns

mixed
public mixed
# getRequired( string $path = null, boolean $strip = true )

Parameters

$path
$strip

Returns

mixed

Throws

Deimos\Helper\Exceptions\ExceptionEmpty
public mixed
# queryRequired( string $path = null, boolean $strip = true )

Parameters

$path
$strip

Returns

mixed

Throws

Deimos\Helper\Exceptions\ExceptionEmpty
Magic methods summary
public integer
# queryInt( string $path = null, mixed $default, boolean $strip = true )

Parameters

$path
$default
$strip

Returns

integer
public float
# queryFloat( string $path = null, mixed $default = 0.0, boolean $strip = true )

Parameters

$path
$default
$strip

Returns

float
public boolean
# queryBool( string $path = null, mixed $default = false, boolean $strip = true )

Parameters

$path
$default
$strip

Returns

boolean
public string
# queryEmail( string $path = null, mixed $default = '', boolean $strip = true )

Parameters

$path
$default
$strip

Returns

string
public string
# queryIP( string $path = null, mixed $default = '', boolean $strip = true )

Parameters

$path
$default
$strip

Returns

string
public string
# queryURL( string $path = null, mixed $default = '', boolean $strip = true )

Parameters

$path
$default
$strip

Returns

string
public mixed
# queryUnsafe( string $path = null, mixed $default = '' )

Parameters

$path
$default

Returns

mixed
public integer
# getInt( string $path = null, mixed $default, boolean $strip = true )

Parameters

$path
$default
$strip

Returns

integer
public float
# getFloat( string $path = null, mixed $default = 0.0, boolean $strip = true )

Parameters

$path
$default
$strip

Returns

float
public boolean
# getBool( string $path = null, mixed $default = false, boolean $strip = true )

Parameters

$path
$default
$strip

Returns

boolean
public string
# getEmail( string $path = null, mixed $default = '', boolean $strip = true )

Parameters

$path
$default
$strip

Returns

string
public string
# getIP( string $path = null, mixed $default = '', boolean $strip = true )

Parameters

$path
$default
$strip

Returns

string
public string
# getURL( string $path = null, mixed $default = '', boolean $strip = true )

Parameters

$path
$default
$strip

Returns

string
public mixed
# getUnsafe( string $path = null, mixed $default = '' )

Parameters

$path
$default

Returns

mixed
API documentation generated by ApiGen