Cookie
in package
FinalYes
Table of Contents
Constants
- CONTAINER = 'container'
Properties
- $cookieKeys : array<string|int, mixed>
Methods
- getJson() : string|int|null
- Sets and fills the cookie 'container' with json name:value
- setJson() : bool
- fetchCookieContainer() : mixed
- getCookieSettings() : array<string|int, mixed>
- retrieveCookieValue() : array<string|int, mixed>
Constants
CONTAINER
private
mixed
CONTAINER
= 'container'
Properties
$cookieKeys
private
static array<string|int, mixed>
$cookieKeys
= [
'allPartyNews',
'breakout',
'ckCSS',
'ckCSSMember',
'ckForumView',
'ckInfoOff',
'ckMemberTimeLog',
'getnewflyerimg',
'getnewparty',
'getnewmeeting',
'getnewphotos',
'getnewreport',
'getBirthdays',
'getInform',
'getNewMember',
'getPartiesNext',
'getPartiesPast',
'getPartyVisit',
'getPhotos',
'getThreadVisit',
'getVisit',
'infoDonate',
// on/off
'infoStickyNo',
'isDonOK',
'lang',
'member-info',
'newflyer',
'newflyerimg',
'newlink',
'newmeeting',
'newparty',
'newparty_photos',
'newphotos',
'newreport',
'open-add-img',
'open-add-link',
'open-add-poll',
'open-members-written',
'open-modbox',
'ord',
'pageinfo',
// if on, show no text
'setLgOff',
'setSize',
'setToTopOff',
'shoutbox',
'show_content-entryInfo',
'show_content-forum_cats',
'show_content-georadius',
'show_content-links',
'show_content-member-login',
'show_content-member-tags-form',
'show_content-member_search_options',
'show_content-member_tagcloud',
'show_content-party_tags',
'show_content-search_extend',
'show_content-timeline',
'snake',
'spaceinvaders',
'tetris',
'thread_search',
'vmap',
'vmap_member',
'vmap_past',
]
Methods
getJson()
Sets and fills the cookie 'container' with json name:value
public
static getJson(string $name) : string|int|null
If the value is empty, it deletes the name:val pair
Parameters
- $name : string
Return values
string|int|null —- null if bot
setJson()
public
static setJson(array<string|int, mixed> $saCookies) : bool
Parameters
- $saCookies : array<string|int, mixed>
Return values
boolfetchCookieContainer()
private
static fetchCookieContainer() : mixed
getCookieSettings()
private
static getCookieSettings() : array<string|int, mixed>
Return values
array<string|int, mixed>retrieveCookieValue()
private
static retrieveCookieValue() : array<string|int, mixed>