\LinHUniX\McpmasterControlProgram

Summary

Methods
Properties
Constants
getPathApp()
getPathTpl()
getPathSrc()
getPathMcp()
getDefApp()
getDefVnd()
__construct()
legacySetting()
register()
getCfg()
setCfg()
getCommon()
setCommon()
updateCommonByEnv()
RemCommon()
getBuffer()
appendBuffer()
updateBuffer()
RemBuffer()
benchmark()
setMenu()
setTag()
getResource()
setScopeIn()
setScopeOut()
setScopeCtl()
getScopeIn()
getScopeOut()
getScopeOutResult()
getScopeOutStats()
rstScopeOut()
getScopeCtl()
setStatus()
setIpl()
translate()
translateMulti()
isDebug()
debug()
debugVar()
info()
imhere()
warning()
error()
supportmail()
critical()
notFound()
Rem()
toJavascript()
toJson()
DebugRem()
display()
move()
header()
redirect()
escapeClear()
ConvertToAscii()
Req2Session()
Object2Array()
flushCache()
statmentModule()
loadModule()
loadLegacy()
callModule()
module()
template()
moduleGoTo()
moduleLoad()
moduleRun()
legacyClass()
remote()
shell()
driver()
query()
queryR()
queryCommonR()
queryJsonR()
queryArrayR()
controller()
controllerR()
controllerCommon()
controllerCommonR()
api()
apiR()
apiA()
apiCommon()
apiACommon()
service()
serviceR()
serviceCommon()
serviceCommonR()
mail()
page()
render()
renderCommon()
block()
blockCommon()
blockRemote()
blockShell()
showPage()
showCommonPage()
showBlock()
showCommonBlock()
showFullCommonBlock()
promise()
runCommand()
runSequence()
runMenu()
runTag()
converTag()
RunEvent()
addEvent()
ucm()
No public properties found
CLASS_LOGGER
No protected methods found
No protected properties found
N/A
getFloatTime()
$pathapp
$pathtpl
$pathsrc
$pathmcp
$cfg
$common
$buffer
$event
$defapp
$defvnd
$mcpCore
$mcpLogging
$mcpTools
$startTime
N/A

Constants

CLASS_LOGGER

CLASS_LOGGER

Properties

$pathapp

$pathapp : string

Type

string — path of the Applications locations

$pathtpl

$pathtpl : string

Type

string — path of the template positions on the code

$pathsrc

$pathsrc : string

Type

string — path of the module positions on the code

$pathmcp

$pathmcp : string

Type

string — path of the template positions on the code

$cfg

$cfg : \LinHUniX\Mcp\Slim

Type

\LinHUniX\Mcp\Slim — Content as a test of integrations

$common

$common : string

Short Name of this applicationmcpLanguageClass.

Type

string

$buffer

$buffer : string

Short Name of this application.

Type

string

$event

$event : string

Short Name of this application.

Type

string

$defapp

$defapp : string

Short Name of this application.

Type

string

$defvnd

$defvnd : string

Short Name of the vendors.

Type

string

$mcpCore

$mcpCore : \LinHUniX\Mcp\class

Type

\LinHUniX\Mcp\class

$mcpLogging

$mcpLogging : \LinHUniX\Mcp\class

Type

\LinHUniX\Mcp\class

$mcpTools

$mcpTools : \LinHUniX\Mcp\class

Type

\LinHUniX\Mcp\class

$startTime

$startTime : float

start variable.

Type

float

Methods

getPathApp()

getPathApp() : string

getPathApp Path Application Folder.

Returns

string

getPathTpl()

getPathTpl() : string

getPathTpl : Path Template Folder.

Returns

string

getPathSrc()

getPathSrc() : string

getPathTpl : Path Application Module Source Folder.

Returns

string

getPathMcp()

getPathMcp() : string

getPathMcp : Path Mxp Folder.

Returns

string

getDefApp()

getDefApp() : string

getDefApp : Path Mxp Folder.

Returns

string

getDefVnd()

getDefVnd() : string

getDefApp : Path Mxp Folder.

Returns

string

__construct()

__construct(array  $scopeIn) 

Create a slim app integration, add container and set the log as.

Parameters

array $scopeIn

legacySetting()

legacySetting() 

generate the global vars like older system update the data of the Input Array.

getCfg()

getCfg(null  $resname = null) 

Parameters

null $resname

setCfg()

setCfg(  $resname,   $revalue) : boolean

Parameters

$resname

name of value

$revalue

values

Returns

boolean —

if operation coplete success true (othervise false)

getCommon()

getCommon(null  $resname = null) 

Parameters

null $resname

setCommon()

setCommon(  $resname,   $revalue) : boolean

Parameters

$resname

name of value

$revalue

values

Returns

boolean —

if operation coplete success true (othervise false)

updateCommonByEnv()

updateCommonByEnv(mixed  $setForce = false) 

updateCommonByEnv load env variable on the common set.

Parameters

mixed $setForce

RemCommon()

RemCommon() 

RemCommon Display on web comment the common array.

getBuffer()

getBuffer(null  $resname) 

Parameters

null $resname

appendBuffer()

appendBuffer(  $resname,   $resvalue) : boolean

Parameters

$resname

name of value

$resvalue

Returns

boolean —

if operation coplete success true (othervise false)

updateBuffer()

updateBuffer(  $resname,   $resindex,   $resvalue) : boolean

Parameters

$resname

name of value

$resindex
$resvalue

Returns

boolean —

if operation coplete success true (othervise false)

RemBuffer()

RemBuffer(  $resname) 

RemBuffer Display on web comment the common array.

Parameters

$resname

benchmark()

benchmark(string  $stepmessage, boolean  $rem = false) : float

benchmark function.

Parameters

string $stepmessage
boolean $rem

Returns

float

setMenu()

setMenu(mixed  $name, mixed  $sequence) 

setMenu sequence.

Parameters

mixed $name
mixed $sequence

setTag()

setTag(mixed  $name, mixed  $sequence) 

setTag sequence.

Parameters

mixed $name
mixed $sequence

getResource()

getResource(\LinHUniX\Mcp\type  $resource) : \LinHUniX\Mcp\any

load a specific app resource.

Parameters

\LinHUniX\Mcp\type $resource

name ( - "app.")

Returns

\LinHUniX\Mcp\any —

content of specific resource

setScopeIn()

setScopeIn(string  $name, \LinHUniX\Mcp\any  $value) 

update the data of the Input Array.

Parameters

string $name
\LinHUniX\Mcp\any $value

setScopeOut()

setScopeOut(string  $name, \LinHUniX\Mcp\any  $value) 

update the data of the output Array.

Parameters

string $name
\LinHUniX\Mcp\any $value

setScopeCtl()

setScopeCtl(string  $name, \LinHUniX\Mcp\any  $value) 

update the data of the Control Array.

Parameters

string $name
\LinHUniX\Mcp\any $value

getScopeIn()

getScopeIn() : array

return the input array.

Returns

array —

()

getScopeOut()

getScopeOut() : array

return the array array.

Returns

array —

()

getScopeOutResult()

getScopeOutResult() : array

return the array of result (empty array if is null).

Returns

array —

()

getScopeOutStats()

getScopeOutStats() : boolean

is is valid and true returun the value of the status, for all other case is false.

Returns

boolean —

status

rstScopeOut()

rstScopeOut() 

rest output scope varable with out clean historiy and status.

getScopeCtl()

getScopeCtl() : array

return the Control array.

Returns

array —

()

setStatus()

setStatus(boolean  $status, string  $message) 

Set status of elaborations.

Parameters

boolean $status
string $message

setIpl()

setIpl(\LinHUniX\Mcp\type  $area) 

Set Te actuos IPL area is working.

Parameters

\LinHUniX\Mcp\type $area

translate()

translate(string  $message) : string

translate.

Parameters

string $message

Returns

string —

translation

translateMulti()

translateMulti(string  $lang, string  $message) : string

translateMulti.

Parameters

string $lang
string $message

Returns

string —

translation

isDebug()

isDebug() : boolean

isDebug() check if the cfg params app.debug is true for the other case remain false.

Returns

boolean

debug()

debug(string  $message) 

debug class (level debug).

Parameters

string $message

debugVar()

debugVar(string  $message, \LinHUniX\Mcp\type  $name, \LinHUniX\Mcp\type  $value) 

debug class (level debug).

Parameters

string $message
\LinHUniX\Mcp\type $name

value name;

\LinHUniX\Mcp\type $value

value content

info()

info(string  $message) 

debug class (level notice/info).

Parameters

string $message

imhere()

imhere() 

debug class (level notice/info).

warning()

warning(string  $message) 

