fuel/fuel/core/classes/session/driver.php
public function set_flash($name, $value)
	{
		if (strpos($name, '.') !== false)
		{
			$keys = explode('.', $name, 2);
			$name = array_shift($keys);
		}
		else
		{
			$keys = false;
		}

		if ($keys)
		{
			if (isset($this->flash[$this->config['flash_id'].'::'.$name]['value']))
			{
				$this->flash[$this->config['flash_id'].'::'.$name]['state'] = 'new';
			}
			else
			{
				$this->flash[$this->config['flash_id'].'::'.$name] = array('state' => 'new', 'value' => array());
			}
			\Arr::set($this->flash[$this->config['flash_id'].'::'.$name]['value'], $keys[0], $value);
		}
		else
		{
			$this->flash[$this->config['flash_id'].'::'.$name] = array('state' => 'new', 'value' => $value);
		}

		return $this;
	}
public function set_flash($name, $value)
	{
		if (strpos($name, '.') !== false)
		{
			$keys = explode('.', $name, 2);
			$name = array_shift($keys);
		}
		else
		{
			$keys = false;
		}

		if ($keys)
		{
			if (isset($this->flash[$this->config['flash_id'].'::'.$name]['value']))
			{
				$this->flash[$this->config['flash_id'].'::'.$name]['state'] = 'new';
			}
			else
			{
				$this->flash[$this->config['flash_id'].'::'.$name] = array('state' => 'new', 'value' => array());
			}
			\Arr::set($this->flash[$this->config['flash_id'].'::'.$name]['value'], $keys[0], $value);
		}
		else
		{
			$this->flash[$this->config['flash_id'].'::'.$name] = array('state' => 'new', 'value' => $value);
		}

		return $this;
	}
public function set_flash ( $ name , $ value ) { if ( strpos ( $ name , '.' ) !== false ) { $ keys = explode ( '.' , $ name , 2 ) ; $ name = array_shift ( $ keys ) ; } else { $ keys = false ; } if ( $ keys ) { if ( isset ( $ this -> flash [ $ this -> config [ 'flash_id' ] . '::' . $ name ] [ 'value' ] ) ) { $ this -> flash [ $ this -> config [ 'flash_id' ] . '::' . $ name ] [ 'state' ] = 'new' ; } else { $ this -> flash [ $ this -> config [ 'flash_id' ] . '::' . $ name ] = array ( 'state' => 'new' , 'value' => array ( ) ) ; } \ Arr :: set ( $ this -> flash [ $ this -> config [ 'flash_id' ] . '::' . $ name ] [ 'value' ] , $ keys [ 0 ] , $ value ) ; } else { $ this -> flash [ $ this -> config [ 'flash_id' ] . '::' . $ name ] = array ( 'state' => 'new' , 'value' => $ value ) ; } return $ this ; }
set session flash variables

@param	string	name of the variable to set
@param	mixed	value
@access	public
@return	Fuel\Core\Session_Driver
set session flash variables