File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/modules/landing/lib/controller/landing.php
Back
<?php namespace Bitrix\Landing\Controller; use Bitrix\Landing\Landing as LandingCore; use Bitrix\Main\Engine\Controller; class Landing extends Controller { public function getDefaultPreFilters(): array { return [ new \Bitrix\Main\Engine\ActionFilter\Authentication(), new ActionFilter\Extranet() ]; } /** * Returns landing's data. * @param int $landingId Landing id. * @return array|null */ public function getByIdAction(int $landingId): ?array { $res = LandingCore::getList([ 'select' => [ '*' ], 'filter' => [ 'ID' => $landingId ] ]); if ($row = $res->fetch()) { $row['ADDITIONAL_FIELDS'] = LandingCore::getAdditionalFieldsAsArray($landingId); return $row; } return null; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.24 |
proxy
|
phpinfo
|
Settings