debug class (level warning).

Parameters

string $message

error()

error(string  $message) 

debug class (level error).

Parameters

string $message

supportmail()

supportmail(string  $message) 

debug class (level critical) send a debug message to support.

Parameters

string $message

critical()

critical(string  $message) 

debug class (level critical and die).

Parameters

string $message

notFound()

notFound(string  $message) 

not found page.

Parameters

string $message

Rem()

Rem(string  $message, string  $var = null) 

Make a Web Rem with this message.

Parameters

string $message
string $var

toJavascript()

toJavascript(string  $message, array  $scopeIn) 

Make a script array with this name.

Parameters

string $message
array $scopeIn

toJson()

toJson(array  $scopeIn) 

Make a script array with this name.

Parameters

array $scopeIn

DebugRem()

DebugRem(string  $message, string  $var = null) 

Make a Web Rem with this message.

Parameters

string $message
string $var

display()

display(string  $message,   $var = null) 

Make a Web dumo with html tag of with this message and var.

Parameters

string $message
$var

move()

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

move to php file and close if need.

Parameters

$dest
$default
$ext
$path
$andEnd

header()

header(string  $string, boolean  $end = false, boolean  $replace = true, integer  $retcode = null,   $htmljs = false) 

header redirect and more.

Parameters

string $string

rules

boolean $end

die after change

boolean $replace

remplace header

integer $retcode

html return code if need

$htmljs

redirect()

redirect(string  $string, boolean  $end = false, boolean  $replace = true, integer  $retcode = null,   $htmljs = false) 

header redirect and more.

Parameters

string $string

rules

boolean $end

die after change

boolean $replace

remplace header

integer $retcode

html return code if need

$htmljs

escapeClear()

escapeClear(string  $string) : string

Clear String from Escape chars (mcpTools).

Parameters

string $string

Returns

string

ConvertToAscii()

ConvertToAscii(string  $string) : string

convert String to a standard ascii (mcpTools).

Parameters

string $string

Returns

string

Req2Session()

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

Request save to session.

Parameters

\LinHUniX\Mcp\type $arguments

name of the request

\LinHUniX\Mcp\type $onlyPost

if true don-t read get

Object2Array()

Object2Array(\LinHUniX\Mcp\type  $object) : array

Request save to session.

Parameters

\LinHUniX\Mcp\type $object

to conver

Returns

array —

of the object

flushCache()

flushCache() 

clean the cache if is active.

statmentModule()

statmentModule(string  $path, string  $callname, boolean  $ispreload = false, array  $scopeIn = array(), string  $modinit = null, string  $subcall = null, string  $vendor = null, string  $type = null) 

Parameters

string $path
string $callname
boolean $ispreload
array $scopeIn
string $modinit
string $subcall
string $vendor
string $type

loadModule()

loadModule() 

Load a module or a template and clear the vars.

loadLegacy()

loadLegacy() 

Load a module or a template and clear the vars.

callModule()

callModule() : array

load and execute module and clear the vars after results.

Returns

array —

results

module()

module(string  $callname, string  $path = null, boolean  $ispreload = false, array  $scopeIn = array(), string  $modinit = null, string  $subcall = null, string  $vendor = null, string  $type = null) : array

Parameters

string $callname

name of the functionality

string $path

path where present the basedirectory of the data

boolean $ispreload

is only a preload (ex page) or need to be execute (ex controller)

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

string $subcall

used if the name of the functionality ($callname) and the subcall are different

string $vendor

this code is part of specific vendor (ex ft )

string $type

is a Page, Block, Controller, Driver

Returns

array —

$ScopeOut

template()

template(string  $callname, string  $path = null, boolean  $ispreload = false, array  $scopeIn = array(), string  $modinit = null, string  $subcall = null, string  $vendor = null, string  $type = null, boolean  $hasreturn = false) : string

Parameters

string $callname

name of the functionality

string $path

path where present the basedirectory of the data

boolean $ispreload

is only a preload (ex page) or need to be execute (ex controller)

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

string $subcall

used if the name of the functionality ($callname) and the subcall are different

string $vendor

this code is part of specific vendor (ex ft )

string $type

is a Page, Block, Controller, Driver

boolean $hasreturn

if is called the objet return the value as string

Returns

string —

output

moduleGoTo()

moduleGoTo(string  $callname, string  $path = null, boolean  $ispreload = false, array  $scopeIn = array(), string  $modinit = null, string  $subcall = null, string  $vendor = null, string  $type = null) : array

