Documentation

fpcmAPI
in

FanPress CM API, class for integration into a website

Table of Contents

$controllers API-Controller array
$versionFailed Ausführung unter PHP 7+ bool
__construct() Konstruktor, prüft PHP-Version, Installer-Status und Datenbank-Config-Status void
registerController() Initializes controllers bool
initObjects() Initialized objects required by system bool
showArticles() Artikel anzeigen bool
showLatestNews() Exec Latest News display bool
showPageNumber() Display current page number mixed
showTitle() Display title of currently requested article mixed
__call() PHP-Magic-Methode __call, ruft Event apiCallFunction auf Form: MODULEKEY mit _ statt _ + "_" + FUNCTIONNAME (Bsp.: nkorg_example_foo) mixed
__callStatic() PHP-Magic-Methode __callStatic, ruft Event apiCallFunction auf Form: MODULEKEY mit _ statt _ + "_" + FUNCTIONNAME (Bsp.: nkorg_example_foo) mixed
loginExternal() FPCM-Login für externe Anwendungen nutzen bool|string
logoutExternal() Logout für externe Anwendungen nutzen bool|string
fpcmEnCrypt() FPCM-interne Verschlüsselung nutzen - Verschlüsseln string
fpcmDeCrypt() FPCM-interne Verschlüsselung nutzen - Entschlüsseln string
exitOnRequest() Exit script execution on request bool
showMessagesBox() Display messages div in frontend void
checkLockedIp() Check if IP adress is locked bool

Properties

$controllers

API-Controller

protected array $controllers = []

$versionFailed

Ausführung unter PHP 7+

protected bool $versionFailed = \false

Methods

__construct()

Konstruktor, prüft PHP-Version, Installer-Status und Datenbank-Config-Status

public __construct( ) : void

registerController()

Initializes controllers

private registerController( ) : bool
Return values
bool

initObjects()

Initialized objects required by system

private initObjects( ) : bool
Tags
since
Return values
bool

showArticles()

Artikel anzeigen

public showArticles( [ $params : array = [] ] ) : bool
Parameters
$params : array = []

params @see \fpcm\controller\action\pub\showcommon

Return values
bool

showLatestNews()

Exec Latest News display

public showLatestNews( [ $params : array = [] ] ) : bool
Parameters
$params : array = []

params @see \fpcm\controller\action\pub\showlatest

Return values
bool

showPageNumber()

Display current page number

public showPageNumber( [ $divider : string = "• Page" ] [, $isUtf8 : bool = true ] ) : mixed
Parameters
$divider : string = "• Page"
$isUtf8 : bool = true
Return values
mixed

showTitle()

Display title of currently requested article

public showTitle( [ $divider : string = "•" ] [, $isUtf8 : bool = true ] ) : mixed
Parameters
$divider : string = "•"
$isUtf8 : bool = true
Return values
mixed

__call()

PHP-Magic-Methode __call, ruft Event apiCallFunction auf Form: MODULEKEY mit _ statt _ + "_" + FUNCTIONNAME (Bsp.: nkorg_example_foo)

public __call( $name : string , $arguments : array ) : mixed
Parameters
$name : string
$arguments : array
Tags
since
Return values
mixed

__callStatic()

PHP-Magic-Methode __callStatic, ruft Event apiCallFunction auf Form: MODULEKEY mit _ statt _ + "_" + FUNCTIONNAME (Bsp.: nkorg_example_foo)

public static __callStatic( $name : string , $arguments : array ) : mixed
Parameters
$name : string
$arguments : array
Tags
since
Return values
mixed

loginExternal()

FPCM-Login für externe Anwendungen nutzen

public loginExternal( $credentials : array ) : bool|string
Parameters
$credentials : array
Tags
since
Return values
bool|string

logoutExternal()

Logout für externe Anwendungen nutzen

public logoutExternal( $sessionId : string ) : bool|string
Parameters
$sessionId : string
Tags
since
Return values
bool|string

fpcmEnCrypt()

FPCM-interne Verschlüsselung nutzen - Verschlüsseln

public fpcmEnCrypt( $value : string ) : string
Parameters
$value : string
Tags
since
Return values
string

fpcmDeCrypt()

FPCM-interne Verschlüsselung nutzen - Entschlüsseln

public fpcmDeCrypt( $value : string ) : string
Parameters
$value : string
Tags
since
Return values
string

exitOnRequest()

Exit script execution on request

public exitOnRequest( $param : array ) : bool
Parameters
$param : array
Tags
since
Return values
bool

showMessagesBox()

Display messages div in frontend

public showMessagesBox( ) : void
Tags
since

checkLockedIp()

Check if IP adress is locked

public checkLockedIp( [ $lockType : string = 'noaccess' ] ) : bool
Parameters
$lockType : string = 'noaccess'
Tags
see
since
Return values
bool

Search results