2024-03-04 22:57:28 +08:00
<!doctype html>
< html lang = "en" >
< head >
< meta charset = "utf-8" >
< meta name = "viewport" content = "width=device-width" >
< title > Class Opencart\Admin\Model\Design\Translation | OpenCart API API< / title >
2024-03-04 23:29:14 +08:00
< link rel = "stylesheet" href = "http://localhost\opencart-master/docs/api/assets/main.css" >
< script src = "http://localhost\opencart-master/docs/api/assets/main.js" defer > < / script >
2024-03-04 22:57:28 +08:00
< / head >
< body class = "layout" >
< div class = "layout-aside" >
< div class = "menu" >
< div class = "menu-section" >
< h3 > Namespaces< / h3 >
< ul >
< li class = "menuGroup-item active" >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/namespace-Opencart.html" > Opencart< / a >
2024-03-04 22:57:28 +08:00
< ul >
< li class = "menuGroup-item active" >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.html" > Admin< / a >
2024-03-04 22:57:28 +08:00
< ul >
< li class = "menuGroup-item" >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.Controller.html" > Controller< / a >
2024-03-04 22:57:28 +08:00
< / li >
< li class = "menuGroup-item active" >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.Model.html" > Model< / a >
2024-03-04 22:57:28 +08:00
< ul >
< li class = "menuGroup-item" >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.Model.Catalog.html" > Catalog< / a >
2024-03-04 22:57:28 +08:00
< / li >
< li class = "menuGroup-item" >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.Model.Cms.html" > Cms< / a >
2024-03-04 22:57:28 +08:00
< / li >
< li class = "menuGroup-item" >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.Model.Customer.html" > Customer< / a >
2024-03-04 22:57:28 +08:00
< / li >
< li class = "menuGroup-item active" >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.Model.Design.html" > Design< / a >
2024-03-04 22:57:28 +08:00
< / li >
< li class = "menuGroup-item" >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.Model.Extension.html" > Extension< / a >
2024-03-04 22:57:28 +08:00
< / li >
< li class = "menuGroup-item" >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.Model.Localisation.html" > Localisation< / a >
2024-03-04 22:57:28 +08:00
< / li >
< li class = "menuGroup-item" >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.Model.Marketing.html" > Marketing< / a >
2024-03-04 22:57:28 +08:00
< / li >
< li class = "menuGroup-item" >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.Model.Report.html" > Report< / a >
2024-03-04 22:57:28 +08:00
< / li >
< li class = "menuGroup-item" >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.Model.Sale.html" > Sale< / a >
2024-03-04 22:57:28 +08:00
< / li >
< li class = "menuGroup-item" >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.Model.Setting.html" > Setting< / a >
2024-03-04 22:57:28 +08:00
< / li >
< li class = "menuGroup-item" >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.Model.Tool.html" > Tool< / a >
2024-03-04 22:57:28 +08:00
< / li >
< li class = "menuGroup-item" >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.Model.User.html" > User< / a >
2024-03-04 22:57:28 +08:00
< / li >
< / ul >
< / li >
< / ul >
< / li >
< li class = "menuGroup-item" >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/namespace-Opencart.Catalog.html" > Catalog< / a >
2024-03-04 22:57:28 +08:00
< / li >
< li class = "menuGroup-item" >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/namespace-Opencart.System.html" > System< / a >
2024-03-04 22:57:28 +08:00
< / li >
< / ul >
< / li >
< li class = "menuGroup-item" >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/namespace-none.html" > none< / a >
2024-03-04 22:57:28 +08:00
< / li >
< / ul >
< / div >
< div class = "menu-section" >
< h3 > Classes< / h3 >
< ul >
< li >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/Opencart.Admin.Model.Design.Banner.html" >
2024-03-04 22:57:28 +08:00
Banner
< / a >
< / li >
< li >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/Opencart.Admin.Model.Design.Layout.html" >
2024-03-04 22:57:28 +08:00
Layout
< / a >
< / li >
< li >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/Opencart.Admin.Model.Design.SeoUrl.html" >
2024-03-04 22:57:28 +08:00
SeoUrl
< / a >
< / li >
< li >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/Opencart.Admin.Model.Design.Theme.html" >
2024-03-04 22:57:28 +08:00
Theme
< / a >
< / li >
< li class = "active" >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/Opencart.Admin.Model.Design.Translation.html" >
2024-03-04 22:57:28 +08:00
Translation
< / a >
< / li >
< / ul >
< / div >
< / div >
< / div >
< div class = "layout-main" >
< div class = "layout-navbar" >
< nav class = "navbar" >
< div class = "navbar-left" >
< ul class = "navbar-links" >
< li >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/index.html" > Overview< / a >
2024-03-04 22:57:28 +08:00
< / li >
< li >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.Model.Design.html" > Namespace< / a >
2024-03-04 22:57:28 +08:00
< / li >
2024-03-04 23:29:14 +08:00
< li class = "active" > < a href = "http://localhost\opencart-master/docs/api/Opencart.Admin.Model.Design.Translation.html" > Class< / a > < / li > < li >
< a href = "http://localhost\opencart-master/docs/api/tree.html" > Tree< / a >
2024-03-04 22:57:28 +08:00
< / li >
< / ul >
< / div >
< div class = "navbar-right" >
2024-03-04 23:29:14 +08:00
< div class = "search" data-elements = "http://localhost\opencart-master/docs/api/assets/elements.js" >
2024-03-04 22:57:28 +08:00
< input class = "search-input" placeholder = "Search class, function or namespace" autofocus >
< ul class = "search-results" > < / ul >
< / div >
< / div >
< / nav >
< / div >
< div class = "layout-content" >
< h1 >
2024-03-04 23:29:14 +08:00
Class < a href = "http://localhost\opencart-master/docs/api/namespace-Opencart.html" > Opencart< / a > \< a href = "http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.html" > Admin< / a > \< a href = "http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.Model.html" > Model< / a > \< a href = "http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.Model.Design.html" > Design< / a > \< a href = "http://localhost\opencart-master/docs/api/Opencart.Admin.Model.Design.Translation.html" > Translation< / a >
2024-03-04 22:57:28 +08:00
< / h1 >
< table class = "classLikeSignatureTable" >
< tr >
< th > < code > extends< / code > < / th >
< td >
2024-03-04 23:29:14 +08:00
< code > < a href = "http://localhost\opencart-master/docs/api/Opencart.System.Engine.Model.html" > < span title = "Opencart\System\Engine\Model" > Model< / span > < / a > < / code > < / td >
2024-03-04 22:57:28 +08:00
< / tr >
< / table >
< div class = "classLikeDescription" >
< div class = "description" > < p > Class Translation< / p >
< / div >
< / div >
< div class = "classLikeSection" >
< ul class = "classTree" >
< li >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/Opencart.System.Engine.Model.html" > < span > Opencart\System\Engine\Model< / span > < / a >
2024-03-04 22:57:28 +08:00
< ul class = "classTree" >
< li >
< b > < span class = "active" > Opencart\Admin\Model\Design\Translation< / span > < / b >
< / li >
< / ul >
< / li >
< / ul >
< / div >
< div class = "classLikeSection" >
2024-03-04 23:29:14 +08:00
< b > Located at< / b > < a href = "http://localhost\opencart-master/docs/api/source-admin.model.design.translation.html#8" title = "Go to source code" > admin\model\design\translation.php< / a > < br >
2024-03-04 22:57:28 +08:00
< / div >
< table class = "table" id = "methods" >
< tr >
< th class = "table-heading sortable" colspan = "3" title = "Switch between natural and alphabetical order" > Methods< / th >
< / tr >
< tr class = "expandable collapsed" data-order = "addTranslation" id = "_addTranslation" >
< td class = "table-cell table-shrink" >
< code class = "nowrap" >
public
< / code >
< / td >
< td class = "table-cell" >
2024-03-04 23:29:14 +08:00
< code > < a href = "http://localhost\opencart-master/docs/api/source-admin.model.design.translation.html#9-18" title = "Go to source code" > addTranslation< / a > (< span > array< string, mixed> < var > $data< / var > < / span > ): void< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > Add Translation< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > Add Translation< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_addTranslation" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "editTranslation" id = "_editTranslation" >
< td class = "table-cell table-shrink" >
< code class = "nowrap" >
public
< / code >
< / td >
< td class = "table-cell" >
2024-03-04 23:29:14 +08:00
< code > < a href = "http://localhost\opencart-master/docs/api/source-admin.model.design.translation.html#20-30" title = "Go to source code" > editTranslation< / a > (< span > int < var > $translation_id< / var > < / span > , < span > array< string, mixed> < var > $data< / var > < / span > ): void< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > Edit Translation< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > Edit Translation< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_editTranslation" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "deleteTranslation" id = "_deleteTranslation" >
< td class = "table-cell table-shrink" >
< code class = "nowrap" >
public
< / code >
< / td >
< td class = "table-cell" >
2024-03-04 23:29:14 +08:00
< code > < a href = "http://localhost\opencart-master/docs/api/source-admin.model.design.translation.html#32-41" title = "Go to source code" > deleteTranslation< / a > (< span > int < var > $translation_id< / var > < / span > ): void< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > Delete Translation< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > Delete Translation< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_deleteTranslation" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "deleteTranslationsByStoreId" id = "_deleteTranslationsByStoreId" >
< td class = "table-cell table-shrink" >
< code class = "nowrap" >
public
< / code >
< / td >
< td class = "table-cell" >
2024-03-04 23:29:14 +08:00
< code > < a href = "http://localhost\opencart-master/docs/api/source-admin.model.design.translation.html#43-52" title = "Go to source code" > deleteTranslationsByStoreId< / a > (< span > int < var > $store_id< / var > < / span > ): void< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > Delete Translations By Store ID< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > Delete Translations By Store ID< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_deleteTranslationsByStoreId" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "deleteTranslationsByLanguageId" id = "_deleteTranslationsByLanguageId" >
< td class = "table-cell table-shrink" >
< code class = "nowrap" >
public
< / code >
< / td >
< td class = "table-cell" >
2024-03-04 23:29:14 +08:00
< code > < a href = "http://localhost\opencart-master/docs/api/source-admin.model.design.translation.html#54-63" title = "Go to source code" > deleteTranslationsByLanguageId< / a > (< span > int < var > $language_id< / var > < / span > ): void< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > Delete Translations By Language ID< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > Delete Translations By Language ID< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_deleteTranslationsByLanguageId" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "getTranslation" id = "_getTranslation" >
< td class = "table-cell table-shrink" >
< code class = "nowrap" >
public
< / code >
< / td >
< td class = "table-cell" >
2024-03-04 23:29:14 +08:00
< code > < a href = "http://localhost\opencart-master/docs/api/source-admin.model.design.translation.html#65-76" title = "Go to source code" > getTranslation< / a > (< span > int < var > $translation_id< / var > < / span > ): array< string, mixed> < / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > Get Translation< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > Get Translation< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_getTranslation" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "getTranslations" id = "_getTranslations" >
< td class = "table-cell table-shrink" >
< code class = "nowrap" >
public
< / code >
< / td >
< td class = "table-cell" >
2024-03-04 23:29:14 +08:00
< code > < a href = "http://localhost\opencart-master/docs/api/source-admin.model.design.translation.html#78-123" title = "Go to source code" > getTranslations< / a > (< span > array< string, mixed> < var > $data< / var > = []< / span > ): array< int, array< string, mixed> > < / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > Get Translations< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > Get Translations< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_getTranslations" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "getTotalTranslations" id = "_getTotalTranslations" >
< td class = "table-cell table-shrink" >
< code class = "nowrap" >
public
< / code >
< / td >
< td class = "table-cell" >
2024-03-04 23:29:14 +08:00
< code > < a href = "http://localhost\opencart-master/docs/api/source-admin.model.design.translation.html#125-134" title = "Go to source code" > getTotalTranslations< / a > (): int< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > Get Total Translations< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > Get Total Translations< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_getTotalTranslations" > #< / a >
< / td >
< / tr >
< / table >
< table class = "table" >
< tr >
2024-03-04 23:29:14 +08:00
< th class = "table-heading" > Methods inherited from < a href = "http://localhost\opencart-master/docs/api/Opencart.System.Engine.Model.html" > < span > Opencart\System\Engine\Model< / span > < / a > < / th >
2024-03-04 22:57:28 +08:00
< / tr >
< tr >
< td class = "table-cell" >
2024-03-04 23:29:14 +08:00
< code > < a href = "http://localhost\opencart-master/docs/api/Opencart.System.Engine.Model.html#___construct" > __construct()< / a > , < a href = "http://localhost\opencart-master/docs/api/Opencart.System.Engine.Model.html#___get" > __get()< / a > , < a href = "http://localhost\opencart-master/docs/api/Opencart.System.Engine.Model.html#___set" > __set()< / a > , < a href = "http://localhost\opencart-master/docs/api/Opencart.System.Engine.Model.html#___isset" > __isset()< / a > < / code > < / td >
2024-03-04 22:57:28 +08:00
< / tr >
< / table >
< table class = "table" >
< tr >
2024-03-04 23:29:14 +08:00
< th class = "table-heading" > Properties inherited from < a href = "http://localhost\opencart-master/docs/api/Opencart.System.Engine.Model.html" > < span > Opencart\System\Engine\Model< / span > < / a > < / th >
2024-03-04 22:57:28 +08:00
< / tr >
< tr >
< td class = "table-cell" >
2024-03-04 23:29:14 +08:00
< code > < var > < a href = "http://localhost\opencart-master/docs/api/Opencart.System.Engine.Model.html#$registry" > $registry< / a > < / var > < / code > < / td >
2024-03-04 22:57:28 +08:00
< / tr >
< / table >
< / div >
< div class = "layout-footer" >
OpenCart API API documentation generated by < a href = "https://www.apigen.org" > ApiGen dev-master< / a >
< / div >
< / div >
< div class = "layout-rest" >
< div class = "navbar" > < / div >
< / div >
< / body >
< / html >