similar with module but at end exit (0 okdone - 1 with error ).

Parameters

string $callname

name of the functionality

string $path

path where present the basedirectory of the data

boolean $ispreload

is only a preload (ex page) or need to be execute (ex controller)

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

string $subcall

used if the name of the functionality ($callname) and the subcall are different

string $vendor

this code is part of specific vendor (ex ft )

string $type

is a Page, Block, Controller, Driver

Returns

array —

$ScopeOut

moduleLoad()

moduleLoad(string  $libname,   $module,   $vendor, array  $scopeIn = array()) : array

similar to module but to easy.

Parameters

string $libname

name of the functionality

$module
$vendor
array $scopeIn

Input Array with the value need to work

Returns

array —

$ScopeOut

moduleRun()

moduleRun(string  $libname, array  $scopeIn = array()) : array

similar to module but to easy.

Parameters

string $libname

name of the functionality

array $scopeIn

Input Array with the value need to work

Returns

array —

$ScopeOut

legacyClass()

legacyClass(string  $callname, array  $scopeIn = array(), string  $modinit = null, string  $subcall = null, string  $vendor = null, string  $path = null) : array

legacy class loader rember the class need to not have required args on constructor.

Parameters

string $callname

name of the functionality

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

string $subcall

used if the name of the functionality ($callname) and the subcall are different

string $vendor

this code is part of specific vendor (ex ft )

string $path

path where present the basedirectory of the data

Returns

array —

$ScopeOut

remote()

remote(string  $ctrlproc, array  $scopeIn = array(), string  $modinit = null, string  $subcall = null,   $vendor = null) : array

Remote calling.

Parameters

string $ctrlproc

name of the driver

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

string $subcall

used if the name of the functionality ($callname) and the subcall are different

$vendor

Returns

array —

$ScopeOut

shell()

shell(string  $ctrlproc, array  $scopeIn = array(), string  $modinit = null, string  $subcall = null,   $vendor = null) : array

Run Shell.

Parameters

string $ctrlproc

name of the driver

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

string $subcall

used if the name of the functionality ($callname) and the subcall are different

$vendor

Returns

array —

$ScopeOut

driver()

driver(string  $libname, boolean  $ispreload = false, array  $scopeIn = array(), string  $modinit = null, string  $subcall = null, string  $vendor = null, string  $path = null) : array

Run Module as Driver.

Parameters

string $libname

name of the driver

boolean $ispreload

is only a preload (ex page) or need to be execute (ex controller)

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

string $subcall

used if the name of the functionality ($callname) and the subcall are different

string $vendor

this code is part of specific vendor (ex ft )

string $path

path where present the basedirectory of the data

Returns

array —

$ScopeOut

query()

query(string  $dbproc, boolean  $ispreload = true, array  $scopeIn = array(), string  $modinit = null, string  $subcall = null,   $vendor = null) : array

Run Module as database query.

Parameters

string $dbproc

name of the driver

boolean $ispreload

is only a preload (ex page) or need to be execute (ex controller)

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

string $subcall

used if the name of the functionality ($callname) and the subcall are different

$vendor

Returns

array —

$ScopeOut

queryR()

queryR(string  $dbproc, boolean  $ispreload = true, array  $scopeIn = array(), string  $modinit = null, string  $subcall = null,   $vendor = null) : array

Run Module as database query.

Parameters

string $dbproc

name of the driver

boolean $ispreload

is only a preload (ex page) or need to be execute (ex controller)

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

string $subcall

used if the name of the functionality ($callname) and the subcall are different

$vendor

Returns

array —

$ScopeOut

queryCommonR()

queryCommonR(string  $dbproc = 'Json', boolean  $ispreload = true, array  $scopeIn = array(), string  $modinit = 'Pdo', string  $subcall = null) : array

Run Module as database query common intenal.

Parameters

string $dbproc

name of the driver by default json

boolean $ispreload

is only a preload (ex page) or need to be execute (ex controller)

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized by default Pdo

string $subcall

used if the name of the functionality ($callname) and the subcall are different

Returns

array —

$ScopeOut

queryJsonR()

queryJsonR(  $dbprc, array  $scopeIn = array(), string  $modinit = null,   $vendor = null, string  $path = null) : array

Run Module as database query by json file.

Parameters

$dbprc
array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized by default Pdo

