ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
MDB2_Driver_Native_pgsql Class Reference
+ Inheritance diagram for MDB2_Driver_Native_pgsql:
+ Collaboration diagram for MDB2_Driver_Native_pgsql:

Public Member Functions

 deleteOID ($OID)
 delete an OID

Additional Inherited Members

- Data Fields inherited from MDB2_Module_Common
 $db_index

Detailed Description

Definition at line 56 of file pgsql.php.

Member Function Documentation

MDB2_Driver_Native_pgsql::deleteOID (   $OID)

delete an OID

Parameters
integer$OID
Returns
mixed MDB2_OK on success or MDB2 Error Object on failure public

Definition at line 68 of file pgsql.php.

References MDB2_Module_Common\getDBInstance(), PEAR\isError(), and MDB2_OK.

{
$db =& $this->getDBInstance();
if (PEAR::isError($db)) {
return $db;
}
$connection = $db->getConnection();
if (PEAR::isError($connection)) {
return $connection;
}
if (!@pg_lo_unlink($connection, $OID)) {
return $db->raiseError(null, null, null,
'Unable to unlink OID: '.$OID, __FUNCTION__);
}
return MDB2_OK;
}

+ Here is the call graph for this function:


The documentation for this class was generated from the following file: