Search Feature

From GGBN Portal Software
Jump to: navigation, search

Search Form

  • 2 main controllers: Search & WebsiteSearch
    • Local WebsitesearchController extends CommonWebsitesearchController
    • Local SearchController

views/search/search.php

Contains some of the display specifications

  • website search tabs (e.g. GGBN) can be switched on/off in config/params.php
  • full code identical for WFO and GGBN; can be customized, but for updates this script should be kept generic

models/SearchForm.php

  • extends CommonSearchForm, but contains a lot of customized styling (e.g. labels of all form fields)

Retrieved from Common folder

  • views/search/mapSearch.php
  • views/search/searchFieldSelection.php