$vendor
string $path

path where present the basedirectory of the data

Returns

array —

$ScopeOut

queryArrayR()

queryArrayR(array  $scopeIn = array()) : array

Run Module as database query by Array file.

Parameters

array $scopeIn

Input Array with the value need to work

Returns

array —

$ScopeOut

controller()

controller(string  $ctrlproc, boolean  $ispreload = false, array  $scopeIn = array(), string  $modinit = null, string  $subcall = null,   $vendor = null) : array

Run Module as controller.

Parameters

string $ctrlproc

name of the driver

boolean $ispreload

is only a preload (ex page) or need to be execute (ex controller)

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

string $subcall

used if the name of the functionality ($callname) and the subcall are different

$vendor

Returns

array —

$ScopeOut

controllerR()

controllerR(string  $ctrlproc, boolean  $ispreload = false, array  $scopeIn = array(), string  $modinit = null, string  $subcall = null,   $vendor = null) : mixed|boolean

Run Module as controller only return.

Parameters

string $ctrlproc

name of the driver

boolean $ispreload

is only a preload (ex page) or need to be execute (ex controller)

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

string $subcall

used if the name of the functionality ($callname) and the subcall are different

$vendor

Returns

mixed|boolean —

$ScopeOut["return"]

controllerCommon()

controllerCommon(string  $ctrlproc, boolean  $ispreload = false, array  $scopeIn = array(), string  $modinit = null, string  $subcall = null) : array

Run Module as controller as common for all.

Parameters

string $ctrlproc

name of the driver

boolean $ispreload

is only a preload (ex page) or need to be execute (ex controller)

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

string $subcall

used if the name of the functionality ($callname) and the subcall are different

Returns

array —

$ScopeOut

controllerCommonR()

controllerCommonR(string  $ctrlproc, boolean  $ispreload = false, array  $scopeIn = array(), string  $modinit = null, string  $subcall = null) : mixed|boolean

Run Module as controller as common for all only the return.

Parameters

string $ctrlproc

name of the driver

boolean $ispreload

is only a preload (ex page) or need to be execute (ex controller)

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

string $subcall

used if the name of the functionality ($callname) and the subcall are different

Returns

mixed|boolean —

$ScopeOut["return"]

api()

api(string  $srvprc, boolean  $ispreload = false, array  $scopeIn = array(), string  $modinit = null, string  $subcall = null,   $vendor = null,   $mcptype = 'Api') 

Run Module as ToolApi Components.

Parameters

string $srvprc

name of the driver

boolean $ispreload

is only a preload (ex page) or need to be execute (ex controller)

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

string $subcall

used if the name of the functionality ($callname) and the subcall are different

$vendor
$mcptype

apiR()

apiR(string  $srvprc, boolean  $ispreload = false, array  $scopeIn = array(), string  $modinit = null, string  $subcall = null,   $vendor = null,   $mcptype = 'Api') 

Run Module as ToolApi Components.

Parameters

string $srvprc

name of the driver

boolean $ispreload

is only a preload (ex page) or need to be execute (ex controller)

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

string $subcall

used if the name of the functionality ($callname) and the subcall are different

$vendor
$mcptype

apiA()

apiA(string  $srvprc, boolean  $ispreload = false, array  $scopeIn = array(), string  $modinit = null, string  $subcall = null,   $vendor = null,   $mcptype = 'Api') : array

Run Module as ToolApi Components.

Parameters

string $srvprc

name of the driver

boolean $ispreload

is only a preload (ex page) or need to be execute (ex controller)

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

string $subcall

used if the name of the functionality ($callname) and the subcall are different

$vendor
$mcptype

Returns

array —

$scopeOut;

apiCommon()

apiCommon(string  $srvprc, boolean  $ispreload = false, array  $scopeIn = array(), \LinHUniX\Mcp\streturnng  $modinit = null, \LinHUniX\Mcp\streturnng  $subcall = null,   $mcptype = 'Api') 

Run Module as ToolApi Components.

Parameters

string $srvprc

name of the driver

boolean $ispreload

is only a preload (ex page) or need to be execute (ex controller)

array $scopeIn

Input Array with the value need to work

\LinHUniX\Mcp\streturnng $modinit

Module name where is present the code and be load and initalized

\LinHUniX\Mcp\streturnng $subcall

used if the name of the functionality ($callname) and the subcall are different

$mcptype

