\App\Library\TextTranslationTranslation

contains all functions that handle translations

Summary

Methods
Properties
Constants
__construct()
getText()
getHtml()
__toString()
$translation
$errors
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$translation

$translation
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
 : 
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
mixed

new property translation

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Type

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50 mixed —

$errors

$errors
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
 : 
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
array

new property errors

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Type

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50 array —

Methods

__construct()

__construct(
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
mixed  $translation, 
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
array  $errors) 
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
: mixed

Create a new Translation instance.

Parameters

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50 mixed $translation
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50 array $errors
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Returns

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50 mixed —

getText()

getText() 
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
: string

Get the translation as plain text.

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Returns

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50 string —

getHtml()

getHtml() 
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
: string

Get the translation with html tags.

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Returns

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50 string —

__toString()

__toString() 
Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50
: string

magic method always called if code wants to try making a string of a Translation instance eg. string casts in string methods

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50

Returns

Deprecated: Please use getType in phar:///usr/local/bin/phpdoc/src/phpDocumentor/Descriptor/Traits/CanHaveAType.php on line 50 string —