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