diff --git a/lib/Doctrine/Sequence.php b/lib/Doctrine/Sequence.php index 76b9cdce1..0ca61c28f 100644 --- a/lib/Doctrine/Sequence.php +++ b/lib/Doctrine/Sequence.php @@ -41,7 +41,7 @@ class Doctrine_Sequence extends Doctrine_Connection_Module * * @return integer next id in the given sequence */ - public function nextID($seqName, $ondemand = true) + public function nextId($seqName, $ondemand = true) { throw new Doctrine_Sequence_Exception('method not implemented'); } @@ -52,7 +52,7 @@ class Doctrine_Sequence extends Doctrine_Connection_Module * @param string name of the table into which a new row was inserted * @param string name of the field into which a new row was inserted */ - public function lastInsertID($table = null, $field = null) + public function lastInsertId($table = null, $field = null) { throw new Doctrine_Sequence_Exception('method not implemented'); } @@ -63,10 +63,10 @@ class Doctrine_Sequence extends Doctrine_Connection_Module * * @return integer current id in the given sequence */ - public function currID($seqName) + public function currId($seqName) { $this->warnings[] = 'database does not support getting current sequence value, the sequence value was incremented'; - return $this->nextID($seqName); + return $this->nextId($seqName); } }