Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
www
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
finnv
www
Commits
34e11dad
Commit
34e11dad
authored
Aug 14, 2023
by
Михаил Ливач
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
переформатировал код, добавил phpDoc
parent
a47c7676
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
1 deletion
+28
-1
section.php
...-scorp/components/bitrix/news/services-blocks/section.php
+28
-1
No files found.
bitrix/templates/aspro-scorp/components/bitrix/news/services-blocks/section.php
View file @
34e11dad
<?
if
(
!
defined
(
"B_PROLOG_INCLUDED"
)
||
B_PROLOG_INCLUDED
!==
true
)
die
();
?>
<?
if
(
!
defined
(
"B_PROLOG_INCLUDED"
)
||
B_PROLOG_INCLUDED
!==
true
)
die
();
?>
<?
$this
->
setFrameMode
(
true
);
?>
<?
$this
->
setFrameMode
(
true
);
?>
<?
<?
/**
* @var array $arParams
* @var array $arResult
* @var CBitrixComponent $component
* @global $APPLICATION
*/
// get section items count and subsections
// get section items count and subsections
$arItemFilter
=
CScorp
::
GetCurrentSectionElementFilter
(
$arResult
[
"VARIABLES"
],
$arParams
);
$arItemFilter
=
CScorp
::
GetCurrentSectionElementFilter
(
$arResult
[
"VARIABLES"
],
$arParams
);
$arSectionFilter
=
CScorp
::
GetCurrentSectionFilter
(
$arResult
[
"VARIABLES"
],
$arParams
);
$arSectionFilter
=
CScorp
::
GetCurrentSectionFilter
(
$arResult
[
"VARIABLES"
],
$arParams
);
$itemsCnt
=
CCache
::
CIblockElement_GetList
(
array
(
"CACHE"
=>
array
(
"TAG"
=>
CCache
::
GetIBlockCacheTag
(
$arParams
[
"IBLOCK_ID"
]))),
$arItemFilter
,
array
());
$itemsCnt
=
CCache
::
CIblockElement_GetList
(
array
(
"CACHE"
=>
array
(
"TAG"
=>
CCache
::
GetIBlockCacheTag
(
$arParams
[
"IBLOCK_ID"
]))),
$arItemFilter
,
array
());
$arSection
=
CCache
::
CIblockSection_GetList
(
array
(
"CACHE"
=>
array
(
"TAG"
=>
CCache
::
GetIBlockCacheTag
(
$arParams
[
"IBLOCK_ID"
]),
"MULTI"
=>
"N"
)),
$arSectionFilter
,
false
,
array
(
'ID'
,
'DESCRIPTION'
,
'PICTURE'
,
'DETAIL_PICTURE'
,
'NAME'
,
'UF_BLOCKS'
,
'UF_FIRST_SCREEN'
,
'UF_TABLE_PRICE'
,
'UF_SCHEME'
,
'UF_FAQ'
,
'UF_ADVANTAGES'
,
'UF_TITLE_ADVANTAGES'
,
'UF_ACTION'
),
true
);
$arSection
=
CCache
::
CIblockSection_GetList
(
array
(
"CACHE"
=>
array
(
"TAG"
=>
CCache
::
GetIBlockCacheTag
(
$arParams
[
"IBLOCK_ID"
]),
"MULTI"
=>
"N"
)
),
$arSectionFilter
,
false
,
array
(
'ID'
,
'DESCRIPTION'
,
'PICTURE'
,
'DETAIL_PICTURE'
,
'NAME'
,
'UF_BLOCKS'
,
'UF_FIRST_SCREEN'
,
'UF_TABLE_PRICE'
,
'UF_SCHEME'
,
'UF_FAQ'
,
'UF_ADVANTAGES'
,
'UF_TITLE_ADVANTAGES'
,
'UF_ACTION'
,
),
true
);
CScorp
::
AddMeta
(
CScorp
::
AddMeta
(
array
(
array
(
...
...
Михаил Ливач
@maus
mentioned in commit
11eb810b
·
Aug 18, 2023
mentioned in commit
11eb810b
mentioned in commit 11eb810bf21e0fda989f8d9d68e6baa5bd5cb31a
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment