Function __global->has_translation

Definitions

sources/translation.php

  • Whether translation is available.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: bool

Parameters

Name Type Default Set Range Description
$from ?LANGUAGE_NAME Null N/A N/A Source language (null: do not consider)
$to ?LANGUAGE_NAME Null N/A N/A Destination language (null: do not consider)
$translation_object ?object Null N/A N/A Translation object, will be returned by reference (null: search all)
$errormsg ?string Null N/A N/A Error message (returned by reference) (null: not set yet)

Return

  • Whether it is
  • Type: boolean
  • Set: N/A
  • Range: N/A