public function lists($field)
    {
        $l = [];
        foreach ($this->results as $r) {
            $v = $r->get($field);
            if ($v and !$r->isRestricted($field)) {
                $l[] = $v;
            }
        }
        return $l;
    }
public function lists($field)
    {
        $l = [];
        foreach ($this->results as $r) {
            $v = $r->get($field);
            if ($v and !$r->isRestricted($field)) {
                $l[] = $v;
            }
        }
        return $l;
    }
public function lists ( $ field ) { $ l = [ ] ; foreach ( $ this -> results as $ r ) { $ v = $ r -> get ( $ field ) ; if ( $ v and ! $ r -> isRestricted ( $ field ) ) { $ l [ ] = $ v ; } } return $ l ; }
Returns an array containing the values from the given field

@param $field
@return array
Returns an array containing the values from the given field