\LtCookie

Summary

Methods
Properties
Constants
__construct()
init()
delCookie()
getCookie()
setCookie()
$configHandle
No constants found
decrypt()
encrypt()
No protected properties found
N/A
No private methods found
$secretKey
N/A

Properties

$configHandle

$configHandle : 

Type

$secretKey

$secretKey : 

Type

Methods

__construct()

__construct() 

init()

init() 

delCookie()

delCookie(  $name,   $path = '/',   $domain = null) : boolean

Set cookie value to deleted with $name

Parameters

$name
$path
$domain

Returns

boolean

getCookie()

getCookie(string  $name) : mixed

Get cookie value with $name

Parameters

string $name

Returns

mixed

setCookie()

setCookie(  $name,   $value = '',   $expire = null,   $path = '/',   $domain = null,   $secure) : boolean

Set cookie

Parameters

$name
$value
$expire
$path
$domain
$secure

Returns

boolean

decrypt()

decrypt(string  $encryptedText) : string

Decrypt the encrypted cookie

Parameters

string $encryptedText

Returns

string

encrypt()

encrypt(string  $plainText) : string

Encrypt the cookie

Parameters

string $plainText

Returns

string