SHARE
TWEET

Untitled

a guest Jan 24th, 2020 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top