SproutCMS

This is the code documentation for the SproutCMS project

function getOnce()

Get a variable, and delete it.

Usage

mixed Session::getOnce ( string $key [, mixed $default ] );

Arguments

  1. string $key
    variable key
  2. mixed $default = FALSE
    default value returned if variable does not exist

Return value

  • mixed