Пример #1
0
 public function init($args)
 {
     parent::init($args);
     if (isset($args['PERSON_CLASS'])) {
         $this->setPersonClass($args['PERSON_CLASS']);
     }
 }
 public function init($args)
 {
     parent::init($args);
     if (isset($args['EVENT_CLASS'])) {
         $this->setEventClass($args['EVENT_CLASS']);
     }
 }
 public function init($args)
 {
     parent::init($args);
     if (isset($args['SIMPLE_MODE'])) {
         $this->simpleMode = $args['SIMPLE_MODE'];
     }
 }
Пример #4
0
 public function init($args)
 {
     parent::init($args);
     if (isset($args['BASE_URL']) && $args['BASE_URL']) {
         $urlArray = parse_url($args['BASE_URL']);
         $this->baseUrl = $urlArray['scheme'] . "://" . $urlArray['host'];
         $this->relativeUrl = dirname($args['BASE_URL']);
     }
 }
Пример #5
0
 public function init($args)
 {
     parent::init($args);
     if (isset($args['EVENT_CLASS'])) {
         $this->setEventClass($args['EVENT_CLASS']);
     }
     if (isset($args['CALENDAR_CLASS'])) {
         $this->setCalendarClass($args['CALENDAR_CLASS']);
     }
 }
Пример #6
0
 public function init($args)
 {
     parent::init($args);
     $this->baseURL = $args['BASE_URL'];
     if (isset($args['ARCGIS_LAYER_ID'])) {
         $this->defaultLayerId = $args['ARCGIS_LAYER_ID'];
     }
     if (isset($args['ID_FIELD'])) {
         $this->idField = $args['ID_FIELD'];
     }
 }
Пример #7
0
 public function init($args)
 {
     parent::init($args);
     $this->baseURL = $args['BASE_URL'];
     if (isset($args['ARCGIS_LAYER_ID'])) {
         $this->defaultLayerId = $args['ARCGIS_LAYER_ID'];
     }
     if (isset($args['ID_FIELD'])) {
         $this->idField = $args['ID_FIELD'];
     }
     $this->category = array(mapIdForFeedData($args));
 }
Пример #8
0
 public function init($args)
 {
     parent::init($args);
     $this->feedId = mapIdForFeedData($args);
     if (isset($args['PLACEMARK_CLASS'])) {
         $this->placemarkClass = $args['PLACEMARK_CLASS'];
     } else {
         $this->placemarkClass = $this->DEFAULT_PLACEMARK_CLASS;
     }
     if (isset($args['TITLE_FIELD'])) {
         $this->configTitleField = $args['TITLE_FIELD'];
     }
     if (isset($args['SUBTITLE_FIELD'])) {
         $this->configSubtitleField = $args['SUBTITLE_FIELD'];
     }
 }
Пример #9
0
 public function init($args)
 {
     parent::init($args);
     $this->categoryId = mapIdForFeedData($args);
 }