Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
page.php
1
<?php
2
3
namespace
Bitrix\Seo\Analytics\Internals
;
4
5
class
Page
6
{
7
protected
$data
;
8
12
public
function
__construct
(array
$data
= [])
13
{
14
$this->
prepareData
(
$data
);
15
}
16
20
public
function
toArray
()
21
{
22
return
$this->data
;
23
}
24
28
public
function
getId
()
29
{
30
return
$this->data[
'id'
];
31
}
32
36
public
function
getName
()
37
{
38
return
$this->data[
'name'
];
39
}
40
44
public
function
getAbout
()
45
{
46
return
$this->data[
'about'
];
47
}
48
52
public
function
getImage
()
53
{
54
return
$this->data[
'image'
];
55
}
56
60
public
function
getPhone
()
61
{
62
return
$this->data[
'phone'
];
63
}
64
68
public
function
getEmail
()
69
{
70
return
$this->data[
'email'
];
71
}
72
76
protected
function
prepareData
(array
$data
)
77
{
78
$this->data = [
79
'id'
=> 0,
80
'name'
=>
null
,
81
'about'
=>
null
,
82
'image'
=>
null
,
83
'phone'
=>
null
,
84
'email'
=>
null
,
85
];
86
87
$this->data = array_merge($this->data,
$data
);
88
}
89
}
Bitrix\Seo\Analytics\Internals\Page
Definition
page.php:6
Bitrix\Seo\Analytics\Internals\Page\getEmail
getEmail()
Definition
page.php:68
Bitrix\Seo\Analytics\Internals\Page\getId
getId()
Definition
page.php:28
Bitrix\Seo\Analytics\Internals\Page\getImage
getImage()
Definition
page.php:52
Bitrix\Seo\Analytics\Internals\Page\getName
getName()
Definition
page.php:36
Bitrix\Seo\Analytics\Internals\Page\getPhone
getPhone()
Definition
page.php:60
Bitrix\Seo\Analytics\Internals\Page\getAbout
getAbout()
Definition
page.php:44
Bitrix\Seo\Analytics\Internals\Page\toArray
toArray()
Definition
page.php:20
Bitrix\Seo\Analytics\Internals\Page\$data
$data
Definition
page.php:7
Bitrix\Seo\Analytics\Internals\Page\__construct
__construct(array $data=[])
Definition
page.php:12
Bitrix\Seo\Analytics\Internals\Page\prepareData
prepareData(array $data)
Definition
page.php:76
Bitrix\Seo\Analytics\Internals
Definition
expenses.php:3
modules
seo
lib
analytics
internals
page.php
Создано системой
1.10.0