PEIP_Internal_Store_Abstract.php

Go to the documentation of this file.
00001 <?php
00002 
00003 /*
00004  * This file is part of the PEIP package.
00005  * (c) 2010 Timo Michna <timomichna/yahoo.de>
00006  * 
00007  * For the full copyright and license information, please view the LICENSE
00008  * file that was distributed with this source code.
00009  */
00010 
00021 abstract class PEIP_Internal_Store_Abstract {
00022 
00023     protected $internalValues = array();
00024     
00025     
00026     
00032     protected function hasInternalValue($key){
00033         return array_key_exists($key, $this->internalValues);
00034     }   
00035     
00036     
00042     protected function getInternalValue($key){
00043         return array_key_exists($key, $this->internalValues) ? $this->internalValues[$key] : NULL;
00044     }
00045     
00046     
00052     protected function deleteInternalValue($key){
00053         unset($this->internalValues[$offset]);
00054     }   
00055 
00056     
00063     protected function setInternalValue($key, $value){
00064         $this->internalValues[$key] = $value;
00065     }
00066     
00067     
00080     protected function setInternalValues(array $internalValues){
00081         $this->internalValues = $internalValues;        
00082     }
00083 
00084     
00095     protected function getInternalValues(){
00096         return $this->internalValues;
00097     }
00098 
00099     
00104     protected function addInternalValues(){
00105         array_merge($this->internalValues, $internalValues);
00106     }   
00107     
00108 }

Generated on Mon Apr 12 11:39:00 2010 for PEIP by  doxygen 1.5.1