public function regLog($login, $logout = "", $logcheck = "", $chg_psw = "") { $this->func_log = array(); if (is_callable($login)) { $this->func_log['login'] = $login; } if (is_callable($logout)) { $this->func_log['logout'] = $logout; } if (is_callable($logcheck)) { $this->func_log['logcheck'] = $logcheck; } if (is_callable($chg_psw)) { $this->func_log['chg_psw'] = $chg_psw; } self::$func_log_s = $this->func_log; }