Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
destroyFamily.php File Reference

Go to the source code of this file.

Functions

 destroyFamily ($dbaccess, $idfam, $force=false)
 

Variables

global $action
 
 $usage = new ApiUsage()
 
 $docid = $usage->addRequiredParameter("famid", "special docid")
 
 $force = $usage->addHiddenParameter("force", "force without transaction")
 
 $transaction = $usage->addEmptyParameter("transaction", "abort deletion if one of query failed")
 
if(!$force) else
 
 $appl = new Application()
 
 $dbaccess = $appl->dbaccess
 

Function Documentation

destroyFamily (   $dbaccess,
  $idfam,
  $force = false 
)

Definition at line 49 of file destroyFamily.php.

+ Here is the call graph for this function:

Variable Documentation

global $action

Delete family document and its documents

Definition at line 13 of file destroyFamily.php.

$appl = new Application()

Definition at line 31 of file destroyFamily.php.

$dbaccess = $appl->dbaccess

Definition at line 34 of file destroyFamily.php.

$docid = $usage->addRequiredParameter("famid", "special docid")

Definition at line 20 of file destroyFamily.php.

$force = $usage->addHiddenParameter("force", "force without transaction")

Definition at line 21 of file destroyFamily.php.

$transaction = $usage->addEmptyParameter("transaction", "abort deletion if one of query failed")

Definition at line 23 of file destroyFamily.php.

$usage = new ApiUsage()

Definition at line 18 of file destroyFamily.php.

if (!$force) else
Initial value:
{
$force = ($force == "yes")
$force

Definition at line 26 of file destroyFamily.php.

← centre documentaire © anakeen