Get value

@param string  $key   key/name
@param integer $pageI page index

@return mixed
971034
public function getValue($key, $pageI = null)
    {
        $this->debug->group(__METHOD__);
        if ($pageI === null) {
            $pageI = $this->persist->get('i');
        }
        $val = $this->persist->get('pages/'.$pageI.'/values/'.$key);
        $this->debug->groupEnd();
        return $val;
    }
1127057
public function get($key)
    {
        $file=$this->getCacheDir().$key;
        if(file_exists($file)){
            $content=file_get_contents($file);
            $content=unserialize($content);
            return $content;
        }
        return null;
    }
1321425
public function retrieve($key)
    {
      // Get value by key
      $value = $this->redis->get($key);

      if($value === false)
        return null;

      return $value;
    }
813010
function &get($key) {
		if ($key=='_id')
			return $this->_id;
		elseif (array_key_exists($key,$this->fields))
			return $this->fields[$key]['value'];
		elseif (array_key_exists($key,$this->adhoc))
			return $this->adhoc[$key]['value'];
		elseif (array_key_exists($key,$this->props))
			return $this->props[$key];
		user_error(sprintf(self::E_Field,$key),E_USER_ERROR);
	}
789007
function read($key)
    {
        if (array_key_exists($key, $this->cache)) {
            return $this->cache[$key];
        }

        return $this->read_record($key, true);
    }
517191
protected function fetchValue($key, $searchKey = null)
    {
        $object = $this->cache->get($key);

        if (is_null($object)) {
            return null;
        }

        return $searchKey ? array_get($object, $searchKey, null) : $object;
    }
1194862
public function get($key)
    {
        if( isset($this->values[$key]) ) {
            return $this->values[$key];
        } else {
            return null;
        }
    }
1069172
public static function getComponentByPageId($component, $page_id)
    {
        $page_id = (int)$page_id;
        $component = sql_prepare($component);

        $cache_key = 'components_' . $page_id . '_c_' . $component;
        $res = NULL;

        if (Settings::isCacheEnabled()) {
            $res = Cacher::getInstance()->getDefaultCacher()->get($cache_key);

            // Set from cache
            if ($res) {
                return $res;
            }
        }

        // Get from DB
        $res = NULL;
        /** @var PageComponentHistory $page */
        $page = PageComponentEntityRepository::findOneEntityByCriteria([
            'page_id' => $page_id,
            'component' => $component
        ]);

        if ($page) {
            $res = $page->getData();
        }

        // Save to cache
        if (Settings::isCacheEnabled()) {
            Cacher::getInstance()->getDefaultCacher()->set($cache_key, $res);
        }

        return $res;
    }
395308
public function GetValue($key) {
        $resources = $this->GetList();
        $actionLower = strtolower($this->ActionValue);
        $keyLower = strtolower($key);
        $actionExists = array_key_exists($actionLower, $resources);
        $keyExist = $actionExists ?
                array_key_exists($keyLower, $resources[$actionLower]) :
                false;
        if ($keyExist) {
            return $resources[$actionLower][$keyLower][F_controller_resource::F_CONTROLLER_RESOURCE_VALUE];
        } else {
//            $errMsg = 
//                    "The resource value doesn't exist. Module => " . 
//                    $this->ModuleValue . 
//                    " ; Action => " . 
//                    $this->ActionValue .
//                    "; Key => " . $key;
//            throw new Classes\ResourceNotFoundException($errMsg, ResourceErrors::RESOURCE_VALUE_NOT_FOUND, null);
            return "???";
        }
    }
72227
public function get($key)
    {
        if ($key instanceof UniqueId) {
            $key = $key->id();
        }

        return $this->elements->get($key);
    }
726456
def _getitem(self, key):
        """"""
        key = int(key)
        if key < 0:
            key %= self._len
        if len(self._pages) == 1 and 0 < key < self._len:
            index = self._pages[0].index
            return self.parent.pages._getitem(index + key)
        return self._pages[key]
713835
public function getValue($key)
    {
        if (!isset($this->values[$key])) {
            return null;
        }
        return $this->values[$key];
    }
843435
function &offsetget($key) {
		if (Base::instance()->visible($this,$key))
			$val=&$this->$key;
		else
			$val=&$this->get($key);
		return $val;
	}
906857
private function get( $key )
	{
		if ( isset($this->serverData[ $key ]) )
		{
			return $this->serverData[ $key ];
		}
		else
		{
			return null;
		}
	}
684381
public function getValue($key){
		$this->loadCurrent();
		
		return $this->translator->getValue($this->current, $this->document, $key);
	}
1300999
public function get($key)
    {
        if (!$this->hasApc) {
            // @codeCoverageIgnoreStart
            return false;
            // @codeCoverageIgnoreEnd
        }

        $record = apc_fetch($key, $found);
        if ($found) {
            return $record;
        }

        return false;
    }
364688
public function getByKey($key, array $queryParams = [])
    {
        $response = $this->client->get($this->uri($key), [
            'query' => $queryParams,
        ]);

        return $this->handleResponse($response);
    }