PHP 클래스 IMP, horde

저자: Chuck Hagenbuch ([email protected])
저자: Jon Parise ([email protected])
저자: Michael Slusarz ([email protected])
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
filterText ( string $text ) : string Filters a string, if requested.
getInitialPage ( ) : object Returns the initial page for IMP.
numberFormat ( integer $number, integer $decimals ) : string Workaround broken number_format() prior to PHP 5.4.0.
parseAddressList ( mixed $in, array $opts = [] ) : Horde_Mail_Rfc822_List Wrapper around Horde_Mail_Rfc822#parseAddressList(). Ensures all addresses have a default mail domain appended.
sizeFormat ( integer $size ) : string Get size display information.

메소드 상세

filterText() 공개 정적인 메소드

Filters a string, if requested.
public static filterText ( string $text ) : string
$text string The text to filter.
리턴 string The filtered text (if requested).

getInitialPage() 공개 정적인 메소드

Returns the initial page for IMP.
public static getInitialPage ( ) : object
리턴 object Object with the following properties: - mbox (IMP_Mailbox) - url (Horde_Url)

numberFormat() 공개 정적인 메소드

Workaround broken number_format() prior to PHP 5.4.0.
public static numberFormat ( integer $number, integer $decimals ) : string
$number integer Number to format.
$decimals integer Number of decimals to display.
리턴 string See number_format().

parseAddressList() 공개 정적인 메소드

Wrapper around Horde_Mail_Rfc822#parseAddressList(). Ensures all addresses have a default mail domain appended.
public static parseAddressList ( mixed $in, array $opts = [] ) : Horde_Mail_Rfc822_List
$in mixed The address string or an address list object.
$opts array Options to override the default.
리턴 Horde_Mail_Rfc822_List See Horde_Mail_Rfc822#parseAddressList().

sizeFormat() 공개 정적인 메소드

Get size display information.
public static sizeFormat ( integer $size ) : string
$size integer The byte size of data.
리턴 string A formatted size string.