NextDom\Managers\CmdManager
Manage command
Synopsis
class CmdManager
extends BaseManager
{
- // constants
- const CLASS_NAME = Cmd::class;
- const DB_CLASS_NAME = '`cmd`';
- // Inherited constants from BaseManager
- const CLASS_NAME = '';
- const DB_CLASS_NAME = '``';
- // Inherited members from BaseManager
- protected static $baseSQL;
- protected static $prefixedBaseSQL;
- // methods
- public static array allHistoryCmd()
- public static array|mixed cast()
- public static array byEqLogicId()
- public static array|mixed byLogicalId()
- public static array byGenericType()
- public static void searchDisplay()
- public static array searchConfiguration()
- public static array searchConfigurationEqLogic()
- public static array|mixed searchTemplate()
- public static array|mixed byEqLogicIdAndLogicalId()
- public static array byEqLogicIdAndGenericType()
- public static array byValue()
- public static array byTypeEqLogicNameCmdName()
- public static array byEqLogicIdCmdName()
- public static array byObjectNameCmdName()
- public static array byTypeSubType()
- public static string cmdToHumanReadable()
- public static array byIds()
- public static Cmd byString()
- public static string humanReadableToCmd()
- public static Cmd byObjectNameEqLogicNameCmdName()
- public static array|mixed cmdToValue()
- public static array|null allType()
- public static array allSubType()
- public static array|mixed|null allUnite()
- public static string convertColor()
- public static void returnState()
- public static array deadCmd()
- public static array all()
- public static void cmdAlert()
- public static array timelineDisplay()
- public static void checkAlertCmds()
- // Inherited methods from BaseManager
- protected static string getBaseSQL()
- protected static string getPrefixedBaseSQL()
- // Inherited methods from CastedObjectManager
- public abstract static void getBaseSQL()
- public abstract static void cast()
- public static mixed byId()
- // Inherited methods from CommonManager
- public static mixed byId()
- public static mixed baseById()
- protected static mixed|null getAll()
- public static int getCount()
- protected static mixed|null getAllOrdered()
- protected static mixed|null getOneByClauses()
- protected static mixed|null getMultipleByClauses()
- protected static mixed|null searchOneByClauses()
- protected static mixed|null searchMultipleByClauses()
Hierarchy
Constants
Name | Value |
---|---|
CLASS_NAME | Cmd::class |
DB_CLASS_NAME | '`cmd`' |
CLASS_NAME | '' |
DB_CLASS_NAME | '``' |
Members
protected
- $baseSQL — array
- $prefixedBaseSQL — array
Methods
public
- all() — Get all commands
- allHistoryCmd() — Get historized commands
- allSubType() — Get all used command sub types
- allType() — Get all used command types
- allUnite() — Get all used unites
- byEqLogicId() — Get commands attached to eqLogic objects
- byEqLogicIdAndGenericType() — Get all commands by eqLogic and generic type
- byEqLogicIdAndLogicalId() — Get all commands by eqLogic and command logicalId
- byEqLogicIdCmdName() — Get commands by EqLogic Id and command name
- byGenericType() — Get command by generic type (plugin)
- byIds() — Get list of commands by IDs
- byLogicalId() — Get command by logical id
- byObjectNameCmdName() — Get commands by object and command name
- byObjectNameEqLogicNameCmdName() — Get command by object name, eqLogic name and cmd name
- byString() — Get commands by string in human readeable format
- byTypeEqLogicNameCmdName() — Get commands by eqLogic type, eqLogic name and cmd name
- byTypeSubType() — Get commands by type and subtype
- byValue() — Get commands by value
- cast() — Cast a command from generic to plugin
- checkAlertCmds()
- cmdAlert() — Execute command and alert this execution
- cmdToHumanReadable() — Convert command to human readable format
- cmdToValue() — Convert command to value
- convertColor() — Convert color to hexadecimal code
- deadCmd() — List of dead commands
- humanReadableToCmd() — Convert human readable format to command
- returnState() — Force command to return state by event
- searchConfiguration() — Search in commands configuration
- searchConfigurationEqLogic() — Search in commands configuration
- searchDisplay()
- searchTemplate() — Search by template
- timelineDisplay() — Show command timeline
Inherited from NextDom\Managers\Parents\BaseManager
protected
- getBaseSQL() — Get base of Select SQL
- getPrefixedBaseSQL() — Get prefixed base of Select SQL
Inherited from NextDom\Managers\Parents\CastedObjectManager
public
Inherited from NextDom\Managers\Parents\CommonManager
protected
- getAll() — Get all objects
- getAllOrdered() — Get all object sorted on column
- getMultipleByClauses() — Get one multiple filtered with clauses
- getOneByClauses() — Get one object filtered with clauses
- searchMultipleByClauses() — Search one multiple filtered with clauses
- searchOneByClauses() — Search one object filtered with clauses
public
- baseById() — Get one object by his id
- byId() — Get one object by his id
- getCount() — Get count(*).