Revision Difference
Panel:GetCookie#510535
<function name="GetCookie" parent="Panel" type="classfunc">⤶
<description>⤶
Gets the value of a cookie stored by the panel object. This can also be done with <page>cookie.GetString</page>, using the panel's cookie name, a fullstop, and then the actual name of the cookie.⤶
⤶
Make sure the panel's cookie name has not changed since writing, or the cookie will not be accessible. This can be done with <page>Panel:GetCookieName</page> and <page>Panel:SetCookieName</page>.⤶
</description>⤶
<realm>Client</realm>⤶
<args>⤶
<arg name="cookieName" type="string">The name of the cookie from which to retrieve the value.</arg>⤶
<arg name="default" type="string">The default value to return if the cookie does not exist.</arg>⤶
</args>⤶
<rets>⤶
<ret name="" type="string">The value of the stored cookie, or the default value should the cookie not exist.</ret>⤶
</rets>⤶
</function>⤶
⤶