Advertisement
Guest User

Untitled

a guest
Jan 24th, 2020
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.72 KB | None | 0 0
  1. <?php
  2. namespace Kalamov\Components\Router\Controllers;
  3.  
  4. use Kalamov\Helpers\Common;
  5. use Kalamov\Helpers\Element;
  6. use Kalamov\Helpers\Iblock;
  7. use Kalamov\Helpers\Preg;
  8.  
  9. class ContactsController extends BaseController
  10. {
  11.     public function __construct(array $section)
  12.     {
  13.         parent::__construct($section);
  14.  
  15.         $this->setRouteProperties();
  16.     }
  17.  
  18.     public function getData(): array
  19.     {
  20.         $result = [
  21.         ];
  22.  
  23.         return $result;
  24.     }
  25.  
  26.     protected function setRouteProperties(): BaseController
  27.     {
  28.         parent::setRouteProperties();
  29.  
  30.         global $APPLICATION;
  31.  
  32.         $APPLICATION->SetPageProperty('additional_class_1', 'page-invert');
  33.  
  34.         return $this;
  35.     }
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement