Updated Примеры (markdown)

Vitaly Artemev 2016-01-12 14:50:20 +03:00
parent c2978b3795
commit 54594b2b1f

@ -130,6 +130,26 @@ class CategoriesHandler implements HandlerInterface
} }
``` ```
#####ExtendedOffersBuilder.php
```php
<?php
class ExtendedOffersBuilder extends Builder
{
public function buildCategories()
{
$query = $this->rule->getSQL('categories');
$handler = $this->rule->getHandler('CategoriesHandler');
$this->sql = $this->container->db->prepare($query);
return $this->build($handler);
}
}
```
##Выгрузка заказов ##Выгрузка заказов
#####orders.sql #####orders.sql