\LinHUniX\Mcp\ComponentmcpToolsClass

Description of mcpToolsClass.

Summary

Methods
Properties
Constants
escapeClear()
toAscii()
Req2Session()
Object2Array()
move()
header()
httpRedirect()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

escapeClear()

escapeClear(string  $string) : string

Clear Escape char.

Parameters

string $string

Returns

string

toAscii()

toAscii(string  $str) : string

clear string from strange chars.

Parameters

string $str

Returns

string

Req2Session()

Req2Session(\LinHUniX\Mcp\Component\type  $arguments, \LinHUniX\Mcp\Component\type  $onlyPost = false) 

Request save to session.

Parameters

\LinHUniX\Mcp\Component\type $arguments

name of the request

\LinHUniX\Mcp\Component\type $onlyPost

if true don-t read get

Object2Array()

Object2Array(object  $data) : array

Object2Array function.

Parameters

object $data

Returns

array

move()

move(mixed  $string,   $default = null,   $ext = '',   $path = null,   $andEnd = true) 

move.

Parameters

mixed $string
$default
$ext
$path
$andEnd

header()

header(mixed  $string, mixed  $end = false, mixed  $replace = false, mixed  $retcode = null,   $htmljs = false) 

header.

Parameters

mixed $string
mixed $end
mixed $replace
mixed $retcode
$htmljs

httpRedirect()

httpRedirect(mixed  $string, mixed  $end = false, mixed  $replace = false, mixed  $retcode = 301,   $htmljs = false) 

httpRedirect.

Parameters

mixed $string
mixed $end
mixed $replace
mixed $retcode
$htmljs