/**
  * Returns the description of the current mode script.
  * @param bool $multicall
  * @return Structures\ScriptInfo
  */
 function getModeScriptInfo($multicall = false)
 {
     if ($multicall) {
         return $this->execute(ucfirst(__FUNCTION__), array(), $this->structHandler('ScriptInfo'));
     }
     return Structures\ScriptInfo::fromArray($this->execute(ucfirst(__FUNCTION__)));
 }
Ejemplo n.º 2
0
 /**
  * Returns the description of the current rules script,
  * as a structure containing: Name, CompatibleTypes,
  * Description and the settings available.
  * @return Structures\ScriptInfo
  */
 function getModeScriptInfo()
 {
     return Structures\ScriptInfo::fromArray($this->execute(ucfirst(__FUNCTION__)));
 }