/** * main function instantiating and running the mailbots * * @return none */ function runMailbots() { // load Rox environment $env_explorer = new EnvironmentExplorer(); $env_explorer->initializeGlobalState(); $m2mbot = new MemberToMemberMailbot(); $m2mbot->run(); $forum_bot = new ForumNotificationMailbot(); $forum_bot->run(); $massmailbot = new MassMailbot(); $massmailbot->run(); }
protected function initializeGlobalState() { $env_explore = new EnvironmentExplorer(); $env_explore->initializeGlobalState(); return $env_explore; }