Documentation

Documentation

Packages

Application
fpcm

Namespaces

fpcm

Interfaces, Classes, Traits and Enums

fpcmAPI
FanPress CM API, class for integration into a website
fpcmCLI
FanPress CM cli class

Table of Contents

FPCM_ARTICLE_DISABLE_SHORTLINKS  = \false
Erstellung von Artikel-Shortlink über is.gd deaktivieren
FPCM_ARTICLE_LOCKED_INTERVAL  = 60
Interval um Artikel auf "In Bearbeitung" zu setzten bzw. zu prüfen
FPCM_ARTICLES_OLDMESSAGE_INTERVALL  = 31104000
Interval of old articles message in seconds
FPCM_ARTICLES_SOURCES_AUTOCOMPLETE  = 25
Number of sources entries saved in file options
FPCM_AUTHOR_IMAGE_MAX_SIZE  = 32768
Maximale Größe von Author-Bildern
FPCM_CACHE_BACKEND  = '\\fpcm\\model\\cache\\fsBackend'
Cache backend
FPCM_CACHE_DEBUG  = \false
Cache-Datei-Namen nicht hashen
FPCM_CACHE_DEFAULT_TIMEOUT  = 3600
Timeout für Sprach-Cache
FPCM_CACHEMODULE_DEBUG  = \false
Cache-Moduleordner-Namen nicht hashen
FPCM_CLI_OUTPUT_NONE  = true
FPCM_COMPONENT_PHOTOSWIPE  = \true
Enable PhotoSwipe Lightbox
FPCM_CRON_DBDUMP_NOMAIL  = \false
No attachments from sql dump cronjob
FPCM_CSV_IMPORT  = \false
Enable CSV import
FPCM_DB_PERSISTENT  = \true
Toggle persistent databse connection
FPCM_DEBUG  = \false
Debug-Modus aktivieren
FPCM_DEBUG_EVENTS  = \false
Event-Debug-Modus aktivieren
FPCM_DEBUG_ROUTES  = \false
Controller-Routing-Debug-Modus aktivieren
FPCM_DEBUG_SQL  = \false
SQL-Debug-Modus aktivieren
FPCM_DEFAULT_LANGUAGE_CODE  = 'de'
Standard-Sprachcode
FPCM_DISABLE_AJAX_CRONJOBS_PUB  = \false
Disable AJAX cronjobs on public controller
FPCM_DISABLE_AJAX_CRONJOBS_REFRESH  = \false
Disable AJAX cronjobs on refresh controller
FPCM_DISABLE_MODULE_ZIPUPLOAD  = \true
Disable upload für module package files
FPCM_FE  = \true
FPCM frontend api flag
FPCM_FILEMAGER_ITEMS_ROW  = 5
Default session lenght, replaces ACP setting
FPCM_IMAGE_PROCESSOR_NEW  = \true
Enable PhotoSwipe Lightbox
FPCM_INSECURE_USERNAMES  = ['admin', 'root', 'test', 'support', 'administrator', 'adm']
List of insecure usernams
FPCM_LANGCACHE_TIMEOUT  = \FPCM_DATE_SECONDS * 31
Timeout für Sprach-Cache
FPCM_MODE_NOPAGETOKEN  = \true
FPCM_MODE_NOPAGETOKEN  = true
FPCM_MODE_PUBVIEW  = true
FPCM_MODULE_DEV  = \false
Enable module developement
FPCM_MODULE_IGNORE_DEPENDENCIES  = \false
ModulAbhängigkeiten ignorieren
FPCM_PAGETOKEN_MAX  = 10
Timeout für Pagetoken-Cache
FPCM_PAGETOKENCACHE_TIMEOUT  = 3600 * 5
Timeout für Pagetoken-Cache
FPCM_PUB_SEARCH_MINLEN  = 4
Minimum number of chars for public search
FPCM_PUBJS_LOADED  = 1
FPCM_REQUEST_EXIT  = \true
Enable extended request check
FPCM_SMTP_TIMEOUT  = 5
SMTP connection timeout
FPCM_TWITTER_DSIABLE_API  = \true
Disable twitter api connector
FPCM_USER_SESSION  = 3600
Default session lenght, replaces ACP setting
FPCM_VIEW_JS_USE_MINIFIED  = \false
Disable upload für module package files
fpcmLogSystem()  : bool
Systemlog schreiben
fpcmLogSql()  : bool
Datenbanklog schreiben
fpcmLogPackages()  : bool
Paketmanagerlog schreiben
fpcmLogCron()  : bool
Cronlog schreiben
fpcmLogEvents()  : bool
Event-Log
fpcmDebugOutput()  : mixed
Debug-Ausgabe am Ende der Seite
fpcmDump()  : mixed
FanPress CM Dump Funktion

