Function Standard_crud_module->get_cat

Definitions

sources/crud_module.php

  • Standard crud_module category getter.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$id ID_TEXT No No required parameter N/A N/A The entry for which the category is sought

Returns

  • The category
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Standard crud_module category getter.
 *
 * @param  ID_TEXT $id The entry for which the category is sought
 * @return string The category
 */

public function get_cat(string $id) : string