public function getItems($product_id)
    {
        $product_ids = array();
        foreach ($this->getList(array('product_id' => $product_id)) as $item) {
            $product_ids[] = $item['item_product_id'];
        }

        return $product_ids;
    }
public function getItems($product_id)
    {
        $product_ids = array();
        foreach ($this->getList(array('product_id' => $product_id)) as $item) {
            $product_ids[] = $item['item_product_id'];
        }

        return $product_ids;
    }
public function getItems ( $ product_id ) { $ product_ids = array ( ) ; foreach ( $ this -> getList ( array ( 'product_id' => $ product_id ) ) as $ item ) { $ product_ids [ ] = $ item [ 'item_product_id' ] ; } return $ product_ids ; }
Returns an array of bundled product IDs for the product
@param int $product_id
@return array
Returns an array of bundled product IDs for the product