1
0
mirror of synced 2024-12-13 22:56:04 +03:00
This commit is contained in:
zYne 2007-02-01 09:58:53 +00:00
parent 3f9ffc2836
commit 635158e533

View File

@ -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);
}
}