src/DreamCommerce/ShopAppstoreLib/Resource.php
protected function getCriteria()
    {
        $result = array();

        if($this->filters){
            $result['filters'] = $this->filters;
        }

        if($this->limit!==null){
            $result['limit'] = $this->limit;
        }

        if($this->order!==null){
            $result['order'] = $this->order;
        }

        if($this->page!==null){
            $result['page'] = $this->page;
        }

        return $result;
    }
protected function getCriteria()
    {
        $result = array();

        if($this->filters){
            $result['filters'] = $this->filters;
        }

        if($this->limit!==null){
            $result['limit'] = $this->limit;
        }

        if($this->order!==null){
            $result['order'] = $this->order;
        }

        if($this->page!==null){
            $result['page'] = $this->page;
        }

        return $result;
    }
protected function getCriteria ( ) { $ result = array ( ) ; if ( $ this -> filters ) { $ result [ 'filters' ] = $ this -> filters ; } if ( $ this -> limit !== null ) { $ result [ 'limit' ] = $ this -> limit ; } if ( $ this -> order !== null ) { $ result [ 'order' ] = $ this -> order ; } if ( $ this -> page !== null ) { $ result [ 'page' ] = $ this -> page ; } return $ result ; }
get an array with specified criteria
@return array
get an array with specified criteria