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\System\Library\Document | 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" >
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
< / 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 active" >
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
< ul >
< li class = "menuGroup-item" >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/namespace-Opencart.System.Engine.html" > Engine< / 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.Helper.html" > Helper< / 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.System.Library.html" > Library< / 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.System.Library.Cache.html" > Cache< / 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.Library.Cart.html" > Cart< / 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.Library.DB.html" > DB< / 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.Library.Mail.html" > Mail< / 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.Library.Session.html" > Session< / 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.Library.Template.html" > Template< / a >
2024-03-04 22:57:28 +08:00
< / li >
< / ul >
< / 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-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.System.Library.Cache.html" >
2024-03-04 22:57:28 +08:00
Cache
< / a >
< / li >
< li >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/Opencart.System.Library.DB.html" >
2024-03-04 22:57:28 +08:00
DB
< / a >
< / li >
< li class = "active" >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/Opencart.System.Library.Document.html" >
2024-03-04 22:57:28 +08:00
Document
< / a >
< / li >
< li >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/Opencart.System.Library.Image.html" >
2024-03-04 22:57:28 +08:00
Image
< / a >
< / li >
< li >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/Opencart.System.Library.Language.html" >
2024-03-04 22:57:28 +08:00
Language
< / a >
< / li >
< li >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/Opencart.System.Library.Log.html" >
2024-03-04 22:57:28 +08:00
Log
< / a >
< / li >
< li >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/Opencart.System.Library.Mail.html" >
2024-03-04 22:57:28 +08:00
Mail
< / a >
< / li >
< li >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/Opencart.System.Library.Request.html" >
2024-03-04 22:57:28 +08:00
Request
< / a >
< / li >
< li >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/Opencart.System.Library.Response.html" >
2024-03-04 22:57:28 +08:00
Response
< / a >
< / li >
< li >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/Opencart.System.Library.Session.html" >
2024-03-04 22:57:28 +08:00
Session
< / a >
< / li >
< li >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/Opencart.System.Library.Template.html" >
2024-03-04 22:57:28 +08:00
Template
< / a >
< / li >
< li >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/Opencart.System.Library.Url.html" >
2024-03-04 22:57:28 +08:00
Url
< / 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.System.Library.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.System.Library.Document.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.System.html" > System< / a > \< a href = "http://localhost\opencart-master/docs/api/namespace-Opencart.System.Library.html" > Library< / a > \< a href = "http://localhost\opencart-master/docs/api/Opencart.System.Library.Document.html" > Document< / a >
2024-03-04 22:57:28 +08:00
< / h1 >
< table class = "classLikeSignatureTable" >
< / table >
< div class = "classLikeDescription" >
< div class = "description" > < p > Class Document< / p >
< / div >
< / 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-system.library.document.html#15" title = "Go to source code" > system\library\document.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 = "setTitle" id = "_setTitle" >
< 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-system.library.document.html#41-50" title = "Go to source code" > setTitle< / a > (< span > string < var > $title< / var > < / span > ): void< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > setTitle< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > setTitle< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_setTitle" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "getTitle" id = "_getTitle" >
< 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-system.library.document.html#52-59" title = "Go to source code" > getTitle< / a > (): string< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > getTitle< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > getTitle< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_getTitle" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "setDescription" id = "_setDescription" >
< 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-system.library.document.html#61-70" title = "Go to source code" > setDescription< / a > (< span > string < var > $description< / var > < / span > ): void< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > setDescription< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > setDescription< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_setDescription" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "getDescription" id = "_getDescription" >
< 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-system.library.document.html#72-79" title = "Go to source code" > getDescription< / a > (): string< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > getDescription< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > getDescription< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_getDescription" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "setKeywords" id = "_setKeywords" >
< 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-system.library.document.html#81-88" title = "Go to source code" > setKeywords< / a > (< span > string < var > $keywords< / var > < / span > ): void< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > setKeywords< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > setKeywords< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_setKeywords" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "getKeywords" id = "_getKeywords" >
< 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-system.library.document.html#90-97" title = "Go to source code" > getKeywords< / a > (): string< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > getKeywords< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > getKeywords< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_getKeywords" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "addLink" id = "_addLink" >
< 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-system.library.document.html#99-112" title = "Go to source code" > addLink< / a > (< span > string < var > $href< / var > < / span > , < span > string < var > $rel< / var > < / span > ): void< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > addLink< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > addLink< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_addLink" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "getLinks" id = "_getLinks" >
< 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-system.library.document.html#114-121" title = "Go to source code" > getLinks< / a > (): array< string, array< string, string> > < / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > getLinks< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > getLinks< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_getLinks" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "addStyle" id = "_addStyle" >
< 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-system.library.document.html#123-138" title = "Go to source code" > addStyle< / a > (< span > string < var > $href< / var > < / span > , < span > string < var > $rel< / var > = < span class = "php-str" > 'stylesheet'< / span > < / span > , < span > string < var > $media< / var > = < span class = "php-str" > 'screen'< / span > < / span > ): void< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > addStyle< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > addStyle< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_addStyle" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "getStyles" id = "_getStyles" >
< 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-system.library.document.html#140-147" title = "Go to source code" > getStyles< / a > (): array< string, array< string, string> > < / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > getStyles< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > getStyles< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_getStyles" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "addScript" id = "_addScript" >
< 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-system.library.document.html#149-159" title = "Go to source code" > addScript< / a > (< span > string < var > $href< / var > < / span > , < span > string < var > $position< / var > = < span class = "php-str" > 'header'< / span > < / span > ): void< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > addScript< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > addScript< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_addScript" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "getScripts" id = "_getScripts" >
< 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-system.library.document.html#161-174" title = "Go to source code" > getScripts< / a > (< span > string < var > $position< / var > = < span class = "php-str" > 'header'< / span > < / span > ): array< string, array< string, string> > < / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > getScripts< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > getScripts< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_getScripts" > #< / a >
< / td >
< / 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 >