Documentation

MachineTranslation extends BaseModel
in package

Table of Contents

Properties

$sourceLanguageId  : string
$strings  : array<string|int, string>
$targetLanguageId  : string
$translations  : array<string|int, string>

Methods

__construct()  : mixed
getSourceLanguageId()  : string
getStrings()  : array<string|int, mixed>|array<string|int, string>
getTargetLanguageId()  : string
getTranslations()  : array<string|int, mixed>|array<string|int, string>
setSourceLanguageId()  : void
setStrings()  : void
setTargetLanguageId()  : void
setTranslations()  : void

Properties

Methods

__construct()

public __construct([array<string|int, mixed> $data = [] ]) : mixed
Parameters
$data : array<string|int, mixed> = []

getSourceLanguageId()

public getSourceLanguageId() : string
Return values
string

getStrings()

public getStrings() : array<string|int, mixed>|array<string|int, string>
Return values
array<string|int, mixed>|array<string|int, string>

getTargetLanguageId()

public getTargetLanguageId() : string
Return values
string

getTranslations()

public getTranslations() : array<string|int, mixed>|array<string|int, string>
Return values
array<string|int, mixed>|array<string|int, string>

setSourceLanguageId()

public setSourceLanguageId(string $sourceLanguageId) : void
Parameters
$sourceLanguageId : string

setStrings()

public setStrings(array<string|int, mixed>|array<string|int, string> $strings) : void
Parameters
$strings : array<string|int, mixed>|array<string|int, string>

setTargetLanguageId()

public setTargetLanguageId(string $targetLanguageId) : void
Parameters
$targetLanguageId : string

setTranslations()

public setTranslations(array<string|int, mixed>|array<string|int, string> $translations) : void
Parameters
$translations : array<string|int, mixed>|array<string|int, string>

        
On this page

Search results