From 9f576f2e54a06dd0631b06e83429e466644e8df7 Mon Sep 17 00:00:00 2001 From: User Date: Sun, 6 Jan 2013 14:14:04 +0400 Subject: [PATCH] Naming convention fixed (all to camelCase) --- safemysql.class.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/safemysql.class.php b/safemysql.class.php index bd79187..4366e82 100644 --- a/safemysql.class.php +++ b/safemysql.class.php @@ -56,17 +56,17 @@ class SafeMySQL return mysqli_fetch_array($result, $mode); } - public function affected_rows() + public function affectedRows() { return mysqli_affected_rows ($this->conn); } - public function insert_id() + public function insertId() { return mysqli_insert_id($this->conn); } - public function num_rows($result) + public function numRows($result) { return mysqli_num_rows($result); }