Esempio n. 1
0
 /**
  * Set an item in the array
  *
  * @param   int     $offset The offset of the item
  * @param   mixed   $value  The item's value
  * @return  object  ObjectArray
  */
 public function offsetSet($offset, $value)
 {
     apc_store($this->getNamespace() . '-class_' . $offset, $value);
     parent::offsetSet($offset, $value);
 }
Esempio n. 2
0
 /**
  * Set an item in the array
  *
  * @param   int     $offset The offset of the item
  * @param   mixed   $value  The item's value
  * @return  object  ObjectArray
  */
 public function offsetSet($offset, $value)
 {
     apc_store($this->_namespace . '-' . $offset, $value);
     parent::offsetSet($offset, $value);
 }