Documentation

Input

Table of Contents

clean()  : mixed
Clean input.
decodeHtmlEntity()  : mixed
Decode HTML entity.
input()  : mixed
Accpet input Support get.post,put,patch,delete,others.
inputAll()  : mixed
Accpet input Support get.post,put,patch,delete,others.
isFromSubmit()  : bool
Check form sbumit or not.
restoreLineBreaks()  : mixed
Restore new lines.
wordWrapEnable()  : mixed
Wordwrap.

Methods

clean()

Clean input.

public static clean((string) $input, (string) $type) : mixed
Parameters
$input : (string)

string

$type : (string)

secured,root

Tags
since
1.0.0
Return values
mixed

decodeHtmlEntity()

Decode HTML entity.

public decodeHtmlEntity((string) $input) : mixed
Parameters
$input : (string)

string.

Tags
since
1.0.0
Return values
mixed

input()

Accpet input Support get.post,put,patch,delete,others.

public static input((string) $key) : mixed
Parameters
$key : (string)

name of filed (required in get,post request)

Tags
since
1.0.0
Return values
mixed

inputAll()

Accpet input Support get.post,put,patch,delete,others.

public static inputAll() : mixed
Tags
since
1.0.0
Return values
mixed

isFromSubmit()

Check form sbumit or not.

public static isFromSubmit((string) $name) : bool
Parameters
$name : (string)

name of submit button/ field

Tags
since
1.0.0
Return values
bool

restoreLineBreaks()

Restore new lines.

public static restoreLineBreaks((string) $str) : mixed
Parameters
$str : (string)

string that tobe restored new lines

Tags
since
1.0.0
Return values
mixed

wordWrapEnable()

Wordwrap.

public static wordWrapEnable((string) $str, mixed $width) : mixed
Parameters
$str : (string)

Str to be wordwraped

$width : mixed
Tags
since
1.0.0
Return values
mixed

Search results