summaryrefslogtreecommitdiffstats
path: root/system/libraries/Session/Session.php
diff options
context:
space:
mode:
authorDarren Hill <dchill42@gmail.com>2011-09-01 13:36:26 +0200
committerDarren Hill <dchill42@gmail.com>2011-09-01 13:36:26 +0200
commita2ae6571e55d5a3d23645e96929eea996e9f0499 (patch)
tree652c681abb9555be0ca681290795532893ad04b8 /system/libraries/Session/Session.php
parent6fbf6bd1dfa2ef373fc8072c52f63446cdd00327 (diff)
Made private members protected for inheritance
Diffstat (limited to 'system/libraries/Session/Session.php')
-rwxr-xr-xsystem/libraries/Session/Session.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/system/libraries/Session/Session.php b/system/libraries/Session/Session.php
index dacc249c5..7c340ccca 100755
--- a/system/libraries/Session/Session.php
+++ b/system/libraries/Session/Session.php
@@ -38,10 +38,10 @@
* @author ExpressionEngine Dev Team
* @link http://codeigniter.com/user_guide/libraries/sessions.html
*/
-final class CI_Session extends CI_Driver_Library {
+class CI_Session extends CI_Driver_Library {
public $params = array();
- private $current = null;
- private $userdata = array();
+ protected $current = null;
+ protected $userdata = array();
const FLASHDATA_KEY = 'flash';
const FLASHDATA_NEW = ':new:';
@@ -415,10 +415,10 @@ final class CI_Session extends CI_Driver_Library {
* Identifies flashdata as 'old' for removal
* when _flashdata_sweep() runs.
*
- * @access private
+ * @access protected
* @return void
*/
- private function _flashdata_mark()
+ protected function _flashdata_mark()
{
$userdata = $this->all_userdata();
foreach ($userdata as $name => $value)
@@ -436,10 +436,10 @@ final class CI_Session extends CI_Driver_Library {
/**
* Removes all flashdata marked as 'old'
*
- * @access private
+ * @access protected
* @return void
*/
- private function _flashdata_sweep()
+ protected function _flashdata_sweep()
{
$userdata = $this->all_userdata();
foreach ($userdata as $key => $value)
@@ -454,10 +454,10 @@ final class CI_Session extends CI_Driver_Library {
/**
* Removes all expired tempdata
*
- * @access private
+ * @access protected
* @return void
*/
- private function _tempdata_sweep()
+ protected function _tempdata_sweep()
{
// Get expirations list
$expirations = $this->userdata(self::EXPIRATION_KEY);