Panel/SetCookieName

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{Func |Name=SetCookieName |Parent=Panel |Description= |Realm=Client |IsClass=Yes }}")
 
(Completed: Filled in description, args.)
Line 2: Line 2:
 
|Name=SetCookieName
 
|Name=SetCookieName
 
|Parent=Panel
 
|Parent=Panel
|Description=
+
|Description=Sets the name the panel object will use to store cookies. This can be retrieved using {{ClassFunction|Panel|GetCookieName}}. If the object has a ''LoadCookies()'' method, this will be called.
 
|Realm=Client
 
|Realm=Client
 
|IsClass=Yes
 
|IsClass=Yes
 +
}}
 +
{{Arg
 +
|type=string
 +
|name=panelCookieName
 +
|desc=The name that will be appended to the beginning of all cookies written by the panel object. The format used is as follows: <code>panelCookieName.individualCookieName</code>
 
}}
 
}}

Revision as of 18:50, 30 November 2014

 Panel:SetCookieName( )

Description

Sets the name the panel object will use to store cookies. This can be retrieved using Panel:GetCookieName. If the object has a LoadCookies() method, this will be called.

Arguments

string panelCookieName

The name that will be appended to the beginning of all cookies written by the panel object. The format used is as follows: panelCookieName.individualCookieName
Personal tools
Navigation