Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
basepacker.php
1
<?php
2
namespace
Bitrix\Bizproc\Workflow\Template\Packer
;
3
4
use
Bitrix\Bizproc\Workflow\Template\Tpl
;
5
6
abstract
class
BasePacker
7
{
13
abstract
public
function
makePackageData
(
Tpl
$tpl);
14
20
abstract
public
function
pack
(
Tpl
$tpl);
21
27
abstract
public
function
unpack
($data);
28
29
protected
function
compress
($data)
30
{
31
if
(function_exists(
"gzcompress"
))
32
{
33
$data = gzcompress($data, 9);
34
}
35
return
$data;
36
}
37
38
protected
function
uncompress
($data)
39
{
40
if
(is_string($data) && function_exists(
"gzuncompress"
))
41
{
42
$data = @gzuncompress($data);
43
}
44
return
$data;
45
}
46
}
Bitrix\Bizproc\Workflow\Template\Packer\BasePacker
Definition
basepacker.php:7
Bitrix\Bizproc\Workflow\Template\Packer\BasePacker\makePackageData
makePackageData(Tpl $tpl)
Bitrix\Bizproc\Workflow\Template\Packer\BasePacker\compress
compress($data)
Definition
basepacker.php:29
Bitrix\Bizproc\Workflow\Template\Packer\BasePacker\uncompress
uncompress($data)
Definition
basepacker.php:38
Bitrix\Bizproc\Workflow\Template\Packer\BasePacker\pack
pack(Tpl $tpl)
Bitrix\Bizproc\Workflow\Template\Packer\BasePacker\unpack
unpack($data)
Bitrix\Bizproc\Workflow\Template\Tpl
Definition
tpl.php:8
Bitrix\Bizproc\Workflow\Template\Packer
Definition
basepacker.php:2
modules
bizproc
lib
workflow
template
packer
basepacker.php
Создано системой
1.10.0