Constants

FPCM_ARTICLE_DISABLE_SHORTLINKS

Erstellung von Artikel-Shortlink über is.gd deaktivieren

public mixed FPCM_ARTICLE_DISABLE_SHORTLINKS = \false
Tags
since
3.5

FPCM_ARTICLE_LOCKED_INTERVAL

Interval um Artikel auf "In Bearbeitung" zu setzten bzw. zu prüfen

public mixed FPCM_ARTICLE_LOCKED_INTERVAL = 60
Tags
since
3.5

FPCM_ARTICLES_OLDMESSAGE_INTERVALL

Interval of old articles message in seconds

public mixed FPCM_ARTICLES_OLDMESSAGE_INTERVALL = 31104000
Tags
since
5.2.0-a1

FPCM_ARTICLES_SOURCES_AUTOCOMPLETE

Number of sources entries saved in file options

public mixed FPCM_ARTICLES_SOURCES_AUTOCOMPLETE = 25
Tags
since
4.1

FPCM_AUTHOR_IMAGE_MAX_SIZE

Maximale Größe von Author-Bildern

public mixed FPCM_AUTHOR_IMAGE_MAX_SIZE = 32768
Tags
since
3.6

FPCM_CACHE_BACKEND

Cache backend

public mixed FPCM_CACHE_BACKEND = '\\fpcm\\model\\cache\\fsBackend'
Tags
since
5.1-dev

FPCM_CACHE_DEBUG

Cache-Datei-Namen nicht hashen

public mixed FPCM_CACHE_DEBUG = \false
Tags
since
3.2

FPCM_CACHE_DEFAULT_TIMEOUT

Timeout für Sprach-Cache

public mixed FPCM_CACHE_DEFAULT_TIMEOUT = 3600

FPCM_CACHEMODULE_DEBUG

Cache-Moduleordner-Namen nicht hashen

public mixed FPCM_CACHEMODULE_DEBUG = \false
Tags
since
3.4

FPCM_CLI_OUTPUT_NONE

public mixed FPCM_CLI_OUTPUT_NONE = true

FPCM_COMPONENT_PHOTOSWIPE

Enable PhotoSwipe Lightbox

public mixed FPCM_COMPONENT_PHOTOSWIPE = \true
Tags
since
5.2.0-a1

FPCM_CRON_DBDUMP_NOMAIL

No attachments from sql dump cronjob

public mixed FPCM_CRON_DBDUMP_NOMAIL = \false
Tags
since
4.5.3

FPCM_CSV_IMPORT

Enable CSV import

public mixed FPCM_CSV_IMPORT = \false
Tags
since
4.5

FPCM_DB_PERSISTENT

Toggle persistent databse connection

public mixed FPCM_DB_PERSISTENT = \true
Tags
since
4.5

FPCM_DEBUG

Debug-Modus aktivieren

public mixed FPCM_DEBUG = \false

FPCM_DEBUG_EVENTS

Event-Debug-Modus aktivieren

public mixed FPCM_DEBUG_EVENTS = \false

FPCM_DEBUG_ROUTES

Controller-Routing-Debug-Modus aktivieren

public mixed FPCM_DEBUG_ROUTES = \false

FPCM_DEBUG_SQL

SQL-Debug-Modus aktivieren

public mixed FPCM_DEBUG_SQL = \false

FPCM_DEFAULT_LANGUAGE_CODE

Standard-Sprachcode

public mixed FPCM_DEFAULT_LANGUAGE_CODE = 'de'

FPCM_DISABLE_AJAX_CRONJOBS_PUB

Disable AJAX cronjobs on public controller

public mixed FPCM_DISABLE_AJAX_CRONJOBS_PUB = \false
Tags
since
5.1.0-b3

FPCM_DISABLE_AJAX_CRONJOBS_REFRESH

Disable AJAX cronjobs on refresh controller

