Here you'll find an overview of all core PHP code available in JAS as well as the
JavaScript code. Most of the core code resides in the include
directory. It's typically 1 class per file and it contains a number of
subdirectories (e.g. format, api, storage) that contain a collection of classes with a common parent.
Related topics
In addition to the core PHP code there's a collection of JavaScript code that enhances various bits of the GUI. These are used in the backend but are also available for projects...
Collection of convient functions
APIClassinclude/api/api.php
The API class acts as a base class for the various APIs available in JAS (CSV, Data and XML). You'll generally only use this class when you're cre...
API_CSV extends APIClassinclude/api/csv.php
The API_CSV class is a CSV version of the JAS API.
contentType (text)VariableContent type header output by the API
csvSeparato...
API_Data extends APIClassinclude/api/data.php
The API_Data class is "low level data" version of the JAS API. It uses serialized objects to exchange information.
output (te...
API_XML extends APIClassinclude/api/xml.php
The API_CSV class is a CSV version of the JAS API.
contentType (text)VariableContent type header output by the API
templatesVa...
ArchiveClassinclude/archive.php
As class to easily compress and decompress a variety of archive formats in a consistent manner. The following formats are supported:
GZ
...
BenchmarkClassinclude/benchmark.php
A hierarchical time benchmark class for registering and displaying benchmark information.
c (integer)VariableCounter
parent (boolean)V...
CacheClassinclude/cache.php
A class for caching key/value pairs in a variety of ways:
Memory, key/value stores:
Memcached
Requires https://pecl.php.net/package/memcac...
CaptchaClassinclude/captcha.php
Description...
e (object)Variable
configVariable
mime (boolean)Variable
challengeVariable
formatVariable
lengthVariable
fontsizeVariable
widthV...
CLIClassinclude/cli.php
Description...
e (object)Variable
sshVariable
return (boolean)Variable
outputVariable
lastline (boolean)Variable
execCMD (boolean)Variable
execSSH (boo...
CMSClassinclude/cms.php
Description...
e (object)Variable
lVariable
multiple (boolean)Variable
javascriptRights (boolean)Variable
referenceManipulation (boolean)Variable
confi...
ConfigClassinclude/config.php
Description...
e (object)Variable
BaseDataClassinclude/data.base.php
This class acts as a base for the data class.
e (object)VariableErrors object
l (object)VariableLanguage object
mutilate (object)Varia...
Data extends BaseDataClassinclude/data.php
Probably the most important class in JAS as this is where the magic happens. It's responsible for gathering, formatting and changin...
DiffClassinclude/diff.php
Description...
e (object)Variable
DTClassinclude/dt.php
Description...
e (object)Variable
l (boolean)Variable
Date formats
The format parameter that is used in many of the functions support the PHP da...
ErrorsClassinclude/errors.php
Description...
errorTypeVariable
logErrorTypesVariable
l (object)Variable
errors (integer)Variable
errorVariable
extraVariable
errorlevelVariable...
EXIFClassinclude/exif.php
Description...
e (object)Variable
exif (boolean)Variable
FilterClassinclude/filter.php
Description...
configVariable
cms (object)Variable
eVariable
lVariable
filterFieldTypesVariable
FSClassinclude/fs.php
Description...
e (object)Variable
cli (object)Variable
_getACL (text)Variable
_setACL (text)Variable
phpversionVariable
HistoryClassinclude/history.php
Description...
e (object)Variable
limitVariable
dbVariable
projectVariable
ImageClassinclude/image.php
Description...
e (object)Variable
data (boolean)Variable
type (boolean)Variable
file (boolean)Variable
JASClassinclude/jas.php
Description...
e (object)Variable
LanguageClassinclude/language.php
Description...
originalVariable
languageVariable
setsVariable
translationsVariable
errorsVariable
filesVariable
showInfo (boolean)Variable
LayoutClassinclude/layout.php
Description...
timeVariable
frameVariable
doctype (text)Variable
MimeClassinclude/mime.php
Description...
dVariable
eVariable
ModuleClassinclude/module.php
Description...
dataVariable
MPClassinclude/mp.php
Description...
e (object)Variable
messageBusDir (text)Variable
messageBusPrefix (text)Variable
pidVariable
parent (boolean)Variable
childsVariable
socket...
Mutilate extends DTClassinclude/mutilate.php
Description...
PluginClassinclude/plugin.php
Description...
fs (object)Variable
e (object)Variable
lVariable
classVariable
info (boolean)Variable
deps (boolean)Variable
configVariable
baseUR...
Base_PluginClassinclude/plugin.php
Description...
pluginVariable
configVariable
eVariable
Base_Plugin_BackendClassinclude/plugin.php
Description...
pluginVariable
eVariable
Base_Plugin_SetupClassinclude/plugin.php
Description...
pluginVariable
eVariable
fs (object)Variable
forceVariable
deSetupVariable
directoriesVariable
filesVariable
modulesVar...
Protocol_HTTP extends ProtocolClassinclude/protocol/http.php
Description...
methodsVariable
serverStringVariable
serverRootVariable
mime (object)Variable
sessionName (text)Var...
Protocol extends ScriptClassinclude/protocol/protocol.php
Description...
connection (object)Variable
listen (object)Variable
fork (boolean)Variable
user (boolean)Variable
grou...
Protocol_SMTP extends ProtocolClassinclude/protocol/smtp.php
Description...
configVariable
buffer (text)Variable
ScriptClassinclude/script.php
Description...
debug (boolean)Variable
e (object)Variable
markersVariable
blacklistVariable
commandsVariable
valuesVariable
valuesReadonlyVariabl...
SessionClassinclude/session.php
Description...
global (text)Variable
valuesVariable
SocketClassinclude/socket.php
Description...
e (object)Variable
ipv4 (boolean)Variable
ipv6 (boolean)Variable
blocking (boolean)Variable
backlog (integer)Variable
rereadVariab...
System_Storage_api extends StorageClassinclude/storage/api.php
Description...
urlVariable
sessionVariable
api (object)Variable
http (object)Variable
countVariable
System_Storage_mysql extends System_Storage_sqlClassinclude/storage/mysql.php
Description...
restypeVariable
collation (text)Variable
charset (text)Variable
engine (text)Varia...
System_Storage_pgsql extends System_Storage_sqlClassinclude/storage/pgsql.php
Description...
passwordRequired (boolean)Variable
collation (text)Variable
charset (text)Variable...
System_Storage_session extends StorageClassinclude/storage/session.php
Description...
session (text)Variable
storageVariable
System_Storage_sql extends StorageClassinclude/storage/sql.php
Description...
dbcon (boolean)Variable
engine (boolean)Variable
collation (boolean)Variable
charset (boolean)Var...
StorageClassinclude/storage/storage.php
Description...
e (object)Variable
lVariable
typeVariable
realTypeVariable
dataVariable
res (NULL)Variable
resultsVariable
resultsCounte...
System_Storage_stub extends StorageClassinclude/storage/stub.php
Description...
System_Storage_xml extends StorageClassinclude/storage/xml.php
Description...
gotLock (boolean)Variable
lockedRetries (integer)Variable
lockedTimeoutVariable
path (boolean)Var...
STPClassinclude/stp.php
Description...
e (object)Variable
name (text)Variable
maxTokens (integer)Variable
tokensVariable