Function “del_data()”

Estimated reading: 1 minute
bool del_data(numeric $gtabid, numeric $ID, string $typ="delete", bool $forceDelete=null);

Function to delete a data record (./limbas_src/gtab/gtab.lib).

Parameters:

$gtabid

  • Valid table ID: Specifies along with $ID the data record to be deleted.
  • Invalid table ID: Function call is without effect.

$ID

  • Valid data record ID: Specifies, along with $gtabId, the data record to be deleted.
  • Invalid data record ID: Function call is without effect.

$typ

  • “delete”: The data record specified with $gtabId and $ID will be deleted.

$forceDelete

  • forces the recursive deletion of out-dated or linked data sets. Existing links are deleted

Return Value

  • True: The specified data record was deleted.
  • False: No data record has been deleted.