CMS  Version 3.9
text_translations.inc File Reference

Go to the source code of this file.

Variables

 $text_id = checkNumeric($_GET["text_id"])
 
 $menu_item = "Text Lookup"
 
 $text = new TextLookup($text_id)
 
 $title = "Text Translations for " . $text->code
 
 $texts
 
 $table = new DataListView($texts, "textTranslations")
 
$table sortable = true
 
$table filter = true
 
$table pageSize = 10
 
$table emptyMessage = "No text translations have been defined."
 
 $tabs = TextLookupManager::getTabs($text_id)
 
 $script = $table->writeScript()
 

Variable Documentation

◆ $menu_item

$menu_item = "Text Lookup"

Definition at line 54 of file text_translations.inc.

◆ $script

$script = $table->writeScript()

Definition at line 78 of file text_translations.inc.

◆ $table

$table = new DataListView($texts, "textTranslations")

Definition at line 63 of file text_translations.inc.

◆ $tabs

$tabs = TextLookupManager::getTabs($text_id)

Definition at line 76 of file text_translations.inc.

◆ $text

$text = new TextLookup($text_id)

Definition at line 56 of file text_translations.inc.

◆ $text_id

$text_id = checkNumeric($_GET["text_id"])

Definition at line 49 of file text_translations.inc.

◆ $texts

$texts
Initial value:
= Query::create(TextTranslation, "WHERE text_id=:text_id ORDER BY language")
->bind(":text_id", $text_id)
->execute()

Definition at line 59 of file text_translations.inc.

◆ $title

$title = "Text Translations for " . $text->code

Definition at line 57 of file text_translations.inc.

◆ emptyMessage

$table emptyMessage = "No text translations have been defined."

Definition at line 73 of file text_translations.inc.

◆ filter

$table filter = true

Definition at line 71 of file text_translations.inc.

◆ pageSize

$table pageSize = 10

Definition at line 72 of file text_translations.inc.

◆ sortable

$table sortable = true

Definition at line 70 of file text_translations.inc.