From 08ffa9284ee580b202c590390365d0cb580de19f Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Fri, 11 Feb 2011 08:21:23 +0100 Subject: [PATCH] rename methods splitting with _ attribute from method name --- web/Obj/brisk.phh | 2 +- web/Obj/dbase_base.phh | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index 4de7753..e51304d 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -1913,7 +1913,7 @@ class Room { log_auth("XXX", "authenticate: ".($authenticate != FALSE ? "TRUE" : "FALSE")); if ($authenticate != FALSE) { - $user_type = $authenticate->typeget(); + $user_type = $authenticate->type_get(); } else { $idx = -3; diff --git a/web/Obj/dbase_base.phh b/web/Obj/dbase_base.phh index 097e677..a827725 100644 --- a/web/Obj/dbase_base.phh +++ b/web/Obj/dbase_base.phh @@ -47,27 +47,27 @@ class LoginDBItem { return ($ret); } - function codeget() + function code_get() { return $this->code; } - function loginget() + function login_get() { return $this->login; } - function passget() + function pass_get() { return $this->pass; } - function emailget() + function email_get() { return $this->email; } - function typeget() + function type_get() { return $this->type; } -- 2.17.1