mirror of
https://github.com/retailcrm/legacy.git
synced 2024-11-23 22:06:05 +03:00
Revert c2978b3795548fdfa3567bf5d3fee825e094522e...8c251a8d3b986b7982d79deb35c277a7925d7fa6 on Примеры
parent
8c251a8d3b
commit
37baa06fed
28
Примеры.md
28
Примеры.md
@ -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
|
||||
@ -258,7 +238,7 @@ ORDER BY
|
||||
|
||||
```
|
||||
|
||||
#####orders_last.sql
|
||||
#####orders_last.php
|
||||
|
||||
```sql
|
||||
SELECT
|
||||
@ -366,7 +346,7 @@ ORDER BY
|
||||
|
||||
```
|
||||
|
||||
#####orders_uid.sql
|
||||
#####orders_uid.php
|
||||
|
||||
```sql
|
||||
SELECT
|
||||
@ -580,7 +560,7 @@ WHERE
|
||||
|
||||
```
|
||||
|
||||
#####delivery_types.sql
|
||||
#####delivery_types.php
|
||||
|
||||
```sql
|
||||
SELECT
|
||||
@ -613,7 +593,7 @@ ORDER BY
|
||||
|
||||
#####PaymentTypesHandler.php
|
||||
|
||||
```php
|
||||
```sql
|
||||
<?php
|
||||
|
||||
class PaymentTypesHandler implements HandlerInterface
|
||||
|
Loading…
Reference in New Issue
Block a user