Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
module.php
1
<?php
2
3
namespace
Bitrix\Main\Web\WebPacker
;
4
10
class
Module
11
{
13
protected
$name
;
14
16
protected
$package
;
17
19
protected
$profile
;
20
28
public
function
__construct
(
$name
, Resource\Package
$package
=
null
, Resource\Profile
$profile
=
null
)
29
{
30
$this->name =
$name
;
31
32
if
(
$package
)
33
{
34
$this->
package
= $package;
35
}
36
if
(
$profile
)
37
{
38
$this->profile =
$profile
;
39
}
40
}
41
47
public
function
getName
()
48
{
49
return
$this->name
;
50
}
51
58
public
function
setPackage
(Resource\Package
$package
)
59
{
60
$this->
package
= $package;
61
return
$this;
62
}
63
69
public
function
getPackage
()
70
{
71
return
$this->package
;
72
}
73
80
public
function
setProfile
(Resource\Profile
$profile
)
81
{
82
$this->profile =
$profile
;
83
return
$this;
84
}
85
91
public
function
getProfile
()
92
{
93
return
$this->profile
;
94
}
95
101
public
function
__toString
()
102
{
103
return
$this->
getName
();
104
}
105
}
Bitrix\Main\Web\WebPacker\Module
Definition
module.php:11
Bitrix\Main\Web\WebPacker\Module\getPackage
getPackage()
Definition
module.php:69
Bitrix\Main\Web\WebPacker\Module\setProfile
setProfile(Resource\Profile $profile)
Definition
module.php:80
Bitrix\Main\Web\WebPacker\Module\setPackage
setPackage(Resource\Package $package)
Definition
module.php:58
Bitrix\Main\Web\WebPacker\Module\getName
getName()
Definition
module.php:47
Bitrix\Main\Web\WebPacker\Module\__construct
__construct($name, Resource\Package $package=null, Resource\Profile $profile=null)
Definition
module.php:28
Bitrix\Main\Web\WebPacker\Module\$name
$name
Definition
module.php:13
Bitrix\Main\Web\WebPacker\Module\__toString
__toString()
Definition
module.php:101
Bitrix\Main\Web\WebPacker\Module\$profile
$profile
Definition
module.php:19
Bitrix\Main\Web\WebPacker\Module\$package
$package
Definition
module.php:16
Bitrix\Main\Web\WebPacker\Module\getProfile
getProfile()
Definition
module.php:91
Bitrix\Main\Web\WebPacker
Definition
builder.php:3
modules
main
lib
web
webpacker
module.php
Создано системой
1.10.0