protected function setListProductCategory()
    {
        $options = $this->query_filter;
        $options['placeholder'] = true;

        $conditions = array(
                'limit' => $this->data_limit,
                'category_id' => $this->data_category['category_id']) + $this->query_filter;

        $this->data_products = $this->getProducts($conditions, $options);
    }
protected function setListProductCategory()
    {
        $options = $this->query_filter;
        $options['placeholder'] = true;

        $conditions = array(
                'limit' => $this->data_limit,
                'category_id' => $this->data_category['category_id']) + $this->query_filter;

        $this->data_products = $this->getProducts($conditions, $options);
    }
protected function setListProductCategory ( ) { $ options = $ this -> query_filter ; $ options [ 'placeholder' ] = true ; $ conditions = array ( 'limit' => $ this -> data_limit , 'category_id' => $ this -> data_category [ 'category_id' ] ) + $ this -> query_filter ; $ this -> data_products = $ this -> getProducts ( $ conditions , $ options ) ; }
Sets an array of products for the category
Sets an array of products for the category