Properties

$spacename

$spacename : string

Type

string — is the name of the class namespace

$classname

$classname : string

Type

string — is the name of the class

$require

$require : \LinHUniX\Mcp\Model\array;

on this class need to set the number of the dependency need to use to work with this class ant that information was stored on $scopeCtl and share when execute this specific modules.

Type

\LinHUniX\Mcp\Model\array;

$singleTon

$singleTon : boolean

Type

boolean — run only on start

$bootCtl

$bootCtl : array

Type

array — contains the info of the data class control

$bootData

$bootData : array

class.

Type

array — contains the boot data informations

$argCtl

$argCtl : array

used this to set Control Argument during run of the moduleCore.

Type

array

$argIn

$argIn : array

used this to set Input argument during run of the moduleCore.

Type

array

$argOut

$argOut : array

used this to set output argument during run of the moduleCore is present on the scope auto as $scopeOut["return"];.

Type

array

$argCfg

$argCfg : \LinHUniX\Mcp\Model\argCfg

Type

\LinHUniX\Mcp\Model\argCfg

Methods

__construct()

__construct(\LinHUniX\Mcp\masterControlProgram  $mcp, array  $scopeCtl, array  $scopeIn) 

Parameters

\LinHUniX\Mcp\masterControlProgram $mcp
array $scopeCtl
array $scopeIn

getDependency()

getDependency() : array

Return a list of dependency need to used this class (cfg component).

Returns

array

run()

run(array  $scopeCtl, array  $scopeIn) : array

Model Base to caputer execute an elabotrations about this.

Parameters

array $scopeCtl
array $scopeIn

Returns

array —

response of code = like scope out;

getDriver()

getDriver(string  $name) : \LinHUniX\Mcp\Model\class

getDriver extent the capacity of the base class to have a facility to get a driver class.

Parameters

string $name

Returns

\LinHUniX\Mcp\Model\class

getSvcCfg()

getSvcCfg(string  $name = null) : mixed

getSvcCfg.

Parameters

string $name

Returns

mixed

moduleInit()

moduleInit() 

Pre init is a method to use on the new version.

getMcp()

getMcp() : \LinHUniX\Mcp\Model\lnxmcp

this a metod fo call the mcp class functions.

Returns

\LinHUniX\Mcp\Model\lnxmcp —

class

getRes()

getRes(string  $resname) : \LinHUniX\Mcp\Model\lnxmcp

this a metod fo call the mcp class functions.

Parameters

string $resname

Returns

\LinHUniX\Mcp\Model\lnxmcp —

class

getCfg()

getCfg(  $cfgname) : \LinHUniX\Mcp\Model\lnxmcp

this a metod fo call the mcp class functions.

Parameters

$cfgname

Returns

\LinHUniX\Mcp\Model\lnxmcp —

class

getCommon()

getCommon(  $name) : mixed

this a metod fo call the mcp class functions.

Parameters

$name

Returns

mixed

setCommon()

setCommon(  $name,   $value) : mixed

this a metod fo call the mcp class functions.

Parameters

$name
$value

Returns

mixed

setScopeOut()

setScopeOut(\LinHUniX\Mcp\Model\type  $name, \LinHUniX\Mcp\Model\type  $value) 

Is a confortable method to set data on scope out.

Parameters

\LinHUniX\Mcp\Model\type $name

of the tags

\LinHUniX\Mcp\Model\type $value

callCmd()

callCmd(array  $scopeCtl, array  $scopeIn) 

Parameters

array $scopeCtl
array $scopeIn

callTag()

callTag(  $action, array  $scopeIn,   $buffer = true) 

Parameters

$action
array $scopeIn
$buffer

setReturn()

setReturn(\LinHUniX\Mcp\Model\type  $return) 

is a confortable method to set the return values.

Parameters

\LinHUniX\Mcp\Model\type $return

moduleCore()

moduleCore() 

In this service class is premanaged the module core as reflection calling so inf asking an event this call the specific method if is present the order (T)type method (E)ventname method type_name method.

moduleSingleTon()

moduleSingleTon() 

Ideally this method shuld be used to insert the model code and the other are to be used only as normal.

getArgIn()

getArgIn(string  $name) : \LinHUniX\Mcp\Model\any

only to have a confortable solutions to get data.

Parameters

string $name

Returns

\LinHUniX\Mcp\Model\any

getArgCtl()

getArgCtl(string  $name) : \LinHUniX\Mcp\Model\any

only to have a confortable solutions to get data.

Parameters

string $name

Returns

\LinHUniX\Mcp\Model\any

getArgOut()

getArgOut(string  $name) : \LinHUniX\Mcp\Model\any

only to have a confortable solutions to get data.

Parameters

string $name

Returns

\LinHUniX\Mcp\Model\any

setArgOut()

setArgOut(string  $name,   $value) : \LinHUniX\Mcp\Model\any

only to have a confortable solutions to set data.

Parameters

string $name
$value

Returns

\LinHUniX\Mcp\Model\any

debug()

debug(  $messge) 

only to have a confortable solutions to debug data.

Parameters

$messge

info()

info(  $messge) 

only to have a confortable solutions to debug data.

Parameters

$messge

warning()

warning(  $messge) 

only to have a confortable solutions to debug data.

Parameters

$messge

error()

error(  $messge) 

only to have a confortable solutions to debug data.

Parameters

$messge