NextDom\Helpers\NextDomHelper
Class NextDomHelper
Synopsis
class NextDomHelper
{
- // members
- private static $nextdomConfiguration;
- // methods
- public static void addRemoveHistory()
- public static array getDeadCmd()
- public static array health()
- public static bool isStarted()
- public static string getStartedFilePath()
- public static string getTmpFolder()
- public static boolean isDateOk()
- public static void forceSyncHour()
- public static bool isCapable()
- public static string getHardwareName()
- public static string getNextdomVersion()
- public static float checkSpaceLeft()
- public static void sick()
- public static bool isOk()
- public static void update()
- public static mixed getConfiguration()
- public static array|mixed|string checkValueInConfiguration()
- public static string getJeedomVersion()
- public static void stopSystem()
- public static void cron()
- public static void startSystem()
- public static void event()
- public static void cron5()
- public static void cron10()
- public static void cronHourly()
- public static void cronDaily()
- public static void replaceTag()
- public static string checkOngoingThread()
- public static string retrievePidThread()
- public static mixed|string versionAlias()
- public static array toHumanReadable()
- public static array|mixed( fromHumanReadable()
- public static mixed|string evaluateExpression()
- public static float|int|null calculStat()
- public static array getTypeUse()
- private static void addTypeUseResults()
- public static array getTypeUseOld()
- public static void haltSystem()
- private static void stopSystemAndExecuteCommand()
- public static void rebootSystem()
- public static bool|string getHardwareKey()
- public static array benchmark()
- public static void cleanDatabase()
Tasks
Line | Task |
---|---|
521 | Bizarre |
549+ | : ??? |
876+ | : ???? |
903+ | : ??? |
928+ | : ?? |
954+ | : ?? Ca fait plein de choses |
967+ | : ?? Ca aussi ça fait plein de choses |
980+ | : Ca évalue des choses dans les expressions |
1002+ | : Calcul les stats de quelquechose |
1215+ | : ??? |
Members
private
- $nextdomConfiguration
Methods
private
public
- addRemoveHistory() — Add an entry in the history and keep only the last 200
- benchmark() — Benchmark cache
- calculStat()
- checkOngoingThread()
- checkSpaceLeft() — Check space left
- checkValueInConfiguration()
- cleanDatabase()
- cron() — Task started minutes
- cron10()
- cron5() — Task started every 5 minutes
- cronDaily() — Task started everyday
- cronHourly() — Task started every hours
- evaluateExpression()
- event() — Check an event
- forceSyncHour() — Sync time
- fromHumanReadable()
- getConfiguration() — Get configuration informations or global configuration
- getDeadCmd() — Get all dead commands
- getHardwareKey() — Get hardware key
- getHardwareName() — Get hostname
- getJeedomVersion() — Get Jeedom version
- getNextdomVersion() — Get Nextdom version
- getStartedFilePath()
- getTmpFolder() — Get temporary folder and creates it if not exists
- getTypeUse() — Get type of entity in string
- getTypeUseOld()
- haltSystem() — Shutdown the system
- health() — Get system health Test all functionnalities
- isCapable() — Test if NextDom can call system function
- isDateOk() — Update time status and get it
- isOk() — Test if NextDom running right
- isStarted() — Test if NextDom is started
- rebootSystem() — Reboot the system
- replaceTag()
- retrievePidThread() — Get command thread process id
- sick() — Get informations about system installation
- startSystem() — Start all cron tasks and scenarios
- stopSystem() — Stop all cron tasks and scenarios
- toHumanReadable()
- update() — Start update
- versionAlias()