compared with
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (13)

View Page History
{zone-template-instance:ZFPROP:Proposal Zone Template}
Zend_Service_Buscape Zend\Service\Buscape

* Zend_\Exception
* Zend\Service

The component is instantiated with a mind-link that ...



* Milestone 1: \[DONE\] Finish the proposal
* Milestone 2: Proposal review
* Milestone 3: Update proposal
* Milestone 24: Unit tests, work, and are checked into SVN.
* Milestone 35: Initial documentation exists.

{card:label=UC 1: Find list of products}
{card:label=UC 2: Find list of offers}
$finder = $service->getFinder(Buscape::FIND_PRODUCT);
$productList = $finder->search('TV');
$offerFinder = $service->getFinder(Buscape::FIND_OFFER);
$offerLists = array();
foreach($productList as $product)
$offerLists[] = $offerFinder->search($product);
class Buscape extends Abstract{
const FIND_PRODUCT = 1;
const FIND_OFFER = 2;
public function __construct(array $options = array()){}