This commit is contained in:
parent
3f9ffc2836
commit
635158e533
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user