protected function results()
    {
        $results = [];
        
        if (is_array($this->data)) {
            if ($this->singleMode) {
                if ($this->singleModeBottom) {
                    if (isset($this->data[0])) {
                        return [$this->singleResult($this->data[0], $this->singleMode)];
                    }
                }
            } else {
                foreach ($this->data as $data) {
                    $results[] = $this->singleResult($data, $this->singleMode);
                }
            }
        }
        
        return $results;
    }
protected function results()
    {
        $results = [];
        
        if (is_array($this->data)) {
            if ($this->singleMode) {
                if ($this->singleModeBottom) {
                    if (isset($this->data[0])) {
                        return [$this->singleResult($this->data[0], $this->singleMode)];
                    }
                }
            } else {
                foreach ($this->data as $data) {
                    $results[] = $this->singleResult($data, $this->singleMode);
                }
            }
        }
        
        return $results;
    }
protected function results ( ) { $ results = [ ] ; if ( is_array ( $ this -> data ) ) { if ( $ this -> singleMode ) { if ( $ this -> singleModeBottom ) { if ( isset ( $ this -> data [ 0 ] ) ) { return [ $ this -> singleResult ( $ this -> data [ 0 ] , $ this -> singleMode ) ] ; } } } else { foreach ( $ this -> data as $ data ) { $ results [ ] = $ this -> singleResult ( $ data , $ this -> singleMode ) ; } } } return $ results ; }
Renders the preselected data values.
@return array
Renders the preselected data values .