PHP Class Foafpress, Foafpress

Inheritance: extends SandboxPlugin
显示文件 Open project: haschek/Foafpress

Public Properties

Property Type Description
$URI_Document
$URI_Request
$arc2_exportfunctions
$arc2_resource
$base
$config
$extensiontype
$foaf_primaryTopic
$languageStackPreferences

Public Methods

Method Description
CheckCache ( $filename ) event listener for "sandbox_parse_start"
CheckForApplicationTypeRequestByFileExtension ( $file )
FindFileByDirectoryIndexCheck ( $file )
FindResource ( $file )
GetAppropriateRdfFile ( $file )
LoadResourceFromFile ( $file )
PreventDoubleOutput ( ) event listener for "sandbox_flush_start"
RedirectToUrlByContentNegotiation ( )
dieWithException ( $message = null )
dieWithHttpErrorCode ( $message = null, $http_error_code )
exportRdfData ( )
print_r ( $array )
sendHttpHeaders ( )
set_URI_Document ( $file )

Protected Methods

Method Description
LoadConfiguration ( )
LoadLibrariesAndIncludes ( )
ResolveResourceRequest ( ) Resolve best resource from request
SubscribeEventHandlers ( ) Foafpress event handlers for SPCMS
init ( )
isExportRequest ( )
isRequestType ( array $types, $soft = false )

Method Details

CheckCache() public method

event listener for "sandbox_parse_start"
public CheckCache ( $filename )

CheckForApplicationTypeRequestByFileExtension() public method

FindFileByDirectoryIndexCheck() public method

FindResource() public method

public FindResource ( $file )

GetAppropriateRdfFile() public method

public GetAppropriateRdfFile ( $file )

LoadConfiguration() protected method

protected LoadConfiguration ( )

LoadLibrariesAndIncludes() protected method

protected LoadLibrariesAndIncludes ( )

LoadResourceFromFile() public method

public LoadResourceFromFile ( $file )

PreventDoubleOutput() public method

event listener for "sandbox_flush_start"
public PreventDoubleOutput ( )

RedirectToUrlByContentNegotiation() public method

ResolveResourceRequest() protected method

Checks if the requested URI is drescribed in document and if not -- make a best guess (check foaf:document about the described resource)
protected ResolveResourceRequest ( )

SubscribeEventHandlers() protected method

Foafpress event handlers for SPCMS
protected SubscribeEventHandlers ( )

dieWithException() public method

public dieWithException ( $message = null )

dieWithHttpErrorCode() public method

public dieWithHttpErrorCode ( $message = null, $http_error_code )

exportRdfData() public method

public exportRdfData ( )

init() protected method

protected init ( )

isExportRequest() protected method

protected isExportRequest ( )

isRequestType() protected method

protected isRequestType ( array $types, $soft = false )
$types array

print_r() public method

public print_r ( $array )

sendHttpHeaders() public method

public sendHttpHeaders ( )

set_URI_Document() public method

public set_URI_Document ( $file )

Property Details

$URI_Document public_oe property

public $URI_Document

$URI_Request public_oe property

public $URI_Request

$arc2_exportfunctions public_oe property

public $arc2_exportfunctions

$arc2_resource public_oe property

public $arc2_resource

$base public_oe property

public $base

$config public_oe property

public $config

$extensiontype public_oe property

public $extensiontype

$foaf_primaryTopic public_oe property

public $foaf_primaryTopic

$languageStackPreferences public_oe property

public $languageStackPreferences