PHP 클래스 Wicked_Page_StandardPage, horde

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

공개 프로퍼티들

프로퍼티 타입 설명
$supportedModes array Display modes supported by this page.

보호된 프로퍼티들

프로퍼티 타입 설명
$_lock array Lock information if this page is currently locked.
$_locks Horde_Lock A Horde_Locks instance for un-/locking this page.

공개 메소드들

메소드 설명
__construct ( string $pagename ) Constructs a standard page class to represent a wiki page.
allows ( integer $mode ) : boolean Returns if the page allows a mode. Access rights and user state are taken into consideration.
changeLog ( )
diff ( string $version ) Renders this page in diff mode.
displayContents ( $isBlock )
getDiff ( string $version, string $renderer = 'unified' ) Produces a diff for this page.
getLockRequestor ( )
getLockTime ( )
getText ( )
history ( ) : string Renders this page in History mode.
hits ( )
isLocked ( $owner = null )
lock ( )
pageID ( )
pageName ( )
unlock ( )
updateText ( $newtext, $changelog )
version ( )
versionCreated ( )

보호된 메소드들

메소드 설명
_setViewProperties ( $view, $page )

메소드 상세

__construct() 공개 메소드

Constructs a standard page class to represent a wiki page.
public __construct ( string $pagename )
$pagename string The name of the page to represent.

_setViewProperties() 보호된 메소드

protected _setViewProperties ( $view, $page )

allows() 공개 메소드

Returns if the page allows a mode. Access rights and user state are taken into consideration.
public allows ( integer $mode ) : boolean
$mode integer The mode to check for.
리턴 boolean True if the mode is allowed.

changeLog() 공개 메소드

public changeLog ( )

diff() 공개 메소드

Renders this page in diff mode.
public diff ( string $version )
$version string The version to diff this page against.

displayContents() 공개 메소드

public displayContents ( $isBlock )

getDiff() 공개 메소드

Produces a diff for this page.
public getDiff ( string $version, string $renderer = 'unified' )
$version string Previous version, or null if diffing with `before the beginning' (empty).
$renderer string The diff renderer.

getLockRequestor() 공개 메소드

public getLockRequestor ( )

getLockTime() 공개 메소드

public getLockTime ( )

getText() 공개 메소드

public getText ( )

history() 공개 메소드

Renders this page in History mode.
public history ( ) : string
리턴 string The content.

hits() 공개 메소드

public hits ( )

isLocked() 공개 메소드

public isLocked ( $owner = null )

lock() 공개 메소드

public lock ( )

pageID() 공개 메소드

public pageID ( )

pageName() 공개 메소드

public pageName ( )

unlock() 공개 메소드

public unlock ( )

updateText() 공개 메소드

public updateText ( $newtext, $changelog )

version() 공개 메소드

public version ( )

versionCreated() 공개 메소드

public versionCreated ( )

프로퍼티 상세

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

Lock information if this page is currently locked.
protected array $_lock
리턴 array

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

A Horde_Locks instance for un-/locking this page.
protected Horde_Lock $_locks
리턴 Horde_Lock

$supportedModes 공개적으로 프로퍼티

Display modes supported by this page.
public array $supportedModes
리턴 array