protected function run_before_loop_exec() { $exec = \AIP\lib\Config::get(\AIP\lib\Config::OPTION_BEFORE_LOOP_EXEC); ob_start(); foreach($exec as $line) $this->tick($line); $output = ob_get_clean(); if(\AIP\lib\Config::get(\AIP\lib\Config::OPTION_VERBOSITY) > 0) { Output::write(\AIP\lib\srvr\evlr\Result::message("Start of 'before_loop_exec'")); Output::raw_write($output); Output::write(\AIP\lib\srvr\evlr\Result::message("End of 'before_loop_exec'")); } }
public static function write(\AIP\lib\srvr\evlr\Result $result) { self::raw_write($result->render()); }