コード例 #1
0
 public function __construct($aOptions = array())
 {
     parent::__construct();
     assert(class_exists('Spockz_Session_Model'));
     $this->options = array_merge($this->options, $aOptions);
     if ($this->read()) {
         $this->update();
     } else {
         $this->create();
     }
 }
コード例 #2
0
 public function set_flashdata($aKey, $aValue)
 {
     assert(!is_null($this->driver));
     return $this->driver->set_flashdata($aKey, $aValue);
 }