PHP Класс Wicked_Page_Search, horde

Автор: Jan Schneider ([email protected])
Автор: Ben Chavet ([email protected])
Наследование: extends Wicked_Page
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$supportedModes array Display modes supported by this page.

Защищенные свойства (Protected)

Свойство Тип Описание
$_results array Cached search results.

Открытые методы

Метод Описание
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).

Описание методов

content() публичный Метод

Renders this page in content mode.
public content ( string $searchtext = '' ) : string
$searchtext string The title to search for.
Результат string The page content.

display() публичный Метод

Renders this page in display mode.
public display ( string $searchtext ) : string
$searchtext string The title to search for.
Результат string The content.

getContext() публичный Метод

public getContext ( $page, $searchtext )

pageName() публичный Метод

public pageName ( )

pageTitle() публичный Метод

public pageTitle ( )

preDisplay() публичный Метод

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

Описание свойств

$_results защищенное свойство

Cached search results.
protected array $_results
Результат array

$supportedModes публичное свойство

Display modes supported by this page.
public array $supportedModes
Результат array