Skip to content

How to get translations from within another controller? #28

@brasileric

Description

@brasileric

Hi,

I want to get the translations of the dataobject from within another controller. Is it possible to do that:

Example:

$sms_data_s = DataObject::get_by_id('SMSTemplate', 1)->SMSContent;

I have translations for SMSContent, but don't know how to call them.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions