Revert c2978b3795548fdfa3567bf5d3fee825e094522e...8c251a8d3b986b7982d79deb35c277a7925d7fa6 on Примеры

Vitaly Artemev 2016-01-21 11:05:23 +03:00
parent 8c251a8d3b
commit 37baa06fed

@ -130,26 +130,6 @@ 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
@ -258,7 +238,7 @@ ORDER BY
``` ```
#####orders_last.sql #####orders_last.php
```sql ```sql
SELECT SELECT
@ -366,7 +346,7 @@ ORDER BY
``` ```
#####orders_uid.sql #####orders_uid.php
```sql ```sql
SELECT SELECT
@ -580,7 +560,7 @@ WHERE
``` ```
#####delivery_types.sql #####delivery_types.php
```sql ```sql
SELECT SELECT
@ -613,7 +593,7 @@ ORDER BY
#####PaymentTypesHandler.php #####PaymentTypesHandler.php
```php ```sql
<?php <?php
class PaymentTypesHandler implements HandlerInterface class PaymentTypesHandler implements HandlerInterface