Stud.IP  4.2 Revision
Search_ArchiveController Class Reference
Inheritance diagram for Search_ArchiveController:
Inheritance graph
Collaboration diagram for Search_ArchiveController:
Collaboration graph

Public Member Functions

 index_action ()
 
- Public Member Functions inherited from StudipController
 before_filter (&$action, &$args)
 
 perform ($unconsumed_path)
 
 after_filter ($action, $args)
 
 validate_args (&$args, $types=NULL)
 
 url_for ($to='')
 
 link_for ($to='')
 
 relocate ($to)
 
 rescue ($exception)
 
 render_json ($data)
 
 render_csv ($data, $filename=null, $delimiter=';', $enclosure='"')
 
 relay ($to_uri)
 
 perform_relayed ($unconsumed)
 
 render_template_as_string ($template, $layout=null)
 

Data Fields

const SEARCH_LIMIT = 150
 
const NEEDLE_MIN_LENGTH = 3
 

Additional Inherited Members

- Protected Attributes inherited from AuthenticatedController
 $with_session = true
 
 $allow_nobody = false
 
- Protected Attributes inherited from StudipController
 $with_session = false
 
 $allow_nobody = true
 

Member Function Documentation

◆ index_action()

index_action ( )

This action displays the main page of the archive search. It is also responsible for handling search requests and showing search results.

If a search returned more than SEARCH_LIMIT results a message is displayed informing the user that the search criteria must be more specific.

Here is the call graph for this function:

Field Documentation

◆ NEEDLE_MIN_LENGTH

const NEEDLE_MIN_LENGTH = 3

◆ SEARCH_LIMIT

const SEARCH_LIMIT = 150

The documentation for this class was generated from the following file: