\cge_message

A simple class for storing and retrieving data between requests.

Summary

Methods
Properties
Constants
set()
get()
erase()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

set()

set(string $key, string $msg)

Set a message

Parameters

string $key
string $msg

get()

get(string $key, string $dflt, bool $erase) : string

Get a message

Parameters

string $key
string $dflt
bool $erase

Whether the data should be erased after retrieval.

Returns

string

erase()

erase(string $key)

Erase a message

Parameters

string $key