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\Cart\Customer | 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 active" >
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.Cart.Cart.html" >
2024-03-04 22:57:28 +08:00
Cart
< / a >
< / li >
< li >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/Opencart.System.Library.Cart.Currency.html" >
2024-03-04 22:57:28 +08:00
Currency
< / a >
< / li >
< li class = "active" >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/Opencart.System.Library.Cart.Customer.html" >
2024-03-04 22:57:28 +08:00
Customer
< / a >
< / li >
< li >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/Opencart.System.Library.Cart.Length.html" >
2024-03-04 22:57:28 +08:00
Length
< / a >
< / li >
< li >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/Opencart.System.Library.Cart.Tax.html" >
2024-03-04 22:57:28 +08:00
Tax
< / a >
< / li >
< li >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/Opencart.System.Library.Cart.User.html" >
2024-03-04 22:57:28 +08:00
User
< / a >
< / li >
< li >
2024-03-04 23:29:14 +08:00
< a href = "http://localhost\opencart-master/docs/api/Opencart.System.Library.Cart.Weight.html" >
2024-03-04 22:57:28 +08:00
Weight
< / 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.Cart.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.Cart.Customer.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/namespace-Opencart.System.Library.Cart.html" > Cart< / a > \< a href = "http://localhost\opencart-master/docs/api/Opencart.System.Library.Cart.Customer.html" > Customer< / a >
2024-03-04 22:57:28 +08:00
< / h1 >
< table class = "classLikeSignatureTable" >
< / table >
< div class = "classLikeDescription" >
< div class = "description" > < p > Class Customer< / 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.cart.customer.html#8" title = "Go to source code" > system\library\cart\customer.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 = "__construct" id = "___construct" >
< 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.cart.customer.html#62-92" title = "Go to source code" > __construct< / a > (< span > < a href = "http://localhost\opencart-master/docs/api/Opencart.System.Engine.Registry.html" > < span title = "Opencart\System\Engine\Registry" > Registry< / span > < / a > < var > $registry< / var > < / span > )< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > Constructor< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > Constructor< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#___construct" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "login" id = "_login" >
< 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.cart.customer.html#94-141" title = "Go to source code" > login< / a > (< span > string < var > $email< / var > < / span > , < span > string < var > $password< / var > < / span > , < span > bool < var > $override< / var > = < span class = "php-kw" > false< / span > < / span > ): bool< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > Login< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > Login< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_login" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "logout" id = "_logout" >
< 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.cart.customer.html#143-160" title = "Go to source code" > logout< / a > (): void< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > Logout< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > Logout< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_logout" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "isLogged" id = "_isLogged" >
< 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.cart.customer.html#162-169" title = "Go to source code" > isLogged< / a > (): bool< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > isLogged< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > isLogged< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_isLogged" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "getId" id = "_getId" >
< 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.cart.customer.html#171-178" title = "Go to source code" > getId< / a > (): int< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > getId< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > getId< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_getId" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "getFirstName" id = "_getFirstName" >
< 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.cart.customer.html#180-187" title = "Go to source code" > getFirstName< / a > (): string< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > getFirstName< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > getFirstName< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_getFirstName" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "getLastName" id = "_getLastName" >
< 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.cart.customer.html#189-196" title = "Go to source code" > getLastName< / a > (): string< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > getLastName< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > getLastName< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_getLastName" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "getGroupId" id = "_getGroupId" >
< 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.cart.customer.html#198-205" title = "Go to source code" > getGroupId< / a > (): int< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > getGroupId< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > getGroupId< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_getGroupId" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "getEmail" id = "_getEmail" >
< 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.cart.customer.html#207-214" title = "Go to source code" > getEmail< / a > (): string< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > getEmail< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > getEmail< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_getEmail" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "getTelephone" id = "_getTelephone" >
< 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.cart.customer.html#216-223" title = "Go to source code" > getTelephone< / a > (): string< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > getTelephone< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > getTelephone< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_getTelephone" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "getNewsletter" id = "_getNewsletter" >
< 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.cart.customer.html#225-232" title = "Go to source code" > getNewsletter< / a > (): bool< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > getNewsletter< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > getNewsletter< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_getNewsletter" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "isSafe" id = "_isSafe" >
< 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.cart.customer.html#234-241" title = "Go to source code" > isSafe< / a > (): bool< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > isSafe< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > isSafe< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_isSafe" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "isCommenter" id = "_isCommenter" >
< 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.cart.customer.html#243-250" title = "Go to source code" > isCommenter< / a > (): bool< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > isCommenter< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > isCommenter< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_isCommenter" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "getAddressId" id = "_getAddressId" >
< 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.cart.customer.html#252-265" title = "Go to source code" > getAddressId< / a > (): int< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > getAddressId< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > getAddressId< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_getAddressId" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "getBalance" id = "_getBalance" >
< 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.cart.customer.html#267-276" title = "Go to source code" > getBalance< / a > (): float< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > getBalance< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > getBalance< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_getBalance" > #< / a >
< / td >
< / tr >
< tr class = "expandable collapsed" data-order = "getRewardPoints" id = "_getRewardPoints" >
< 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.cart.customer.html#278-287" title = "Go to source code" > getRewardPoints< / a > (): float< / code >
2024-03-04 22:57:28 +08:00
< div class = "expandable-collapsedView" >
< p > getRewardPoints< / p >
< / div >
< div class = "expandable-expandedView" >
< div class = "description" > < p > getRewardPoints< / p >
< / div >
< / div >
< / td >
< td class = "table-anchor" >
< a href = "#_getRewardPoints" > #< / 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 >