Cookie::get (method)

Return to Knowledgebase

Purpose

Get's the cookie and assigns it to a variable

Location

users/classes/Cookie.php

Parameters

This function does not take any arguments

Example

$cookie = Cookie::get('cookieName');

Further Documentation:

Gets cookie by name. Cookie name is set in init.php
$cookie = Cookie::get('pmqesoxiw318374csbx');