mirror of
https://github.com/retailcrm/legacy.git
synced 2024-11-23 22:06:05 +03:00
Updated Примеры (markdown)
parent
c2978b3795
commit
54594b2b1f
20
Примеры.md
20
Примеры.md
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user