Function __global->mass_delete_lang

Definitions

sources/lang3.php

  • Deletes all content language strings linked to by the specified table and attribute identifiers, if they exist.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$table ID_TEXT No No required parameter N/A N/A The table
$attrs array No No required parameter N/A N/A The attributes
$db ?object No No required parameter N/A N/A The database connector to use (null: standard site connector)

Preview

Code (PHP)

/**
 * Deletes all content language strings linked to by the specified table and attribute identifiers, if they exist.
 *
 * @param  ID_TEXT $table The table
 * @param  array $attrs The attributes
 * @param  ?object $db The database connector to use (null: standard site connector)
 */

function mass_delete_lang(string $table, array $attrs, ?object $db)