PHP Class Wicked_Page_Search, horde

Author: Jan Schneider ([email protected])
Author: Ben Chavet ([email protected])
Inheritance: extends Wicked_Page
Afficher le fichier Open project: horde/horde

Méthodes publiques

Свойство Type Description
$supportedModes array Display modes supported by this page.

Protected Properties

Свойство Type Description
$_results array Cached search results.

Méthodes publiques

Méthode 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 méthode

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

display() public méthode

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

getContext() public méthode

public getContext ( $page, $searchtext )

pageName() public méthode

public pageName ( )

pageTitle() public méthode

public pageTitle ( )

preDisplay() public méthode

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

Property Details

$_results protected_oe property

Cached search results.
protected array $_results
Résultat array

$supportedModes public_oe property

Display modes supported by this page.
public array $supportedModes
Résultat array