CommonOperationsTrait
trait CommonOperationsTrait
Properties
static | $TRANSLATED_CONTENT_PROPERTY_START |
Methods
bool
delete()
Deletes model and also deletes possible related translation_job models
string|null
getContentForLocale(string $locale)
Returns the content for the given $locale... if there is any
array
getMissingTranslations()
Determines which language has not translation yet
null|string
getOriginalContent()
Returns the $original_language content if possible
array
getTranslatedContent()
No description
void
resetContent()
Resets/Emptys all content related to the translation
Details
at line 157
bool
delete()
Deletes model and also deletes possible related translation_job models
at line 73
string|null
getContentForLocale(string $locale)
Returns the content for the given $locale... if there is any
at line 95
array
getMissingTranslations()
Determines which language has not translation yet
at line 18
null|string
getOriginalContent()
Returns the $original_language content if possible
at line 38
array
getTranslatedContent()
No description
at line 131
void
resetContent()
Resets/Emptys all content related to the translation