PHP Class Wicked_Page_Search, horde

Author: Jan Schneider ([email protected])
Author: Ben Chavet ([email protected])
Inheritance: extends Wicked_Page
Show file Open project: horde/horde

Public Properties

Property Type Description
$supportedModes array Display modes supported by this page.

Protected Properties

Property Type Description
$_results array Cached search results.

Public Methods

Method Description
content ( string $searchtext = '' ) : string Renders this page in content mode.
display ( string $searchtext ) : string Renders this page in display mode.
getContext ( $page, $searchtext )
pageName ( )
pageTitle ( )
preDisplay ( $mode, $params ) Perform any pre-display checks for permissions, searches, etc. Called before any output is sent so the page can do redirects. If the page wants to take control of flow from here, it can, and is entirely responsible for handling the user (should call exit after redirecting, for example).

Method Details

content() public method

Renders this page in content mode.
public content ( string $searchtext = '' ) : string
$searchtext string The title to search for.
return string The page content.

display() public method

Renders this page in display mode.
public display ( string $searchtext ) : string
$searchtext string The title to search for.
return string The content.

getContext() public method

public getContext ( $page, $searchtext )

pageName() public method

public pageName ( )

pageTitle() public method

public pageTitle ( )

preDisplay() public method

$param integer $mode The page render mode. $param array $params Any page parameters.
public preDisplay ( $mode, $params )

Property Details

$_results protected property

Cached search results.
protected array $_results
return array

$supportedModes public property

Display modes supported by this page.
public array $supportedModes
return array