Skip to content

Searchcontroller

wimmer edited this page Jan 15, 2013 · 2 revisions

The SearchController is responsible for the search and matchmaking component in the sidebar.

  • ###init() Sets the title

  • ###indexAction() Redirects to the target

  • ###resultAction() Calls Model methods to get the search result and pass it to the view.

  • ###encodeParam(&$value, &$key) Encodes the parameters value and key to make them safe.

  • ###searchUserByFilter() Searchs for users, which match the filter. Filter is passed over request parameter

  • ###searchContentByFilter() Searchs for contents, which match the filter. Filter is passed over request parameter

  • ###searchGroupByFilter() Searchs for Group, which match the filter. Filter is passed over request parameter

  • ###matchingUsers() Gets the users which match to the attributes, job, location of the user, which is logged in.

Clone this wiki locally