StringsExporterSettingApi
extends AbstractApi
in package
Manage project strings exporter settings
Table of Contents
Methods
- create() : StringsExporterSetting|null
- Add Strings Exporter Settings
- delete() : mixed
- Delete Strings Exporter Settings
- get() : StringsExporterSetting|null
- Get Strings Exporter Settings
- list() : ModelCollection
- List Project Strings Exporter Settings
- update() : StringsExporterSetting|null
- Edit Strings Exporter Settings
Methods
create()
Add Strings Exporter Settings
public
create(int $projectId, array<string|int, mixed> $data) : StringsExporterSetting|null
Parameters
- $projectId : int
- $data : array<string|int, mixed>
-
string $data[format] required Enum: "android" "macosx" "xliff" array $data[settings] required
Tags
Return values
StringsExporterSetting|nulldelete()
Delete Strings Exporter Settings
public
delete(int $projectId, int $strExporterSettingsId) : mixed
Parameters
- $projectId : int
- $strExporterSettingsId : int
Tags
get()
Get Strings Exporter Settings
public
get(int $projectId, int $strExporterSettingsId) : StringsExporterSetting|null
Parameters
- $projectId : int
- $strExporterSettingsId : int
Tags
Return values
StringsExporterSetting|nulllist()
List Project Strings Exporter Settings
public
list(int $projectId) : ModelCollection
Parameters
- $projectId : int
Tags
Return values
ModelCollectionupdate()
Edit Strings Exporter Settings
public
update(int $projectId, StringsExporterSetting $stringsExporterSetting) : StringsExporterSetting|null
Parameters
- $projectId : int
- $stringsExporterSetting : StringsExporterSetting