Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
schema.php
1
<?php
2
namespace
Bitrix\Sale\Helpers\Admin\Blocks\Archive
;
3
4
use
Bitrix\Sale
;
5
6
abstract
class
Schema
7
{
8
protected
$order
;
9
13
function
__construct
()
14
{
15
}
16
24
public
function
getBlocks(
Sale
\
Order
$order
)
25
{
26
$html = array();
27
$blockList = $this->
collectBlocks
();
28
30
foreach
($blockList as $blockName)
31
{
32
$block =
new
$blockName;
33
$block->setOrder(
$order
);
34
$html[$block->getName()] = $block->buildBlock();
35
unset($block);
36
}
37
return
$html;
38
}
39
43
abstract
protected
function
collectBlocks
();
44
}
Bitrix\Sale\Helpers\Admin\Blocks\Archive\Schema
Definition
schema.php:7
Bitrix\Sale\Helpers\Admin\Blocks\Archive\Schema\__construct
__construct()
Definition
schema.php:13
Bitrix\Sale\Helpers\Admin\Blocks\Archive\Schema\$order
$order
Definition
schema.php:8
Bitrix\Sale\Helpers\Admin\Blocks\Archive\Schema\collectBlocks
collectBlocks()
Bitrix\Sale\Helpers\Order
Definition
order.php:10
Bitrix\Sale\Helpers\Admin\Blocks\Archive
Definition
schema.php:2
Bitrix\Sale
Sale
modules
sale
lib
helpers
admin
blocks
archive
schema.php
Создано системой
1.10.0