/** * Takes care of loading the Messages system controller into the $_EEMSG property * * @since 4.5.0 * * @return void */ protected static function _load_controller() { if (!self::$_EEMSG instanceof EE_messages) { self::set_autoloaders(); self::$_EEMSG = new EE_messages(); } }
/** * Resets all the static properties in this class when called. */ public static function reset() { self::$_EEMSG = null; self::$_message_resource_manager = null; self::$_MSG_PROCESSOR = null; self::$_MSG_PATHS = null; self::$_TMP_PACKS = array(); }