class
Cookie
extends
Kohana_Cookie {}
|
<?php defined('SYSPATH') or die('No direct script access.');
/**
* session类扩展,增加flashdata方法
*
* @package modules/admin
* @category Controllers
* @author lmeng
*/
class Session extends Kohana_Session {
public function flashdata($message)
{
echo '你输入的信息是:'.$message;
exit;
}
/**
* Loads the raw session data string and returns it.
*
* @param string session id
* @return string
*/
protected function _read($id = NULL)
{
}
/**
* Generate a new session id and return it.
*
* @return string
*/
protected function _regenerate()
{
}
/**
* Writes the current session.
*
* @return boolean
*/
protected function _write()
{
}
/**
* Destroys the current session.
*
* @return boolean
*/
protected function _destroy()
{
}
/**
* Restarts the current session.
*
* @return boolean
*/
protected function _restart()
{
}
}
?>