PHP 클래스 Wicked, horde

저자: Tyler Colbert ([email protected])
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
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.