public function only(array $names, $default = null) {
        $var = [];
        
        foreach ($names as $in) {
            $var[$in] = isset($this->_requests[$in]) ? 
                $this->_requests[$in] :
                $default;
        }
        
        return $var;
    }
public function only(array $names, $default = null) {
        $var = [];
        
        foreach ($names as $in) {
            $var[$in] = isset($this->_requests[$in]) ? 
                $this->_requests[$in] :
                $default;
        }
        
        return $var;
    }
public function only ( array $ names , $ default = null ) { $ var = [ ] ; foreach ( $ names as $ in ) { $ var [ $ in ] = isset ( $ this -> _requests [ $ in ] ) ? $ this -> _requests [ $ in ] : $ default ; } return $ var ; }
Getting segments of inputs

@access  public
@param   array   $names   Input names
@param   mixed   $default    Default value (null)
@return  array
Getting segments of inputs