Skip to content

$scopeCtl

LinHUniX edited this page Oct 14, 2018 · 3 revisions
  • $scopeCtl is scope control :

    an array with all command settings configuration need to define a request

    • $callname | $scopeCtl["name"]

      define the value used to register this specific value on global config

      ex app.<command>.<$callname>

    • $modinit|$scopeCtl["modinit"]

      define the module to be used to init the callername

    • $vendor|$scopeCtl["vendor"]

      define the vendor to be used to init the callername

    • $path | $scopeCtl["path"] see Folders

      define the real path where is present the file to be run

      ex <app.path>/<vendor>/<ModInit>/<type>/<callname><type>.php

      ex namespace \\<vendor>\<ModInit>\<type>\<callname><type>

    • $ispreload|$scopeCtl["ispreload"]

      boolean value - define if only load a configuration (true) or need esecute the run method (false)

    • $subcall | $scopeCtl["subcall"]

      used to define a special method use to esecute or init a specific module

    • $type | $scopeCtl["type"]

      typology of module used on this spcific call

      ex Controller / Api / Block / Page / Service .....

    • $scopeIn | $scopeCtl["input"]