Commit 635158e5 authored by zYne's avatar zYne

--no commit message

--no commit message
parent 3f9ffc28
...@@ -41,7 +41,7 @@ class Doctrine_Sequence extends Doctrine_Connection_Module ...@@ -41,7 +41,7 @@ class Doctrine_Sequence extends Doctrine_Connection_Module
* *
* @return integer next id in the given sequence * @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'); throw new Doctrine_Sequence_Exception('method not implemented');
} }
...@@ -52,7 +52,7 @@ class Doctrine_Sequence extends Doctrine_Connection_Module ...@@ -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 table into which a new row was inserted
* @param string name of the field 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'); throw new Doctrine_Sequence_Exception('method not implemented');
} }
...@@ -63,10 +63,10 @@ class Doctrine_Sequence extends Doctrine_Connection_Module ...@@ -63,10 +63,10 @@ class Doctrine_Sequence extends Doctrine_Connection_Module
* *
* @return integer current id in the given sequence * @return integer current id in the given sequence
*/ */
public function currID($seqName) public function currId($seqName)
{ {
$this->warnings[] = 'database does not support getting current $this->warnings[] = 'database does not support getting current
sequence value, the sequence value was incremented'; sequence value, the sequence value was incremented';
return $this->nextID($seqName); return $this->nextId($seqName);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment