예제 #1
0
 public function offsetExists($index)
 {
     if ($this->deepSelectorOption) {
         return \UArray::hasDeepSelector($this->getArrayCopy(), $index);
     }
     return parent::offsetExists($index);
 }
예제 #2
0
파일: Form.php 프로젝트: pixel418/eloq
 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);
         }
     }
 }