apiACommon()

apiACommon(string  $srvprc, boolean  $ispreload = false, array  $scopeIn = array(), string  $modinit = null, string  $subcall = null,   $mcptype = 'Api') 

Run Modulreturnas ToolApi Components.

Parameters

string $srvprc

name of the driver

boolean $ispreload

is only a preload (ex page) or need to be execute (ex controller)

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

string $subcall

used if the name of the functionality ($callname) and the subcall are different

$mcptype

service()

service(string  $srvprc, boolean  $ispreload = false, array  $scopeIn = array(), string  $modinit = null, string  $subcall = null,   $vendor = null) : array

Run Module as service.

Parameters

string $srvprc

name of the driver

boolean $ispreload

is only a preload (ex page) or need to be execute (ex controller)

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

string $subcall

used if the name of the functionality ($callname) and the subcall are different

$vendor

Returns

array —

$ScopeOut

serviceR()

serviceR(string  $srvprc, boolean  $ispreload = false, array  $scopeIn = array(), string  $modinit = null, string  $subcall = null,   $vendor = null) : array

Run Module as service Return.

Parameters

string $srvprc

name of the driver

boolean $ispreload

is only a preload (ex page) or need to be execute (ex controller)

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

string $subcall

used if the name of the functionality ($callname) and the subcall are different

$vendor

Returns

array —

$ScopeOut

serviceCommon()

serviceCommon(string  $srvprc, boolean  $ispreload = false, array  $scopeIn = array(), string  $modinit = null, string  $subcall = null) : array

Run Module as service.

Parameters

string $srvprc

name of the driver

boolean $ispreload

is only a preload (ex page) or need to be execute (ex controller)

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

string $subcall

used if the name of the functionality ($callname) and the subcall are different

Returns

array —

$ScopeOut

serviceCommonR()

serviceCommonR(string  $srvprc, boolean  $ispreload = false, array  $scopeIn = array(), string  $modinit = null, string  $subcall = null) : array

Run Module as service Return

Parameters

string $srvprc

name of the driver

boolean $ispreload

is only a preload (ex page) or need to be execute (ex controller)

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

string $subcall

used if the name of the functionality ($callname) and the subcall are different

Returns

array —

$ScopeOut

mail()

mail(mixed  $page = 'sendmail', mixed  $scopeIn = array(), mixed  $modinit = null,   $vendor = null) 

mail where $scopeIn : - to : - from : - subject : - message : - files :.

Parameters

mixed $page
mixed $scopeIn
mixed $modinit
$vendor

page()

page(string  $page, array  $scopeIn = array(), string  $modinit = null,   $vendor = null,   $pathtpl = null,   $hasreturn = false) : string

Load a page with your ScopeIn.

Parameters

string $page

name of the Page

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

$vendor
$pathtpl
$hasreturn

Returns

string —

output (if is true return flag)

render()

render(string  $block, array  $scopeIn = array(), string  $modinit = null,   $vendor = null,   $pathsrc = null,   $hasreturn = false) : string

Load a Block with your ScopeIn.

Parameters

string $block

name of the Block

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

$vendor
$pathsrc
$hasreturn

Returns

string —

output (if is true return flag)

renderCommon()

renderCommon(string  $block, array  $scopeIn = array(), string  $modinit = null,   $vendor = null,   $pathsrc = null,   $hasreturn = false) : string

Load a Block with your ScopeIn.

Parameters

string $block

name of the Block

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

$vendor
$pathsrc
$hasreturn

Returns

string —

output (if is true return flag)

block()

block(string  $block, array  $scopeIn = array(), string  $modinit = null,   $vendor = null,   $pathtpl = null,   $hasreturn = false) : string

Load a Block with your ScopeIn.

Parameters

string $block

name of the Block

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

$vendor
$pathtpl
$hasreturn

Returns

string —

output (if is true return flag)

blockCommon()

blockCommon(string  $block, array  $scopeIn = array(), string  $modinit = null,   $hasreturn = false) : string

Load a Block with your ScopeIn.

Parameters

string $block

name of the Block

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

$hasreturn

Returns

string —

output (if is true return flag)

blockRemote()

blockRemote(string  $page, array  $scopeIn = array(), string  $modinit = null,   $vendor = null,   $hasreturn = false) 

Load a block with your ScopeIn.

Parameters

string $page

name of the Page

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

$vendor
$hasreturn

blockShell()

