Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace Kalamov\Components\Router\Controllers;
- use Kalamov\Helpers\Common;
- use Kalamov\Helpers\Element;
- use Kalamov\Helpers\Iblock;
- use Kalamov\Helpers\Preg;
- class ContactsController extends BaseController
- {
- public function __construct(array $section)
- {
- parent::__construct($section);
- $this->setRouteProperties();
- }
- public function getData(): array
- {
- $result = [
- ];
- return $result;
- }
- protected function setRouteProperties(): BaseController
- {
- parent::setRouteProperties();
- global $APPLICATION;
- $APPLICATION->SetPageProperty('additional_class_1', 'page-invert');
- return $this;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement