public function offsetGet($index) { if (!$this->has($index)) { $this->undefinedIndexAcces($index); return NULL; } if ($this->deepSelectorOption) { return \UArray::getDeepSelector($this->getArrayCopy(), $index); } return parent::offsetGet($index); }
protected function initFetchValues() { foreach ($this->inputs as $input) { $population = $this->getPopulation($input->populationType); if (\UArray::hasDeepSelector($population, $input->address)) { $input->isActive = TRUE; $input->fetchValue = \UArray::getDeepSelector($population, $input->address); } } }