\LinHUniX\Mcp\ComponentmcpApiClass

Core class for load modules

Summary

Methods
Properties
Constants
apiBase()
apiArray()
api()
apiReturn()
apiCommon()
apiCommonArray()
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

apiBase()

apiBase(\LinHUniX\Mcp\masterControlProgram  $mcp,   $type, string  $srvprc,   $pathsrc, boolean  $ispreload = false, array  $scopeIn = array(), string  $modinit = null, string  $subcall = null,   $vendor = null,   $mcptype = "Api") : array

Run Module as ToolApi Components

Parameters

\LinHUniX\Mcp\masterControlProgram $mcp
$type
string $srvprc

name of the driver

$pathsrc
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

apiArray()

apiArray(\LinHUniX\Mcp\masterControlProgram  $mcp, string  $srvprc, boolean  $ispreload = false, array  $scopeIn = array(), string  $modinit = null, string  $subcall = null,   $vendor = null,   $mcptype = 'Api') : array

Run Module as ToolApi Components and exit

Parameters

\LinHUniX\Mcp\masterControlProgram $mcp
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

api()

api(\LinHUniX\Mcp\masterControlProgram  $mcp, string  $srvprc, boolean  $ispreload = false, array  $scopeIn = array(), string  $modinit = null, string  $subcall = null,   $vendor = null,   $mcptype = 'Api') : void

Run Module as ToolApi Components and exit

Parameters

\LinHUniX\Mcp\masterControlProgram $mcp
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

apiReturn()

apiReturn(\LinHUniX\Mcp\masterControlProgram  $mcp, string  $srvprc, boolean  $ispreload = false, array  $scopeIn = array(), string  $modinit = null, string  $subcall = null,   $vendor = null,   $mcptype = 'Api') : void

Run Module as ToolApi Components and exit

Parameters

\LinHUniX\Mcp\masterControlProgram $mcp
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

apiCommon()

apiCommon(\LinHUniX\Mcp\masterControlProgram  $mcp, string  $srvprc, boolean  $ispreload = false, array  $scopeIn = array(), string  $modinit = null, string  $subcall = null,   $vendor = null,   $mcptype = 'Api') : void

Run Module as ToolApi Components and exit

Parameters

\LinHUniX\Mcp\masterControlProgram $mcp
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

apiCommonArray()

apiCommonArray(\LinHUniX\Mcp\masterControlProgram  $mcp, string  $srvprc, boolean  $ispreload = false, array  $scopeIn = array(), string  $modinit = null, string  $subcall = null,   $vendor = null,   $mcptype = 'Api') : array

Run Module as ToolApi Components and exit

Parameters

\LinHUniX\Mcp\masterControlProgram $mcp
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