PHP Class PlaygroundController, aprilchild

Inheritance: extends AmyProjectController
Show file Open project: aprilchild/aprilchild

Protected Properties

Property Type Description
$projectConf

Public Methods

Method Description
__construct ( $configuration = [] )

Protected Methods

Method Description
authenticateUser ( $username, $password ) Authentication
canUserCreate ( $ticket, $uri ) CRUD scheme
canUserDelete ( $ticket, $uri )
canUserRead ( $ticket, $uri )
canUserWrite ( $ticket, $uri )
createCollectionResource ( $ticket, $path, $label )
createResource ( $ticket, $path, $label, $content )
getOpenenedResources ( $ticket )
getResource ( $ticket, $path, $actAsPreview = false )
isAuthenticated ( $ticket )
setResource ( $ticket, $path, $content )

Method Details

__construct() public method

public __construct ( $configuration = [] )

authenticateUser() protected method

Authentication
protected authenticateUser ( $username, $password )

canUserCreate() protected method

CRUD scheme
protected canUserCreate ( $ticket, $uri )

canUserDelete() protected method

protected canUserDelete ( $ticket, $uri )

canUserRead() protected method

protected canUserRead ( $ticket, $uri )

canUserWrite() protected method

protected canUserWrite ( $ticket, $uri )

createCollectionResource() protected method

protected createCollectionResource ( $ticket, $path, $label )

createResource() protected method

protected createResource ( $ticket, $path, $label, $content )

getOpenenedResources() protected method

protected getOpenenedResources ( $ticket )

getResource() protected method

protected getResource ( $ticket, $path, $actAsPreview = false )

isAuthenticated() protected method

protected isAuthenticated ( $ticket )

setResource() protected method

protected setResource ( $ticket, $path, $content )

Property Details

$projectConf protected property

protected $projectConf