PHP Класс Wicked, horde

Автор: Tyler Colbert ([email protected])
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
addFeedLink ( )
getCAPTCHA ( boolean $new = false ) : string Generate a CAPTCHA string.
lockUser ( ) : string Returns the user name that is used for locking, either the current user or the current IP address.
mail ( string $message, array $headers = [] ) Mails a notification message after encoding the headers and adding the standard username/time line.
setTopbar ( ) Sets the topbar up.
url ( string $page, boolean $full = false, integer $append_session ) : Horde_Url Puts together the URL to a Wicked page. Uses mod_rewrite or GET style URLs depending on configuration.

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

getCAPTCHA() публичный статический Метод

Generate a CAPTCHA string.
public static getCAPTCHA ( boolean $new = false ) : string
$new boolean If true, a new CAPTCHA is created and returned. The current, to-be-confirmed string otherwise.
Результат string A CAPTCHA string.

lockUser() публичный статический Метод

Returns the user name that is used for locking, either the current user or the current IP address.
public static lockUser ( ) : string
Результат string The user name used for locking.

mail() публичный статический Метод

Mails a notification message after encoding the headers and adding the standard username/time line.
public static mail ( string $message, array $headers = [] )
$message string The message text to send out.
$headers array Additional headers to add to the email.

setTopbar() публичный статический Метод

Sets the topbar up.
public static setTopbar ( )

url() публичный статический Метод

Puts together the URL to a Wicked page. Uses mod_rewrite or GET style URLs depending on configuration.
public static url ( string $page, boolean $full = false, integer $append_session ) : Horde_Url
$page string The name of the page to target.
$full boolean @see Horde::url()
$append_session integer @see Horde::url()
Результат Horde_Url The URL of $page.