PHP Class Foafpress, Foafpress

Inheritance: extends SandboxPlugin
Afficher le fichier Open project: haschek/Foafpress

Méthodes publiques

Свойство Type Description
$URI_Document
$URI_Request
$arc2_exportfunctions
$arc2_resource
$base
$config
$extensiontype
$foaf_primaryTopic
$languageStackPreferences

Méthodes publiques

Méthode 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 )

Méthodes protégées

Méthode 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 méthode

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

CheckForApplicationTypeRequestByFileExtension() public méthode

FindFileByDirectoryIndexCheck() public méthode

FindResource() public méthode

public FindResource ( $file )

GetAppropriateRdfFile() public méthode

public GetAppropriateRdfFile ( $file )

LoadConfiguration() protected méthode

protected LoadConfiguration ( )

LoadLibrariesAndIncludes() protected méthode

protected LoadLibrariesAndIncludes ( )

LoadResourceFromFile() public méthode

public LoadResourceFromFile ( $file )

PreventDoubleOutput() public méthode

event listener for "sandbox_flush_start"
public PreventDoubleOutput ( )

RedirectToUrlByContentNegotiation() public méthode

ResolveResourceRequest() protected méthode

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 méthode

Foafpress event handlers for SPCMS
protected SubscribeEventHandlers ( )

dieWithException() public méthode

public dieWithException ( $message = null )

dieWithHttpErrorCode() public méthode

public dieWithHttpErrorCode ( $message = null, $http_error_code )

exportRdfData() public méthode

public exportRdfData ( )

init() protected méthode

protected init ( )

isExportRequest() protected méthode

protected isExportRequest ( )

isRequestType() protected méthode

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

print_r() public méthode

public print_r ( $array )

sendHttpHeaders() public méthode

public sendHttpHeaders ( )

set_URI_Document() public méthode

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