API_SYNC::__construct PHP Method

__construct() public method

public __construct ( )
    function __construct()
    {
        //构造函数
        $this->obj_api = new CLASS_API();
        $this->obj_api->chk_install();
        $this->log = $this->obj_api->log;
        //初始化 AJAX 基对象
        $this->obj_crypt = new CLASS_CRYPT();
        $this->obj_sign = new CLASS_SIGN();
        $this->mdl_user = new MODEL_USER();
        //设置管理组模型
        $this->mdl_app = new MODEL_APP();
        //设置管理组模型
        $this->mdl_belong = new MODEL_BELONG();
        $this->mdl_log = new MODEL_LOG();
        //设置管理员模型
    }