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 | |
| destroyFamily | ( | $dbaccess, | |
| $idfam, | |||
$force = false |
|||
| ) |
| 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.
Definition at line 20 of file destroyFamily.php.
| $force = $usage->addHiddenParameter("force", "force without transaction") |
Definition at line 21 of file destroyFamily.php.
Definition at line 23 of file destroyFamily.php.
Definition at line 18 of file destroyFamily.php.
| if (!$force) else |
Definition at line 26 of file destroyFamily.php.