blockShell(string  $page, array  $scopeIn = array(), string  $modinit = null,   $vendor = null,   $hasreturn = false) 

Load a block with your ScopeIn.

Parameters

string $page

name of the Page

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

$vendor
$hasreturn

showPage()

showPage(string  $block, array  $scopeIn = array(), string  $modinit = null, string  $pageinit = null) 

Run Controller and then load a page with your ScopeIn.

Parameters

string $block

name of the Block and the controller

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

string $pageinit

Moduletestmail name if is different for the page

showCommonPage()

showCommonPage(string  $block, array  $scopeIn = array(), string  $modinit = null, string  $pageinit = null) 

Run Controller and then load a page with your ScopeIn.

Parameters

string $block

name of the Block and the controller

array $scopeIn

Input Array with the value need to work

string $modinit

Module name where is present the code and be load and initalized

string $pageinit

Module name if is different for the page

showBlock()

showBlock(string  $block, array  $scopeIn = array(), string  $controllerModule = null, string  $blockModule = null) 

Run Controller and then load a block with your ScopeIn.

Parameters

string $block

name of the Block and the controller

array $scopeIn

Input Array with the value need to work

string $controllerModule

Module name where is present the code and be load and initalized

string $blockModule

Module name if is different for the page

showCommonBlock()

showCommonBlock(string  $block, array  $scopeIn = array(), string  $controllerModule = null, string  $blockModule = null) 

Run Controller and then load a block with your ScopeIn.

Parameters

string $block

name of the Block and the controller

array $scopeIn

Input Array with the value need to work

string $controllerModule

Module name where is present the code and be load and initalized

string $blockModule

Module name if is different for the page

showFullCommonBlock()

showFullCommonBlock(string  $block, array  $scopeIn = array(), string  $controllerModule = null, string  $blockModule = null) 

Run Controller and then load a block with your ScopeIn.

Parameters

string $block

name of the Block and the controller

array $scopeIn

Input Array with the value need to work

string $controllerModule

Module name where is present the code and be load and initalized

string $blockModule

Module name if is different for the page

promise()

promise(  $promisename,   $scopeIn = array(),   $reqcmd = null,   $waitcmd = null,   $donecmd = null) 

Parameters

$promisename
$scopeIn
$reqcmd
$waitcmd
$donecmd

runCommand()

runCommand(mixed  $scopectl, mixed  $scopeIn = array()) : \LinHUniX\Mcp\any

Run a command inside $scopeCtl.

Parameters

mixed $scopectl
mixed $scopeIn

Returns

\LinHUniX\Mcp\any —

$ScopeOut

runSequence()

runSequence(array  $actionseq, mixed  $scopeIn = array()) : \LinHUniX\Mcp\any

runSequence inside actions.

Parameters

array $actionseq
mixed $scopeIn

Returns

\LinHUniX\Mcp\any —

$ScopeOut

runMenu()

runMenu(string  $action, array  $scopeIn = array()) : \LinHUniX\Mcp\any

Run Module as Menu sequence.

Parameters

string $action

name of the Doctrine

array $scopeIn

Input Array with the value need to work

Returns

\LinHUniX\Mcp\any —

$ScopeOut

runTag()

runTag(string  $action, array  $scopeIn = array(),   $buffer = false) : \LinHUniX\Mcp\any

Run Module as Tags sequence.

Parameters

string $action

name of the Doctrine

array $scopeIn

Input Array with the value need to work

$buffer

Returns

\LinHUniX\Mcp\any —

$ScopeOut

converTag()

converTag(  $text, array  $scopeIn = array(),   $label = null) : \LinHUniX\Mcp\any

Run Module as Tags sequence.

Parameters

$text
array $scopeIn

Input Array with the value need to work

$label

Returns

\LinHUniX\Mcp\any —

$ScopeOut

RunEvent()

RunEvent(null  $resname = null) 

Parameters

null $resname

addEvent()

addEvent(  $resname,   $subcriber,   $action = array()) : boolean

Parameters

$resname

name of value

$subcriber
$action

Returns

boolean —

if operation coplete success true (othervise false)

ucm()

ucm(array  $scopein = null) : \LinHUniX\Mcp\UniversalContentManager

UCM function.

Parameters

array $scopein

Returns

\LinHUniX\Mcp\UniversalContentManager

getFloatTime()

getFloatTime() : float

getFloatTime function.

Returns

float