WeakWiki


WeakWiki\DocumentPermissions
lib\engine.library.php at line 398

Class DocumentPermissions

DocumentPermissions

public class DocumentPermissions

This class holds permissions on an Document for a user group.


Method Summary
void

__construct(mixed p)

Creates an instance of this class.

void

allowEdit()

Returns, if an Document may be edited.

void

allowHistory()

Returns, if history of an Document may be viewed.

void

allowRead()

Returns, if an Document may be read.

void

allowSource()

Returns, if source of an Document may be viewed.

Method Detail

lib\engine.library.php at line 414

__construct

public void __construct(mixed p)

Creates an instance of this class. @param $p Permission string.


lib\engine.library.php at line 434

allowEdit

public void allowEdit()

Returns, if an Document may be edited. @return TRUE, if edit operations are permitted.


lib\engine.library.php at line 442

allowHistory

public void allowHistory()

Returns, if history of an Document may be viewed. @return TRUE, if history operations are permitted.


lib\engine.library.php at line 426

allowRead

public void allowRead()

Returns, if an Document may be read. @return TRUE, if read operations are permitted.


lib\engine.library.php at line 450

allowSource

public void allowSource()

Returns, if source of an Document may be viewed. @return TRUE, if source operations are permitted.


WeakWiki