选择语言 :

 Core_Core::register_shutdown_function

添加页面在关闭前执行的列队 将利用call_user_func或call_user_func_array回调 类似 register_shutdown_function

null Core_Core::register_shutdown_function( array $function [, array $param_arr = null ] )

参数列表

参数 类型 描述 默认值
$function array 方法名,可以是数组
$param_arr array 参数,可空 null
File: ./core/classes/core.class.php
public static function register_shutdown_function($function, $param_arr = null)
{
    Core::$shutdown_function[] = array($function, $param_arr);
}