Overview

Namespaces

  • Deimos
    • Request
      • Adapter
  • PHP

Traits

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

Trait Data

Class data

Direct Known Users

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

Parameters

$path
$default
$strip

Returns

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

Parameters

$path
$default
$strip

Returns

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

Parameters

$path
$strip

Returns

mixed

Throws

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

Parameters

$path
$strip

Returns

mixed

Throws

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

Parameters

$path
$default
$strip

Returns

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

Parameters

$path
$default
$strip

Returns

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

Parameters

$path
$default
$strip

Returns

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

Parameters

$path
$default
$strip

Returns

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

Parameters

$path
$default
$strip

Returns

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

Parameters

$path
$default
$strip

Returns

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

Parameters

$path
$default

Returns

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

Parameters

$path
$default
$strip

Returns

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

Parameters

$path
$default
$strip

Returns

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

Parameters

$path
$default
$strip

Returns

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

Parameters

$path
$default
$strip

Returns

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

Parameters

$path
$default
$strip

Returns

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

Parameters

$path
$default
$strip

Returns

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

Parameters

$path
$default

Returns

mixed
API documentation generated by ApiGen