static function set_order_class($function_name) { if (!isset(self::$modules_order)) { self::$modules_order = array(); } self::$modules_order[$function_name] = isset(self::$modules_order[$function_name]) ? (int) self::$modules_order[$function_name] + 1 : 0; }