/**
  * @inheritdoc
  */
 public function loadSettings($code = null)
 {
     $load = parent::loadSettings($code);
     if (!is_subclass_of($this->getSettings('HELPER'), '\\DigitalWand\\AdminHelper\\Helper\\AdminBaseHelper')) {
         throw new ArgumentTypeException('HELPER', '\\DigitalWand\\AdminHelper\\Helper\\AdminBaseHelper');
     }
     if (!is_array($this->getSettings('ADDITIONAL_URL_PARAMS'))) {
         throw new ArgumentTypeException('ADDITIONAL_URL_PARAMS', 'array');
     }
     return $load;
 }
 public function __construct(array $settings = array())
 {
     Loc::loadMessages(__FILE__);
     Loader::includeModule('iblock');
     parent::__construct($settings);
 }