public mixed FPCM_DISABLE_AJAX_CRONJOBS_REFRESH = \false
Tags
since
5.1.0-b3

FPCM_DISABLE_MODULE_ZIPUPLOAD

Disable upload für module package files

public mixed FPCM_DISABLE_MODULE_ZIPUPLOAD = \true
Tags
since
4.4

FPCM_FE

FPCM frontend api flag

public mixed FPCM_FE = \true

FPCM_FILEMAGER_ITEMS_ROW

Default session lenght, replaces ACP setting

public mixed FPCM_FILEMAGER_ITEMS_ROW = 5
Tags
since
5.0.0-b5

FPCM_IMAGE_PROCESSOR_NEW

Enable PhotoSwipe Lightbox

public mixed FPCM_IMAGE_PROCESSOR_NEW = \true
Tags
since
5.2.0-rc2

FPCM_INSECURE_USERNAMES

List of insecure usernams

public mixed FPCM_INSECURE_USERNAMES = ['admin', 'root', 'test', 'support', 'administrator', 'adm']
Tags
since
3.6

FPCM_LANGCACHE_TIMEOUT

Timeout für Sprach-Cache

public mixed FPCM_LANGCACHE_TIMEOUT = \FPCM_DATE_SECONDS * 31

FPCM_MODE_NOPAGETOKEN

public mixed FPCM_MODE_NOPAGETOKEN = \true

FPCM_MODE_NOPAGETOKEN

public mixed FPCM_MODE_NOPAGETOKEN = true

FPCM_MODULE_DEV

Enable module developement

public mixed FPCM_MODULE_DEV = \false
Tags
since
4.2.1

FPCM_MODULE_IGNORE_DEPENDENCIES

ModulAbhängigkeiten ignorieren

public mixed FPCM_MODULE_IGNORE_DEPENDENCIES = \false

FPCM_PAGETOKEN_MAX

Timeout für Pagetoken-Cache

public mixed FPCM_PAGETOKEN_MAX = 10
Tags
since
4.3

FPCM_PAGETOKENCACHE_TIMEOUT

Timeout für Pagetoken-Cache

public mixed FPCM_PAGETOKENCACHE_TIMEOUT = 3600 * 5

FPCM_PUB_SEARCH_MINLEN

Minimum number of chars for public search

public mixed FPCM_PUB_SEARCH_MINLEN = 4
Tags
since
4.5

FPCM_PUBJS_LOADED

public mixed FPCM_PUBJS_LOADED = 1

FPCM_REQUEST_EXIT

Enable extended request check

public mixed FPCM_REQUEST_EXIT = \true
Tags
since
4.2.1

FPCM_SMTP_TIMEOUT

SMTP connection timeout

public mixed FPCM_SMTP_TIMEOUT = 5
Tags
since
5.1-dev

FPCM_USER_SESSION

Default session lenght, replaces ACP setting

public mixed FPCM_USER_SESSION = 3600
Tags
since
5.0.0-a3

FPCM_VIEW_JS_USE_MINIFIED

Disable upload für module package files

public mixed FPCM_VIEW_JS_USE_MINIFIED = \false
Tags
since
4.5

Functions

fpcmLogSystem()

Systemlog schreiben

fpcmLogSystem(mixed $data) : bool
Parameters
$data : mixed
Tags
since
3.6
Return values
bool

fpcmLogSql()

Datenbanklog schreiben

fpcmLogSql(mixed $data) : bool
Parameters
$data : mixed
Tags
since
3.6
Return values
bool

fpcmLogPackages()

Paketmanagerlog schreiben

fpcmLogPackages(string $packageName, mixed $data) : bool
Parameters
$packageName : string
$data : mixed
Tags
since
3.6
Return values
bool

fpcmLogCron()

Cronlog schreiben

fpcmLogCron(mixed $data) : bool
Parameters
$data : mixed
Tags
since
3.6
Return values
bool

fpcmLogEvents()

Event-Log

fpcmLogEvents(mixed $data) : bool
Parameters
$data : mixed
Tags
since
4
Return values
bool

fpcmDebugOutput()

Debug-Ausgabe am Ende der Seite

fpcmDebugOutput() : mixed
Return values
mixed

fpcmDump()

FanPress CM Dump Funktion

fpcmDump() : mixed
Return values
mixed

Search results