PHP 클래스 IMP_Contents_View, horde

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

보호된 프로퍼티들

프로퍼티 타입 설명
$_contents IMP_Contents

공개 메소드들

메소드 설명
__construct ( IMP_Indices $indices )
addToken ( array $params = [] ) : array Adds the view token to a parameter list.
checkToken ( Horde_Variables $vars ) Check for a download token.
downloadAll ( )
downloadAttach ( $id )
downloadRender ( $id, $mode, $ctype = null )
downloadUrl ( string $filename, array $params = [] ) : Horde_Url Returns a URL to be used for downloading data.
printAttach ( $id )
saveMessage ( )
viewAttach ( $id, $mode, $autodetect = false, $ctype = null )
viewSource ( )

보호된 메소드들

메소드 설명
_getRawDownloadPart ( string $id ) : Horde_Mime_Part Get a MIME Part for use in creating download.

메소드 상세

__construct() 공개 메소드

public __construct ( IMP_Indices $indices )
$indices IMP_Indices

_getRawDownloadPart() 보호된 메소드

Get a MIME Part for use in creating download.
protected _getRawDownloadPart ( string $id ) : Horde_Mime_Part
$id string MIME ID.
리턴 Horde_Mime_Part MIME part, or null on error.

addToken() 공개 정적인 메소드

Adds the view token to a parameter list.
public static addToken ( array $params = [] ) : array
$params array URL parameters.
리턴 array Parameter list with token added.

checkToken() 공개 메소드

Check for a download token.
public checkToken ( Horde_Variables $vars )
$vars Horde_Variables Form variables.

downloadAll() 공개 메소드

public downloadAll ( )

downloadAttach() 공개 메소드

public downloadAttach ( $id )

downloadRender() 공개 메소드

public downloadRender ( $id, $mode, $ctype = null )

downloadUrl() 공개 정적인 메소드

IMP adds token data, since the data displayed is coming from a remote source.
public static downloadUrl ( string $filename, array $params = [] ) : Horde_Url
$filename string The filename of the download data.
$params array Additional URL parameters needed.
리턴 Horde_Url The download URL.

printAttach() 공개 메소드

public printAttach ( $id )

saveMessage() 공개 메소드

public saveMessage ( )

viewAttach() 공개 메소드

public viewAttach ( $id, $mode, $autodetect = false, $ctype = null )

viewSource() 공개 메소드

public viewSource ( )

프로퍼티 상세

$_contents 보호되어 있는 프로퍼티

protected IMP_Contents $_contents
리턴 IMP_Contents