summaryrefslogtreecommitdiff
path: root/idiorm.php
diff options
context:
space:
mode:
authorJamie Matthews <[email protected]>2010-09-14 04:09:01 +0100
committerJamie Matthews <[email protected]>2010-09-14 04:09:01 +0100
commit705409e300fa9e0724c6b2786a9d60c0153a00b6 (patch)
tree4b13b811f6f9b1e4d67d2a0093c8e90b823b0488 /idiorm.php
parent1af4f71308ec20e86c15af3c23ed2b7ae95d02a2 (diff)
BACKWARDS INCOMPATIBLE CHANGE: rename where_equals method to where_equal for consistency
Diffstat (limited to 'idiorm.php')
-rw-r--r--idiorm.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/idiorm.php b/idiorm.php
index 08a2b5c..1876407 100644
--- a/idiorm.php
+++ b/idiorm.php
@@ -323,14 +323,14 @@
* is built.
*/
public function where($column_name, $value) {
- return $this->where_equals($column_name, $value);
+ return $this->where_equal($column_name, $value);
}
/**
* More explicitly named version of for the where() method.
* Can be used if preferred.
*/
- public function where_equals($column_name, $value) {
+ public function where_equal($column_name, $value) {
return $this->add_where($column_name, '=', $value);
}