Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/.idea/

38 changes: 38 additions & 0 deletions abstract/abstract_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -240,5 +240,43 @@ protected static function _getInstance($class) {
}
return self::$_tInstance[$class];
}


/**
* @param $request
* @return false|resource
* @throws Exception
*/
public function ociBindByName($request)
{
return $this->getSgbd()->ociBindByName($request);
}

/**
* @return bool
* @throws Exception
*/
public function commit()
{
return $this->getSgbd()->commit();
}

/**
* @return bool
* @throws Exception
*/
public function rollback()
{
return $this->getSgbd()->rollback();
}

/**
* @return array|false
* @throws Exception
*/
public function getError()
{
return $this->getSgbd()->getError();
}

}
1 change: 1 addition & 0 deletions abstract/abstract_row.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ public function __isset($sVar){
*/
public function __unset($sVar){
unset($this->_tProperty[$sVar]);
unset($this->_tPropertyToUpdate[$sVar]);
}
/**
* force l'id de l'enregistrement
Expand Down
Loading