# \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
final

File
  lib/class.cge_message.php
Package
  \CGExtensions
Class hierarchy
  \cge_message

## Tags

deprected |
todo |

## Methods

### set()

    set(string $key, string $msg)

Set a message

#### Parameters

string | $key |
string | $msg |

#

static

## Tags

todo |

### 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

#

static

## Tags

todo |

### erase()

    erase(string $key)

Erase a message

#### Parameters

string | $key |

#

static

## Tags

todo |

### class.cge_message.php