public function getParams()
    {
        $params = array(
            'start' => $this->start, 'pageLength' => $this->pageLength,
            'view' => $this->view, 'format' => $this->format
        );
        if(!empty($this->options)) {
            $params['options'] = $this->options;
        }
        if(!empty($this->collection)) {
            $params['collection'] = $this->collection;
        }
        if(!empty($this->directory)) {
            $params['directory'] = $this->directory;
        }
        return $params;
    }
public function getParams()
    {
        $params = array(
            'start' => $this->start, 'pageLength' => $this->pageLength,
            'view' => $this->view, 'format' => $this->format
        );
        if(!empty($this->options)) {
            $params['options'] = $this->options;
        }
        if(!empty($this->collection)) {
            $params['collection'] = $this->collection;
        }
        if(!empty($this->directory)) {
            $params['directory'] = $this->directory;
        }
        return $params;
    }
public function getParams ( ) { $ params = array ( 'start' => $ this -> start , 'pageLength' => $ this -> pageLength , 'view' => $ this -> view , 'format' => $ this -> format ) ; if ( ! empty ( $ this -> options ) ) { $ params [ 'options' ] = $ this -> options ; } if ( ! empty ( $ this -> collection ) ) { $ params [ 'collection' ] = $ this -> collection ; } if ( ! empty ( $ this -> directory ) ) { $ params [ 'directory' ] = $ this -> directory ; } return $ params ; }
Get the common search parameters as an associated array.

@return array An associated array of name/value pairs.
Get the common search parameters as an associated array .