Functions

IP_match()

IP_match($network, $mask, $ip) 
deprecated [2012-08-02] Use ipMatch() instead

Parameters

$network

$mask

$ip

__cmp()

__cmp($a, $b) 

Parameters

$a

$b

_error_report()

_error_report($error) 
deprecated 2011-09-02 this function is not supported any longer

Parameters

$error

Processes replacements of all existing CMS_.

_processCmsTags(array $aList, array | array $contentList, bool $saveKeywords, $layoutCode) 

.. tags within passed code

Parameters

$aList

array

CMS_...tags list

$contentList

arrayarray

all CMS variables

$saveKeywords

bool

Flag to save collected keywords during replacement process.

$layoutCode

_swiftmailer_init()

_swiftmailer_init() 

_swiftmailer_init()

_swiftmailer_init() 

Add new article specification

addArtspec(string $artspectext, int $online) : void

Parameters

$artspectext

string

specification text

$online

int

Online status (1 or 0)

Adds slashes to passed variable

addslashes_deep(mixed $value) : array

Parameters

$value

mixed

Either a string or a multi-dimensional array of values

Returns

array

array_csort()

array_csort() 
deprecated [2012-08-02] Use cArray::csort() instead

array_search_recursive()

array_search_recursive($search, $array, $partial, $strict) 
deprecated [2012-08-02] Use cArray::searchRecursive() instead

Parameters

$search

$array

$partial

$strict

Redirect to main area

backToMainArea(bool $send) 

Parameters

$send

bool

Redirect Yes/No

Build a Article select Box

buildArticleSelect(string $sName, string $iIdCat, string $sValue) : string

Parameters

$sName

string

Name of the SelectBox

$iIdCat

string

category id

$sValue

string

Value of the SelectBox

Returns

stringHTML

Build a Category / Article select Box

buildCategorySelect(string $sName, string $sValue, int $sLevel, string $sStyle) : string

Parameters

$sName

string

Name of the SelectBox

$sValue

string

Value of the SelectBox

$sLevel

int

Value of highest level that should be shown

$sStyle

string

Optional style informations for select

Returns

stringHTML

Build a Category select Box containg all categories which user is allowed to create new categories

buildCategorySelectRights() : string

Returns

stringHTML

Deletes existing heap table (table in memory) and creates it.

buildHeapTable(string $sHeapTable, \cDb $db) : void

Parameters

$sHeapTable

string

Table name

$db

\cDb

Database object

Returns a formatted string with a stack trace ready for output.

buildStackString(int $startlevel) : string

"\tfunction1() called in file $filename($line)" "\tfunction2() called in file $filename($line)" ...

Parameters

$startlevel

int

The startlevel. Note that 0 is always buildStackString and 1 is the function called buildStackString (e.g. cWarning)

Returns

string

buildTree()

buildTree($rootItem, $items) 

Parameters

$rootItem

$items

Builds user/group permissions (sysadmin, admin, client and language) by processing request variables ($msysadmin, $madmin, $mclient, $mlang) and returns the build permissions array.

buildUserOrGroupPermsFromRequest(bool $bAddUserToClient) : array
todo Do we really need to add other perms, if the user/group gets the 'sysadmin' permission?

Parameters

$bAddUserToClient

bool

Flag to add current user to current client, if no client is specified.

Returns

array

Seeks through the category tree and returns the node on a specific level.

cApiCatGetLevelNode(int $idcat, int $minLevel) : int

Example: + Category A (15) |-+ News (16) | |- News A (17) + Category B (18) |-+ Internal (19)

Given you are in the leaf "News A" (idcat 17), and you want to get out in which "main" tree you are, you can call the function like this:

cApiCatGetLevelNode(17,1);

The example would return "Category A" (idcat 15). If you specify an invalid level, the results are undefined.

Parameters

$idcat

int

The category number

$minLevel

int

The level to extract

Returns

intThe category node on a specific level

Validates cache version of a image.

cApiImageCheckCachedImageValidity(string $cacheFile, int $cacheTime) : bool

Parameters

$cacheFile

string

$cacheTime

int

Returns

boolReturns true, if cache file exists and7or is still valid or false

Check possible image editing functionality

cApiImageCheckImageEditingPosibility() : mixed

Returns

mixedInformation about installed image editing extensions/tools
- 'im'  ImageMagick is available and usage is enabled
- '2'   GD library version 2 is available
- '1'   GD library version 1 is available
- '0'   Nothing could detected

Returns cache file name.

cApiImageGetCacheFileName(string $md5, string $filetype, bool $keepType) : string

Parameters

$md5

string

$filetype

string

$keepType

bool

Returns

string

Returns new calculated dimensions of a target image.

cApiImageGetTargetDimensions(int $x, int $y, int $maxX, int $maxY, bool $expand) : array

Parameters

$x

int

$y

int

$maxX

int

$maxY

int

$expand

bool

Returns

arrayIndex 0 is target X and index 1 is target Y

Check if gif is animated, uses "identify" of ImageMagick.

cApiImageIsAnimGif(string $sFile) : bool

Parameters

$sFile

string

file path

Returns

boolTrue (gif is animated)/ false (single frame gif)

Scales (or crops) an image.

cApiImgScale(string $img, int $maxX, int $maxY, bool $crop, bool $expand, int $cacheTime, bool $wantHQ, int $quality, bool $keepType) : string

If scaling, the aspect ratio is maintained.

This function chooses the best method to scale, depending on the system environment and/or the parameters.

Returns the path to the scaled temporary image.

Note that this function does some very poor caching; it calculates an md5 hash out of the image plus the maximum X and Y sizes, and uses that as the file name. If the file is older than 10 minutes, regenerate it.

Parameters

$img

string

The path to the image (relative to the frontend)

$maxX

int

The maximum size in x-direction

$maxY

int

The maximum size in y-direction

$crop

bool

If true, the image is cropped and not scaled.

$expand

bool

If true, the image is expanded (e.g. really scaled). If false, the image will only be made smaller.

$cacheTime

int

The number of minutes to cache the image, use 0 for unlimited

$wantHQ

bool

If true, try to force high quality mode

$quality

int

The quality of the output file

$keepType

bool

If true and a png file is source, output file is also png

Returns

stringPath to the resulting image

Returns the MD5 filename used for caching.

cApiImgScaleGetMD5CacheFile(string $sImg, int $iMaxX, int $iMaxY, bool $bCrop, bool $bExpand) : string

Parameters

$sImg

string

Path to upload image

$iMaxX

int

Maximum image x size

$iMaxY

int

Maximum image y size

$bCrop

bool

Flag to crop image

$bExpand

bool

Flag to expand image

Returns

stringPath to the resulting image

Scales (or crops) an image in high quality.

cApiImgScaleHQ(string $img, int $maxX, int $maxY, bool $crop, bool $expand, int $cacheTime, int $quality, bool $keepType) : string

If scaling, the aspect ratio is maintained.

Note: GDLib 2.x is required!

Returns the path to the scaled temporary image.

Note that this function does some very poor caching; it calculates an md5 hash out of the image plus the maximum X and Y sizes, and uses that as the file name. If the file is older than the specified cache time, regenerate it.

Parameters

$img

string

The path to the image (relative to the frontend)

$maxX

int

The maximum size in x-direction

$maxY

int

The maximum size in y-direction

$crop

bool

If true, the image is cropped and not scaled.

$expand

bool

If true, the image is expanded (e.g. really scaled). If false, the image will only be made smaller.

$cacheTime

int

The number of minutes to cache the image, use 0 for unlimited

$quality

int

The quality of the output file

$keepType

bool

If true and a png file is source, output file is also png

Returns

stringUrl to the resulting image (http://...)

Scales (or crops) an image using ImageMagick.

cApiImgScaleImageMagick(string $img, int $maxX, int $maxY, bool $crop, bool $expand, int $cacheTime, int $quality, bool $keepType) : string

If scaling, the aspect ratio is maintained.

Note: ImageMagick is required!

Returns the path to the scaled temporary image.

Note that this function does some very poor caching; it calculates an md5 hash out of the image plus the maximum X and Y sizes, and uses that as the file name. If the file is older than the specified cache time, regenerate it.

Parameters

$img

string

The path to the image (relative to the frontend)

$maxX

int

The maximum size in x-direction

$maxY

int

The maximum size in y-direction

$crop

bool

If true, the image is cropped and not scaled.

$expand

bool

If true, the image is expanded (e.g. really scaled). If false, the image will only be made smaller.

$cacheTime

int

The number of minutes to cache the image, use 0 for unlimited

$quality

int

The quality of the output file

$keepType

bool

If true and a png file is source, output file is also png

Returns

stringUrl to the resulting image (http://...)

Scales (or crops) an image.

cApiImgScaleLQ(string $img, int $maxX, int $maxY, bool $crop, bool $expand, int $cacheTime, int $quality, bool $keepType) : string

If scaling, the aspect ratio is maintained.

Returns the path to the scaled temporary image.

Note that this function does some very poor caching; it calculates an md5 hash out of the image plus the maximum X and Y sizes, and uses that as the file name. If the file is older than 10 minutes, regenerate it.

Parameters

$img

string

The path to the image (relative to the frontend)

$maxX

int

The maximum size in x-direction

$maxY

int

The maximum size in y-direction

$crop

bool

If true, the image is cropped and not scaled.

$expand

bool

If true, the image is expanded (e.g. really scaled). If false, the image will only be made smaller.

$cacheTime

int

The number of minutes to cache the image, use 0 for unlimited

$quality

int

The quality of the output file

$keepType

bool

If true and a png file is source, output file is also png

Returns

stringurl to the resulting image (http://...

Checks if ImageMagick is available

cApiIsImageMagickAvailable() : bool

Returns

booltrue if ImageMagick is available

Removes or converts all "evil" URL characters.

cApiStrCleanURLCharacters(string $sString, bool $bReplace) : string

This function removes or converts all characters which can make an URL invalid.

Clean characters include: - All characters between 32 and 126 which are not alphanumeric and aren't one of the following: _-.

Parameters

$sString

string

The string to operate on

$bReplace

bool

If true, all "unclean" characters are replaced

Returns

stringThe resulting string

Normalizes line endings in passed string.

cApiStrNormalizeLineEndings(string $sString, string $sLineEnding) : string

Parameters

$sString

string

$sLineEnding

string

Feasible values are "\n", "\r" or "\r\n"

Returns

string

Converts a string to another encoding.

cApiStrRecodeString(string $sString, string $sourceEncoding, string $targetEncoding) : string

This function tries to detect which function to use (either recode or iconv).

If $sourceEncoding and $targetEncoding are the same, this function returns immediately.

For more information about encodings, refer to http://en.wikipedia.org/wiki/Character_encoding

For more information about the supported encodings in recode, refer to http://www.delorie.com/gnu/docs/recode/recode_toc.html

Note: depending on whether recode or iconv is used, the supported charsets differ. The following ones are commonly used and are most likely supported by both converters:

  • ISO-8859-1 to ISO-8859-15
  • ASCII
  • UTF-8
todo Check if the charset names are the same for both converters
todo Implement a converter and charset checker to ensure compilance.

Parameters

$sString

string

The string to operate on

$sourceEncoding

string

The source encoding (default: ISO-8859-1)

$targetEncoding

string

The target encoding (if false, use source encoding)

Returns

stringThe resulting string

cApiStrReplaceDiacritics: Converts diactritics to english characters whenever possible.

cApiStrReplaceDiacritics(string $sString, string $sourceEncoding, string $targetEncoding) : string

For german umlauts, this function converts the umlauts to their ASCII equalients (e.g. � => ae).

For more information about diacritics, refer to http://en.wikipedia.org/wiki/Diacritic

For other languages, the diacritic marks are removed, if possible.

Parameters

$sString

string

The string to operate on

$sourceEncoding

string

The source encoding (default: ISO-8859-1)

$targetEncoding

string

The target encoding (default: ISO-8859-1)

Returns

stringThe resulting string

Trims a string to a given length and makes sure that all words up to $maxlen are preserved, without exceeding $maxlen.

cApiStrTrimAfterWord(string $string, int $maxlen) : string

Warning: Currently, this function uses a regular ASCII-Whitespace to do the seperation test. If you are using '&nbsp' to create spaces, this function will fail.

Example: $string = "This is a simple test"; echo cApiStrTrimAfterWord ($string, 15);

This would output "This is a", since this function respects word boundaries and doesn't operate beyond the limit given by $maxlen.

Parameters

$string

string

The string to operate on

$maxlen

int

The maximum number of characters

Returns

stringThe resulting string

Trims a string to a specific length.

cApiStrTrimHard(string $string, int $maxlen, $fillup) : string

If the string is longer than $maxlen, dots are inserted ("...") right before $maxlen.

Example: $string = "This is a simple test"; echo cApiStrTrimHard ($string, 15);

This would output "This is a si...", since the string is longer than $maxlen and the resulting string matches 15 characters including the dots.

Parameters

$string

string

The string to operate on

$maxlen

int

The maximum number of characters

$fillup

Returns

stringThe resulting string

Trims a string to a approximate length.

cApiStrTrimSentence(string $string, int $approxlen, bool $hard) : string

Sentence boundaries are preserved.

The algorythm inside calculates the sentence length to the previous and next sentences. The distance to the next sentence which is smaller will be taken to trim the string to match the approximate length parameter.

Example:

$string = "This contains two sentences. "; $string .= "Lets play around with them. ";

echo cApiStrTrimSentence($string, 40); echo cApiStrTrimSentence($string, 50);

The first example would only output the first sentence, the second example both sentences.

Explanation:

To match the given max length closely, the function calculates the distance to the next and previous sentences. Using the maxlength of 40 characters, the distance to the previous sentence would be 8 characters, and to the next sentence it would be 19 characters. Therefore, only the previous sentence is displayed.

The second example displays the second sentence also, since the distance to the next sentence is only 9 characters, but to the previous it is 18 characters.

If you specify the boolean flag "$hard", the limit parameter creates a hard limit instead of calculating the distance.

This function ensures that at least one sentence is returned.

Parameters

$string

string

The string to operate on

$approxlen

int

The approximate number of characters

$hard

bool

If true, use a hard limit for the number of characters

Returns

stringThe resulting string

cCatPerm()

cCatPerm($widcat, $db) 

Parameters

$widcat

$db

Writes a note to deprecatedlog.txt

cDeprecated($message) : void

Parameters

$message

CONTENIDO die-alternative.

cDie(string $file, int $line, string $message) 

Logs the message and calls die().

Parameters

$file

string

File name (use FILE)

$line

int

Line number (use LINE)

$message

string

Message to display

CONTENIDO error

cError(\Multiple $file, $line, $message) 

Examples:

// New version
cWarning('Some error message');
// Old version
cWarning(__FILE__, __LINE__, 'Some error message');

Parameters

$file

\Multiple

parameters

$line

$message

cHandler_ItemArea()

cHandler_ItemArea($sName, $aAttribs, $sContent) 
deprecated 2012-03-03 Not supported any longer.

Parameters

$sName

$aAttribs

$sContent

cHandler_ItemData()

cHandler_ItemData($sName, $aAttribs, $sContent) 
deprecated 2012-03-03 Not supported any longer.

Parameters

$sName

$aAttribs

$sContent

cHandler_ItemName()

cHandler_ItemName($sName, $aAttribs, $sContent) 
deprecated 2012-03-03 Not supported any longer.

Parameters

$sName

$aAttribs

$sContent

cHandler_ModuleData()

cHandler_ModuleData($sName, $aAttribs, $sContent) 
deprecated 2012-03-03 Not supported any longer.

Parameters

$sName

$aAttribs

$sContent

cHandler_Translation()

cHandler_Translation($sName, $aAttribs, $sContent) 
deprecated 2012-03-03 Not supported any longer.

Parameters

$sName

$aAttribs

$sContent

cIDNADecode()

cIDNADecode($targetEncoding, $string) 
deprecated [2011-08-24] This function is not supported any longer

Parameters

$targetEncoding

$string

cIDNAEncode()

cIDNAEncode($sourceEncoding, $string) 
deprecated [2011-08-24] This function is not supported any longer

Parameters

$sourceEncoding

$string

Includes a file and takes care of all path transformations.

cInclude(string $sWhere, string $sWhat, bool $bForce, string $bReturnPath) : void

Example: cInclude('classes', 'class.backend.php');

Currently defined areas:

frontend Path to the current frontend conlib Path to conlib [deprecated] pear Path to the bundled pear copy [deprecated] classes Path to the CONTENIDO classes (see NOTE below) cronjobs Path to the cronjobs external Path to the external tools includes Path to the CONTENIDO includes scripts Path to the CONTENIDO scripts module Path to module

NOTE: Since CONTENIDO (since v 4.9.0) provides autoloading of required class files, there is no need to load CONTENIDO class files of by using cInclude().

Parameters

$sWhere

string

The area which should be included

$sWhat

string

The filename of the include

$bForce

bool

If true, force the file to be included

$bReturnPath

string

Flag to return the path instead of including the file

cInitializeArrayKey()

cInitializeArrayKey($aArray, $sKey, $mDefault) 
deprecated 2012-09-05 use function located in cArray instead of this function

Parameters

$aArray

$sKey

$mDefault

CONTENIDO warning

cWarning() 

Examples:

// New version
cWarning('Some warning message');
// Old version
cWarning(__FILE__, __LINE__, 'Some warning message');

calcDensity()

calcDensity($singlewordcounter, $string, $quantifier) 

Parameters

$singlewordcounter

$string

$quantifier

Calls the plugin's store methods.

callPluginStore(string $entity) 

Parameters

$entity

string

Name of the directory to scan

capi_cat_getlevelnode()

capi_cat_getlevelnode($idcat, $minLevel) 
deprecated [2012-06-23] Use cApiCatGetLevelNode()

Parameters

$idcat

$minLevel

cecCreateBaseHref()

cecCreateBaseHref($sCurrentBaseHref) 

Parameters

$sCurrentBaseHref

cecFrontendCategoryAccess()

cecFrontendCategoryAccess($idlang, $idcat, $user) 

Parameters

$idlang

$idcat

$user

cecFrontendCategoryAccess_Backend()

cecFrontendCategoryAccess_Backend($idlang, $idcat, $user) 

Parameters

$idlang

$idcat

$user

checkCatPermission()

checkCatPermission($idcatlang, $public) 

Parameters

$idcatlang

$public

checkImageEditingPosibility()

checkImageEditingPosibility() 
deprecated [2012-06-23] Use cApiImageCheckImageEditingPosibility()

Function checks if a language is associated with a given list of clients Fixed CON-200

checkLangInClients(array $aClients, integer $iLang, array $aCfg, object $oDb) : boolean

Parameters

$aClients

array
  • array of clients to check

$iLang

integer
  • language id which should be checked

$aCfg

array
  • CONTENIDO configruation array (no more needed)

$oDb

object
  • CONTENIDO database object (no more needed)

Returns

boolean- status (if language id corresponds to list of clients true otherwise false)

checkMySQLConnectivity()

checkMySQLConnectivity() 
deprecated [2012-01-18] cDb performs the check for itself. This method is no longer needed

must be done

checkPathInformation(string $strConUrl, string $strBrowserUrl) : string

Parameters

$strConUrl

string

CONTENIDO fullhtmlPath

$strBrowserUrl

string

current browser string

Returns

stringStatus of path comparement

Small hack to clean up unused sessions.

cleanupSessions() 

As we are probably soon rewriting the session management, this hack is OK.

deprecated [2012-07-??] PHP will handle cleaning up sessions

check path informations

compareUrlStrings($arrConUrl, $arrBrowserUrl, $isIP) 

checks two path informations against each other to get potential nonconformities

Parameters

$arrConUrl

$arrBrowserUrl

$isIP

Change the template of a category

conChangeTemplateForCat(int $idcat, int $idtpl) 

Parameters

$idcat

int

Category Id

$idtpl

int

Template Id

Copy article language entry.

conCopyArtLang(int $srcidart, int $dstidart, int $newtitle, int $useCopyLabel) 
global array $cfg
global int $lang

Parameters

$srcidart

int

$dstidart

int

$newtitle

int

$useCopyLabel

int

Copy article entry.

conCopyArticle(int $srcidart, int $targetcat, string $newtitle, bool $useCopyLabel) : bool
global object $auth

Parameters

$srcidart

int

$targetcat

int

$newtitle

string

$useCopyLabel

bool

Returns

bool

Copies container configuration entries from source container configuration to destination container configuration.

conCopyContainerConf(int $srcidtplcfg, int $dstidtplcfg) 

Parameters

$srcidtplcfg

int

$dstidtplcfg

int

Copies content entries from source article language to destination article language.

conCopyContent(int $srcidartlang, int $dstidartlang) 

Parameters

$srcidartlang

int

$dstidartlang

int

Copies meta tag entries from source article language to destination article language.

conCopyMetaTags(int $srcidartlang, int $dstidartlang) 

Parameters

$srcidartlang

int

$dstidartlang

int

Copies template configuration entry from source template configuration.

conCopyTemplateConfiguration(int $srcidtplcfg) 

Parameters

$srcidtplcfg

int

Recursive function to create an location string

conCreateLocationString(int $idcat, string $seperator, string $catStr, bool $makeLink, string $linkClass, int $firstTreeElementToUse, int $uselang, bool $final, bool $usecache) : string

Parameters

$idcat

int

ID of the starting category

$seperator

string

Seperation string

$catStr

string

Category location string (by reference)

$makeLink

bool

Create location string with links

$linkClass

string

Stylesheet class for the links

$firstTreeElementToUse

int

First navigation Level location string should be printed out (first level = 0!!)

$uselang

int

Id of language

$final

bool

$usecache

bool

Returns

stringLocation string

Fetch all deeper categories by a given id

conDeeperCategoriesArray(int $idcat) : array

Parameters

$idcat

int

Id of category

Returns

arrayArray with all deeper categories

Delete an Article and all other related entries

conDeleteart(int $idart) 

Parameters

$idart

int

Article Id

Edit an existing article

conEditArt(mixed $idcat, $idcatnew, $idart, $isstart, $idtpl, $idartlang, $idlang, $title, $summary, $artspec, $created, $lastmodified, $author, $online, $datestart, $dateend, $artsort, $keyart, $searchable, $sitemapprio, $changefreq) : void

Parameters

$idcat

mixed

many

$idcatnew

$idart

$isstart

$idtpl

$idartlang

$idlang

$title

$summary

$artspec

$created

$lastmodified

$author

$online

$datestart

$dateend

$artsort

$keyart

$searchable

$sitemapprio

$changefreq

Create a new Article

conEditFirstTime(mixed $idcat, $idcatnew, $idart, $isstart, $idtpl, $idartlang, $idlang, $title, $summary, $artspec, $created, $lastmodified, $author, $online, $datestart, $dateend, $artsort, $keyart, $searchable, $sitemapprio, $changefreq) : int

Parameters

$idcat

mixed

many

$idcatnew

$idart

$isstart

$idtpl

$idartlang

$idlang

$title

$summary

$artspec

$created

$lastmodified

$author

$online

$datestart

$dateend

$artsort

$keyart

$searchable

$sitemapprio

$changefreq

Returns

intId of the new article

Returns category tree structure.

conFetchCategoryTree(int $client, int $lang) : array

Parameters

$client

int

Uses global set client if not set

$lang

int

Uses global set language if not set

Returns

array

Set articles on/offline for the time management function

conFlagOnOffline() 

Generates the code for one article

conGenerateCode(int $idcat, int $idart, int $lang, int $client, int $layout, bool $save, $contype) : string

Parameters

$idcat

int

Id of category

$idart

int

Id of article

$lang

int

Id of language

$client

int

Id of client

$layout

int

Layout-ID of alternate Layout (if false, use associated layout)

$save

bool

Flag to persist generated code in database

$contype

Returns

stringThe generated code or "0601" if neither article nor category configuration was found

Create code for all articles

conGenerateCodeForAllArts() 

Generate code for all articles in a category

conGenerateCodeForAllArtsInCategory(int $idcat) 

Parameters

$idcat

int

Category ID

Generate code for all articles using one template

conGenerateCodeForAllArtsUsingTemplate(int $idtpl) 

Parameters

$idtpl

int

Template-Id

Create code for all arts using the same layout

conGenerateCodeForAllartsUsingLayout(int $idlay) 

Parameters

$idlay

int

Layout-ID

Create code for all articles using the same module

conGenerateCodeForAllartsUsingMod(int $idmod) 

Parameters

$idmod

int

Module id

Create code for one article in all categorys

conGenerateCodeForArtInAllCategories(int $idart) 

Parameters

$idart

int

Article ID

Generate code for the active client

conGenerateCodeForClient() 

(re)generate keywords for all articles of a given client (with specified language)

conGenerateKeywords(int $client, int $lang) : void
author Willi Man Created : 12.05.2004 Modified : 13.05.2004
copyright four for business AG 2003

Parameters

$client

int

Client

$lang

int

Language of a client

Returns all available meta tag types

conGetAvailableMetaTagTypes() : array

Returns

arrayAssoziative meta tags list

Returns category article id

conGetCategoryArticleId(int $idcat, int $idart) : int | null

Parameters

$idcat

int

$idart

int

Returns

intnull

Returns all categories in which the given article is in.

conGetCategoryAssignments(int $idart, \cDb | null $db) : array

Parameters

$idart

int

Article ID

$db

\cDbnull

If specified, uses the given db object (NOT used)

Returns

arrayFlat array which contains all category id's

Returns list of all configured container by template configuration id

conGetContainerConfiguration(int $idtplcfg) : array

Parameters

$idtplcfg

int

Template configuration id

Returns

arrayAssoziative array where the key is the number and value the container configuration

Get content from article by article language.

conGetContentFromArticle(int $iIdArtLang) : array

Parameters

$iIdArtLang

int

ArticleLanguageId of an article (idartlang)

Returns

arrayArray with content of an article indexed by content-types as follows: - $arr[type][typeid] = value;

conGetHtmlTranslationTable()

conGetHtmlTranslationTable($table, $flags) 

Parameters

$table

$flags

Get the meta tag value for a specific article

conGetMetaValue(int $idartlang, int $idmetatype) : string

Parameters

$idartlang

int

ID of the article

$idmetatype

int

Metatype-ID

Returns

string

Returns template configuration id for a configured article.

conGetTemplateConfigurationIdForArticle(int $idart, int $idcat, int $lang, int $client) : int | null

Parameters

$idart

int

$idcat

int

NOT used

$lang

int

$client

int

Returns

intnull

Returns template configuration id for a configured category

conGetTemplateConfigurationIdForCategory(int $idcat, int $lang, int $client) : int | null

Parameters

$idcat

int

$lang

int

$client

int

Returns

intnull

conGetTopmostCat()

conGetTopmostCat(int $idcat, int $minLevel) : int
todo Returns something....
global array $cfg
global int $client
global int $lang

Parameters

$idcat

int

$minLevel

int

Returns

int

Returns list of all used modules by template id

conGetUsedModules(int $idtpl) : array

Parameters

$idtpl

int

Template id

Returns

arrayAssoziative array where the key is the number and value the module id

conHtmlEntityDecode()

conHtmlEntityDecode($value, $flags, $encoding) 

Parameters

$value

$flags

$encoding

conHtmlSpecialChars()

conHtmlSpecialChars($value, $flags, $encoding) 

Parameters

$value

$flags

$encoding

conHtmlentities()

conHtmlentities($value, $flags, $encoding) 

Parameters

$value

$flags

$encoding

Checks if a article is locked or not

conIsLocked(int $idart, int $lang) : bool

Parameters

$idart

int

Article Id

$lang

int

Language Id

Returns

bool

Toggle the lock status of an article

conLock(int $idart, \ing $lang) 

Parameters

$idart

int

Article Id

$lang

\ing

Language Id

Freeze/Lock more articles.

conLockBulkEditing(array $idarts, int $idlang, bool $lock) 

Parameters

$idarts

array

All articles

$idlang

int

$lock

bool

Generate index of article content.

conMakeArticleIndex($idartlang, integer $idart) 

added by stese removed from function conSaveContentEntry before Touch the article to update last modified date

see \global\conSaveContentEntry

Parameters

$idartlang

$idart

integer

Toggle the online status of a category

conMakeCatOnline(int $idcat, int $lang, int $status) 

Parameters

$idcat

int

Id of the category

$lang

int

Id of the language

$status

int

Status of the category

Toggle the online status of an article

conMakeOnline(int $idart, \ing $lang) 

Parameters

$idart

int

Article Id

$lang

\ing

Language Id

Set the status from articles to online or offline.

conMakeOnlineBulkEditing(array $idarts, int $idlang, bool $online) 

Parameters

$idarts

array

All articles

$idlang

int

$online

bool

Toggle the public status of a category

conMakePublic(int | int $idcat, $lang, bool $public) 

Almost the same function as strMakePublic in functions.str.php (conDeeperCategoriesArray instead of strDeeperCategoriesArray)

Parameters

$idcat

intint

Category Id

$lang

$public

bool

Public status of the Article

Set a start-article

conMakeStart(int $idcatart, bool $isstart) 
fixme Do we still need the isstart. The old start compatibility has already been removed...

Parameters

$idcatart

int

Idcatart of the article

$isstart

bool

Start article flag

Move articles for the time management function

conMoveArticles() 

conPhp54Check()

conPhp54Check() 

Deletes old category article entries and other related entries from other tables.

conRemoveOldCategoryArticle(int $idcat, int $idart, int $idartlang, int $client, int $lang) 
global array $cfgClient

Parameters

$idcat

int

$idart

int

$idartlang

int

$client

int

$lang

int

Save a content element and generate index

conSaveContentEntry(int $idartlang, string $type, int $typeid, string $value, bool $bForce) : void

Parameters

$idartlang

int

idartlang of the article

$type

string

Type of content element

$typeid

int

Serial number of the content element

$value

string

Content

$bForce

bool

Not used: Was a flag to use existing db instance in global scope

Set code creation flag for one category article id to true

conSetCodeFlag(int $idcatart) 

Parameters

$idcatart

int

Category article id

Set code creation flag for several category article ids to true

conSetCodeFlagBulkEditing(array $idcatarts) 

Parameters

$idcatarts

array

List of category article ids

Set the meta tag value for a specific article.

conSetMetaValue(int $idartlang, int $idmetatype, string $value) : bool

Parameters

$idartlang

int

ID of the article

$idmetatype

int

Metatype-ID

$value

string

Value of the meta tag

Returns

boolwhether the meta value has been saved successfully

Synchronizes an article from source language to destination language.

conSyncArticle(int $idart, int $srclang, int $dstlang) : void

Parameters

$idart

int

Article id

$srclang

int

Source language id

$dstlang

int

Destination language id

Alias of cInclude.

contenido_include($sWhere, $sWhat, $bForce, $bReturnPath) 
deprecated 2012-09-12

Parameters

$sWhere

$sWhat

$bForce

$bReturnPath

Duplicate rights for any element.

copyRightsForElement(string $area, int $iditem, int $newiditem, int $idlang) : bool
author Martin Horwath
author Murat Purc
copyright dayside.net

Parameters

$area

string

Main area name (e. g. 'lay', 'mod', 'str', 'tpl', etc.)

$iditem

int

ID of element to copy

$newiditem

int

ID of the new element

$idlang

int

ID of language, if passed only rights for this language will be created, otherwhise for all existing languages

Returns

boolTrue on success otherwhise false

Creates HTML code for the bulk editing functions in the article overview.

createBulkEditingFunction(string $class, string $imageSrc, string $alt, string $onclick) : string

Parameters

$class

string

the class for the link

$imageSrc

string

the path to the image

$alt

string

the alt tag for the image

$onclick

string

[optional] the onlick attribute for the link

Returns

stringrendered HTML code

Creates a file.

createFile(string $filename, string $path) : \(void | \bool)

Exits the script, if filename is not valid or creation (touch or chmod) fails!

deprecated [2012-07-04] These functions are now in cFileHandler

Parameters

$filename

string

The file to create

$path

string

Path to the file

Returns

\(void\bool)Either true on success or nothing

createNavigationArray()

createNavigationArray($start_id, $db) 

Parameters

$start_id

$db

createNewWorkflow()

createNewWorkflow() 

Creates a random name (example: Passwords).

createRandomName(int $nameLength) : string

Parameters

$nameLength

int

Length of the generated string

Returns

stringRandom name

Create rights for any element

createRightsForElement(string $area, int $iditem, int $idlang) : bool
author Martin Horwath
author Murat Purc
copyright dayside.net

Parameters

$area

string

Main area name (e. g. 'lay', 'mod', 'str', 'tpl', etc.)

$iditem

int

ID of new element

$idlang

int

ID of language, if passed only rights for this language will be created, otherwhise for all existing languages

Returns

boolTrue on success otherwhise false

Returns the column structure of a table

dbGetColumns(\cDb $db, string $table) : array | bool

Parameters

$db

\cDb

$table

string

Returns

arrayboolEither assoziative column array or false

Returns existing indexes of a specific table.

dbGetIndexes(\cDb $db, string $table) : array

Parameters

$db

\cDb

$table

string

Returns

arrayAssoziative array where the key and the value is the index name

Returns the primary key column of a table

dbGetPrimaryKeyName(\cDb $db, string $table) : string

Parameters

$db

\cDb

$table

string

Returns

string

Checks, if passed table exists in the database

dbTableExists(\cDb $db, string $table) : bool

Parameters

$db

\cDb

$table

string

Returns

bool

dbUpdateSequence()

dbUpdateSequence($sequencetable, $table, $db) 
deprecated 2012-03-04 This function is not longer supported.

Parameters

$sequencetable

$table

$db

Updates a specific table.

dbUpgradeTable(\cDb $db, string $table, string $field, string $type, string $null, string $key, string $default, string $extra, string $upgradeStatement, bool $bRemoveIndexes) : bool

Used e. g. by CONTENIDO setup to create or update tables. Function logic: 1 .) Check, if the table exists 2a.) If not, create it with the field specification, exit 2b.) If the table exists, check, if the field exist 3 .) If not, try to find the field using previous names (if specified in $field like 'name1,name2') 4a.) If the field hasn't been found, create the field as specified, exit 4b.) If the field has been found using a previous name (if specified) rename the column to $field 5 .) As the field has been found, check, if the field's type is matching 5a.) If the type is matching, exit 5b.) If the field's content type is not matching, try to convert first (e.g. string to int or int to string), then use the upgrade statement if applicable

Note about the upgrade statement: - the code must be eval'able - the code needs to read $oldVal (old field value) and needs to set $newVal (value to which the field will be set) - $oldVal might be empty if the field didn't exist - $tableValues['fieldname'] contains the already existing values

Parameters

$db

\cDb

Database instance

$table

string

Name of table to create/update

$field

string

Name of field to create/update

$type

string

Data type of field. Feasible values are all possible data types e. g. int(10), varchar(32), datetime, varchar(255), text, tinyint(1)

$null

string

Parameter to forbid null values, feasible values '', 'NULL' or 'YES' where 'NULL' or 'YES' allows null values and '' doesn't

$key

string

The field will be added as a primary key, if value is 'PRI', otherwhise the value should be empty ''

$default

string

The default value for the field. Feasible is each possible value depending on passed $type

$extra

string

Additional info for the field, e. g. 'auto_increment', if the field should have the AUTO_INCREMENT attribute and empty otherwise.

$upgradeStatement

string

NOT USED AT THE MOMENT

$bRemoveIndexes

bool

Flag to remove all indexes

Returns

bool

debug()

debug($string) 

Parameters

$string

decDate()

decDate($dateArr, $amount, $unit, $PC_debug) 

Parameters

$dateArr

$amount

$unit

$PC_debug

Defines a constant if not defined before.

defineIfNotDefined(string $constant, mixed $value) 

Parameters

$constant

string

Name of constant to define

$value

mixed

It's value

define_if()

define_if($constant, $value) 
deprecated [2012-08-02] Use defineIfNotDefined() instead

Parameters

$constant

$value

Delete specified article specification

deleteArtspec(int $idartspec) : void

Parameters

$idartspec

int

article specification id

Delete rights for any element

deleteRightsForElement(string $area, int $iditem, int $idlang) 
author Martin Horwath
author Murat Purc
copyright dayside.net

Parameters

$area

string

main area name

$iditem

int

ID of new element

$idlang

int

ID of lang parameter

Remove a system property entry

deleteSystemProperty(string $type, string $name) : bool

Parameters

$type

string

The type of the item

$name

string

The name of the item

Returns

bool

Returns a formatted date and/or timestring according to the current settings

displayDatetime(mixed $timestamp, bool $date, bool $time) : string

Parameters

$timestamp

mixed

a timestamp. If no value is given the current time will be used.

$date

bool

if true the date will be included in the string

$time

bool

if true the time will be included in the string

Returns

stringthe formatted timestring.

displayPlugin()

displayPlugin($entity, $form) 
deprecated [2012-02-26] Function does not work and is not longer supported

Parameters

$entity

$form

doWorkflowAction()

doWorkflowAction($idartlang, $action) 

Parameters

$idartlang

$action

domxml_new_doc()

domxml_new_doc($version) 
deprecated 2011-09-02 this function is not supported any longer

Parameters

$version

domxml_new_xmldoc()

domxml_new_xmldoc($version) 
deprecated 2011-09-02 this function is not supported any longer

Parameters

$version

domxml_open_file()

domxml_open_file($filename, $mode, $error) 
deprecated 2011-09-02 this function is not supported any longer

Parameters

$filename

$mode

$error

domxml_open_mem()

domxml_open_mem($str, $mode, $error) 
deprecated 2011-09-02 this function is not supported any longer

Parameters

$str

$mode

$error

domxml_xslt_stylesheet()

domxml_xslt_stylesheet($xslstring) 
deprecated 2011-09-02 this function is not supported any longer

Parameters

$xslstring

domxml_xslt_stylesheet_doc()

domxml_xslt_stylesheet_doc($dom_document) 
deprecated 2011-09-02 this function is not supported any longer

Parameters

$dom_document

domxml_xslt_stylesheet_file()

domxml_xslt_stylesheet_file($xslfile) 
deprecated 2011-09-02 this function is not supported any longer

Parameters

$xslfile

editWorkflowStep()

editWorkflowStep($idworkflowitem) 

Parameters

$idworkflowitem

Clears CONTENIDO standard errorlog.txt

emptyLogFile() : string

Returns

stringMessage if clearing was successfull or not

Ends the timing process and logs it to the timings file

endAndLogTiming($uuid) 

Parameters

$uuid

int UUID which has been used for timing

Extract a number from a string

extractNumber(string $string) 

Parameters

$string

string

String var by reference

fakeheader()

fakeheader($time) 
deprecated [2012-03-05] This function is not longer supported.

Parameters

$time

Writes passed data into a file using binary mode.

fileEdit(string $filename, string $sCode, string $path) : \(string | \void)

Exits the script, if file could not opened!

deprecated [2012-07-04] These functions are now in cFileHandler

Parameters

$filename

string

The file to write the content

$sCode

string

File content to write

$path

string

Path to the file

Returns

\(string\void)Either content of file o nothing

Returns MIME content-type for a file.

fileGetMimeContentType(string $file) : string | null
deprecated [2012-07-04] These functions are now in cFileHandler

Parameters

$file

string

Full path and name of file

Returns

stringnullMIME content-type on success, or null

Validates passed filename.

fileValidateFilename(string $filename, bool $notifyAndExitOnFailure) : \(void | \bool)

Filename can contain alphanumeric characters, dot, underscore or a hyphen.

Exits the script, if second parameter is set to true and validation fails!

deprecated 2012-08-16 Use cFileHandler::validateFilename instead

Parameters

$filename

string

The filename to validate

$notifyAndExitOnFailure

bool

Flag to display notification and to exit further script execution, ifd validation fails

Returns

\(void\bool)Either validation result or nothing (depends on second parameter)

Generates check box elements

formGenerateCheckbox($name, $value, $checked, $caption) : \Generated
author Timo A. Hummel <Timo.Hummel@4fb.de>
copyright four for business AG

Parameters

$name

Name of the checkbox

$value

Value of the checkbox

$checked

Initially checked?

$caption

Returns

\Generatedfield code

Generates textial Input Form elements

formGenerateField($type, $name, $initvalue, $width, $maxlen) : \Generated
author Timo A. Hummel <Timo.Hummel@4fb.de>
copyright four for business AG

Parameters

$type

Either "text", "password" or "textbox"

$name

Name of the field

$initvalue

Init value of the field

$width

$maxlen

Maximum length of the field

Returns

\Generatedfield code

frontendusers_groupselect_canonicalVariables()

frontendusers_groupselect_canonicalVariables() 

frontendusers_groupselect_display()

frontendusers_groupselect_display() 

frontendusers_groupselect_getTitle()

frontendusers_groupselect_getTitle() 

frontendusers_groupselect_getvalue()

frontendusers_groupselect_getvalue($key) 

Parameters

$key

frontendusers_groupselect_store()

frontendusers_groupselect_store($variables) 

Parameters

$variables

frontendusers_groupselect_wantedVariables()

frontendusers_groupselect_wantedVariables() 

frontendusers_valid_from_display()

frontendusers_valid_from_display() 

frontendusers_valid_from_getTitle()

frontendusers_valid_from_getTitle() 

frontendusers_valid_from_store()

frontendusers_valid_from_store($variables) 

Parameters

$variables

frontendusers_valid_from_wantedVariables()

frontendusers_valid_from_wantedVariables() 

frontendusers_valid_to_display()

frontendusers_valid_to_display() 

frontendusers_valid_to_getTitle()

frontendusers_valid_to_getTitle() 

frontendusers_valid_to_store()

frontendusers_valid_to_store($variables) 

Parameters

$variables

frontendusers_valid_to_wantedVariables()

frontendusers_valid_to_wantedVariables() 

Function reduces long path names and creates a dynamic tooltipp which shows the full path name on mouseover

generateDisplayFilePath(string $sDisplayPath, int $iLimit) : string
author Timo Trautmann (4fb)

Parameters

$sDisplayPath

string

Original filepath

$iLimit

int

Limit of chars which were displayed directly. If the path string is shorter there will be no tooltipp

Returns

stringContains short path name and tooltipp if neccessary

getActionSelect()

getActionSelect($idartlang, $idusersequence) 

Parameters

$idartlang

$idusersequence

Processes get all existing active CMS_.

getAktuellType(array $r, array $aList) 

.. tags within passed code

Parameters

$r

array

active CMS variables

$aList

array

CMS_...tags list

Returns a list with all clients and languages.

getAllClientsAndLanguages() : array

Returns

arrayIndexed array where the value is an assoziative array as follows:
        - $arr[0]['idlang']
        - $arr[0]['langname']
        - $arr[0]['idclient']
        - $arr[0]['clientname']
        

Returns the idartlang for a given article and language

getArtLang(int $idart, int $idlang) : mixed
author Timo A. Hummel <Timo.Hummel@4fb.de>
copyright four for business AG 2003

Parameters

$idart

int

ID of the article

$idlang

int

ID of the language

Returns

mixedidartlang of the article or false if nothing was found

Retrieve list of article specifications for current client and language

getArtspec() : array

Returns

arraylist of article specifications

Extracts the available content-types from the database

getAvailableContentTypes(int $idartlang) : void

Creates an array $a_content[type][number] = content string f.e. $a_content['CMS_HTML'][1] = content string Same for array $a_description

Parameters

$idartlang

int

Language specific ID of the arcticle

Get multi-language day

getCanonicalDay(int $iDay) : string

Parameters

$iDay

int

The day number of date(w)

Returns

stringDayname of current language

Returns multi-language month name (canonical) by its numeric value

getCanonicalMonth(int $month) : string

Parameters

$month

int

Returns

string

getCatLang()

getCatLang($idcat, $idlang) 

Parameters

$idcat

$idlang

Return category name

getCategoryName($cat_id, $db) 

Parameters

$cat_id

$db

Return path of a given category up to a certain level

getCategoryPath($cat_id, $level, $reverse, $db) 

Parameters

$cat_id

$level

$reverse

$db

getClientName()

getClientName($idclient) 
deprecated [2012-06-21] Use cApiClientCollection->getClientname()

Parameters

$idclient

Returns current user sequence, either from workflow article allocations or from workflow user sequnces.

getCurrentUserSequence(int $idartlang, int $defaultidworkflow) : int | false

Parameters

$idartlang

int

Article language id

$defaultidworkflow

int

Default workflow id

Returns

intfalseId of found user sequence or false

Returns the size of a directory.

getDirectorySize(string $sDirectory, bool $bRecursive) : bool | int

AKA the combined filesizes of all files within it. Note that this function uses filesize(). There could be problems with files that are larger than 2GiB

Parameters

$sDirectory

string

The directory

$bRecursive

bool

true if all the subdirectories should be included in the calculation

Returns

boolintReturns false in case of an error or the size

Returns the current effective setting for a property.

getEffectiveSetting(string $type, string $name, string $default) : mixed

The order is: System => Client => Group => User

System properties can be overridden by the group, and group properties can be overridden by the user.

Parameters

$type

string

The type of the item

$name

string

The name of the item

$default

string

Optional default value

Returns

mixedboolean false if nothing was found

Returns the current effective settings for a type of properties.

getEffectiveSettingsByType(string $type) : array

The order is: System => Client => Group => User

System properties can be overridden by the group, and group properties can be overridden by the user.

Parameters

$type

string

The type of the item

Returns

arrayValue

Returns encoding for language with ID $iLang (global $lang in CONTENIDO style).

getEncodingByLanguage(\cDb $db, int $lang) : string

The parameter $db has to be an instance of cDb (global $db in con) and $cfg is the equivalent to global $cfg array in CONTENIDO. If no encoding is found or any parameter is not valid, the function will return false, otherwise the encoding as string like it is stored in database. modified 18.03.2008 - Removed special mySQl behaviour (using db object instead) Timo Trautmann

Parameters

$db

\cDb

not used any more!

$lang

int

Returns

string

Reads content of file into memory using binary mode and returns it back.

getFileContent(string $filename, string $path) : \(string | \void)

Exits the script, if file could not opened!

deprecated [2012-07-04] These functions are now in cFileHandler

Parameters

$filename

string

The file to get the content

$path

string

Path to the file

Returns

\(string\void)Either content of file o nothing

getFileExtension()

getFileExtension($filename) 
deprecated [2012-06-20] Use getFileType() from functions.file.php

Parameters

$filename

Function returns file meta information from database (used when files were versionned or description is displayed)

getFileInformation(int $iIdClient, string $sFilename, string $sType, \DB_Contenido $oDb) : array
author Timo Trautmann

Parameters

$iIdClient

int
  • id of client which contains this file

$sFilename

string
  • name of corresponding file

$sType

string
  • type of file (css, js or templates)

$oDb

\DB_Contenido
  • CONTENIDO database object

Returns

arrayIndexes: idsfi - Primary key of database record created - Datetime when file was created lastmodified - Datetime when file was last modified author - Author of file (CONTENIDO Backend User) modifiedby - Last modifier of file (CONTENIDO Backend User) description - Description which was inserted for this file

Returns the filetype (extension).

getFileType(string $filename) : string

Parameters

$filename

string

The file to get the type

Returns

stringFiletype

getGroupIDs()

getGroupIDs($db) 

Parameters

$db

getGroupOrUserName()

getGroupOrUserName($uid) 

Parameters

$uid

Returns the id of passed area

getIDForArea(int | string $area) : int

Parameters

$area

intstring

Area name or id

Returns

intstring

getJobFileName()

getJobFileName($jobname, $PC_writeDir) 

Parameters

$jobname

$PC_writeDir

Returns all languages (language ids and names) of an client

getLanguageNamesByClient(int $client) : array

Parameters

$client

int

Returns

arrayList of languages where the key is the language id and value the language name

Returns list of languages (language ids) by passed client.

getLanguagesByClient(int $client) : array

Parameters

$client

int

Returns

array

getLastActialRunTime()

getLastActialRunTime($jobname, $PC_writeDir) 

Parameters

$jobname

$PC_writeDir

getLastScheduledRunTime()

getLastScheduledRunTime($job, $PC_debug) 

Parameters

$job

$PC_debug

getLastWorkflowStatus()

getLastWorkflowStatus($idartlang) 

Parameters

$idartlang

getLevel()

getLevel($catid, $db) 

Parameters

$catid

$db

Return location string of a given category

getLocationString($iStartCat, $level, $seperator, $sLinkStyleClass, $sTextStyleClass, $fullweblink, $reverse, $mod_rewrite, $db) 

Parameters

$iStartCat

$level

$seperator

$sLinkStyleClass

$sTextStyleClass

$fullweblink

$reverse

$mod_rewrite

$db

Returns the name of the numeric frame given

getNamedFrame(int $frame) : string

Parameters

$frame

int

Frame number

Returns

stringCanonical name of the frame

getNextId()

getNextId($row) 

Parameters

$row

getParent()

getParent($preid, $db) 

Parameters

$preid

$db

Returns the parent id of passed area

getParentAreaId(mixed $area) : int

Parameters

$area

mixed

Returns

int

getPhpModuleInfo()

getPhpModuleInfo($moduleName) 
deprecated [2012-03-10] This function is not longer supported.

Parameters

$moduleName

getProtectedSubCategories()

getProtectedSubCategories($parent_id, $db) 

Parameters

$parent_id

$db

get subtree by a given id, without protected and invisible categories

getProtectedSubTree($idcat_start, $db) : array
copyright four for business AG

Parameters

$idcat_start

$db

Returns

arrayArray with all deeper categories

getStrExpandCollapseButton()

getStrExpandCollapseButton($item, $catName) 

Parameters

$item

$catName

getSubCategories()

getSubCategories($parent_id, $db) 

Parameters

$parent_id

$db

get subtree by a given id

getSubTree($idcat_start, $db) : array

Parameters

$idcat_start

$db

Returns

arrayArray with all deeper categories

Retrieves all available system properties.

getSystemProperties(bool $bGetPropId) : array

Array format:

$array[$type][$name] = $value;

modified Timo Trautmann 22.02.2008 Support for editing name and type editing by primaray key idsystemprop if bGetPropId is set: $array[$type][$name][value] = $value; $array[$type][$name][idsystemprop] = $idsystemprop;

Parameters

$bGetPropId

bool

If true special mode is activated which generates for each property a third array, which also contains idsystemprop value

Returns

array

Gets system property entries

getSystemPropertiesByType(string $type) : array

Parameters

$type

string

The type of the properties

Returns

arrayAssoziative array like $arr[name] = value

Gets a system property entry

getSystemProperty(string $type, string $name) : string

Parameters

$type

string

The type of the item

$name

string

The name of the item

Returns

stringbool property value or false if nothing was found

getTeaserDeeperCategories()

getTeaserDeeperCategories($iIdcat, $db) 

Parameters

$iIdcat

$db

getTeaserImage()

getTeaserImage($text, $return) 
deprecated 2012-03-05 This function is not longer supported.

Parameters

$text

$return

getTemplateSelect()

getTemplateSelect() 

getTimeUnitSelector()

getTimeUnitSelector($listid, $default) 

Parameters

$listid

$default

getUplExpandCollapseButton()

getUplExpandCollapseButton($item) 

Parameters

$item

getUsers()

getUsers($listid, $default) 

Parameters

$listid

$default

getWorkflowForCat()

getWorkflowForCat($idcat) 

Parameters

$idcat

getWorkflowForUserSequence()

getWorkflowForUserSequence($usersequence) 

Parameters

$usersequence

getWorkflowList()

getWorkflowList() 

getWorkflowUsers()

getWorkflowUsers($idworkflowitem) 

Parameters

$idworkflowitem

getmicrotime()

getmicrotime() 

html_doc()

html_doc($html_doc, $from_file) 
deprecated 2011-09-02 this function is not supported any longer

Parameters

$html_doc

$from_file

html_doc_file()

html_doc_file($filename) 
deprecated 2011-09-02 this function is not supported any longer

Parameters

$filename

htmldecode()

htmldecode($string) 

Parameters

$string

Special version of htmlentites for iso-8859-2 Returns transformed string

htmlentities_iso88592(string $input) : string

Parameters

$input

string

Returns

string

humanReadableSize()

humanReadableSize($number) 

Parameters

$number

human_readable_size()

human_readable_size($number) 
deprecated [2012-08-02] Use humanReadableSize() instead

Parameters

$number

gettext wrapper (for future extensions).

i18n(string $string, string $domain) : string

Usage: i18n('Your text which has to be translated');

Parameters

$string

string

The string to translate

$domain

string

The domain to look up

Returns

stringReturns the translation

Emulates GNU gettext

i18nEmulateGettext(string $string, string $domain) : string

Parameters

$string

string

The string to translate

$domain

string

The domain to look up

Returns

stringReturns the translation

Returns the available_languages array to prevent globals.

i18nGetAvailableLanguages() : array

Returns

arrayAll available languages

Initializes the i18n stuff.

i18nInit(string $localePath, string $langCode) 

Parameters

$localePath

string

Path to the locales

$langCode

string

Language code to set

Tries to match the language given by $accept to one of the languages in the system.

i18nMatchBrowserAccept(string $accept) : string

Parameters

$accept

string

Language to accept

Returns

stringThe locale key for the given accept string

Registers a new i18n domain.

i18nRegisterDomain(string $domain, string $localePath) : string

Parameters

$domain

string

Domain to bind to

$localePath

string

Path to the locales

Returns

stringReturns the translation

Strips all unnecessary information from the $accept string.

i18nStripAcceptLanguages(string $accept) : array

Example: de,nl;q=0.7,en-us;q=0.3 would become an array with de,nl,en-us

Parameters

$accept

string

Comma searated list of languages to accept

Returns

arrayarray with the short form of the accept languages

Includes plugins for a given entity.

includePlugins($entity) 

Parameters

$entity

Name of the directory to scan

Installation steps to install a new plugin Function differ between extracted and Zip archive plugins

installationRoutine(\cGuiPage $page, boolean $isExtracted, string $extractedPath) 

Parameters

$page

\cGuiPage

$isExtracted

boolean

$extractedPath

string

foldername from extracted plugin

IP match

ipMatch(string $network, string $mask, string $ip) : boolean

Parameters

$network

string

$mask

string

$ip

string

Returns

boolean

Checks if a value is alphanumeric

isAlphanumeric(mixed $test, bool $umlauts) : bool

Parameters

$test

mixed

Value to test

$umlauts

bool

[Use german Umlaute] Optional

Returns

boolValue is alphanumeric

isAnimGif()

isAnimGif($sFile) 
deprecated [2012-06-23] Use cApiImageIsAnimGif()

Parameters

$sFile

Checks if an article is assigned to multiple categories

isArtInMultipleUse(int $idart) : bool

Parameters

$idart

int

Article-Id

Returns

boolArticle assigned to multiple categories

isCurrentEditor()

isCurrentEditor($uid) 

Parameters

$uid

isGroup()

isGroup($uid) 

Parameters

$uid

Check for valid ip adress

isIPv4(string $strHostAdress) : bool

Parameters

$strHostAdress

string

IP adress

Returns

boolIf string is a valid ip or not

isImageMagickAvailable()

isImageMagickAvailable() 
deprecated [2012-06-21] Use capiIsImageMagickAvailable() from functions.api.images.php

Return true if $parentid is parent of $catid

isParent($parentid, $catid, $db) 

Parameters

$parentid

$catid

$db

Checks if the script is being runned from the web

isRunningFromWeb() : bool

Returns

boolTrue if the script is running from the web

Checks if an article is a start article of a category.

isStartArticle(int $idartlang, int $idcat, int $idlang, \cDb | null $db) : bool
global array $cfg

Parameters

$idartlang

int

$idcat

int

$idlang

int

$db

\cDbnull

(NOT used)

Returns

bool

Returns wether a string is UTF-8 encoded or not

isUtf8(string $input) : bool

Parameters

$input

string

Returns

bool

Checks if passed email address is valid or not

isValidMail(string $email, bool $strict) 

Parameters

$email

string

$strict

bool

No more used!

is_alphanumeric()

is_alphanumeric($test, $umlauts) 
deprecated [2012-08-02] Use isAlphanumeric() instead

Parameters

$test

$umlauts

is_dbfs()

is_dbfs($file) 
deprecated [2012-06-20] Use cApiDbfs::isDbfs()

Parameters

$file

is_utf8()

is_utf8($input) 
deprecated [2012-08-02] Use isUtf8() instead

Parameters

$input

keywordDensity()

keywordDensity($headline, $text) 

Parameters

$headline

$text

lTrimZeros()

lTrimZeros($number) 

Parameters

$number

Deactivate a language

langActivateDeactivateLanguage(int $idlang, int $active) : bool

Parameters

$idlang

int

$active

int

Returns

bool

Delete a language

langDeleteLanguage(int $iIdLang, int $iIdClient) 

Parameters

$iIdLang

int

Id of the language

$iIdClient

int

Id of the client, uses global client id by default

Duplicate a language

langDuplicateFromFirstLanguage(int $client, int $idlang) 
deprecated [2012-03-05] This function is not longer supported.

Parameters

$client

int

Id of the client

$idlang

int

Id of the language

Edit a language

langEditLanguage(int $idlang, string $langname, string $encoding, int $active, string $direction) : bool

Parameters

$idlang

int

$langname

string

Name of the language

$encoding

string

$active

int

Flag for active state, 1 or 0

$direction

string

Returns

bool

Returns the base direction of text (ltr = left to right, rtl = right to left) by language id

langGetTextDirection(int $idlang, \cDb $db) : string

Parameters

$idlang

int

$db

\cDb

Is not in use

Returns

string'ltr' or 'rtl'

Create a new language

langNewLanguage(string $name, int $client) 

Parameters

$name

string

Name of the language

$client

int

Id of client

Rename a language

langRenameLanguage(int $idlang, string $name) : bool

Parameters

$idlang

int

Id of the language

$name

string

Name of the language

Returns

bool

Deletes the layout with the given ID from the database and the file system.

layDeleteLayout(int $idlay) : string

Parameters

$idlay

int

the ID of the layout

Returns

stringan error code if the layout is still in use

Edit or Create a new layout

layEditLayout(int $idlay, string $name, string $description, string $code) : int
author Olaf Niemann <olaf.niemann@4fb.de> @copryright four for business AG <www.4fb.de>

Parameters

$idlay

int

Id of the Layout

$name

string

Name of the Layout

$description

string

Description of the Layout

$code

string

Layout HTML Code

Returns

int$idlay Id of the new or edited Layout

linksort()

linksort($sErrors) 

Parameters

$sErrors

locale_arsort()

locale_arsort($locale, $array) 
deprecated [2012-08-02] Use cArray::sortWithLocale() instead

Parameters

$locale

$array

logMessage()

logMessage($msg, $PC_writeDir, $PC_useLog, $PC_debug) 

Parameters

$msg

$PC_writeDir

$PC_useLog

$PC_debug

mailLogBulkEditingFunctions()

mailLogBulkEditingFunctions() 

Takes an associative array where the keys represent the mail addresses and the values optionally represent the mailer name and returns an HTML representation in the following form: Vorname Nachname <vorname.nachname@domain.tld> Vorname2 Nachname2 <vorname2.nachname2@domain2.tld>

mailLogDecodeAddresses(array $addresses) : string

Parameters

$addresses

array

associative array containing the mail addresses as keys and the mailer names as values

Returns

stringHTML code showing the given mail addresses and names

markLastRun()

markLastRun($jobname, $lastRun, $PC_writeDir) 

Parameters

$jobname

$lastRun

$PC_writeDir

Write JavaScript to mark

markSubMenuItem(int $menuitem, bool $return) 

Parameters

$menuitem

int

Which menuitem to mark

$return

bool

Return or echo script

Now the function supports formated strings like %s.

mi18n(string $string) : string

e.g. echo mi18n('May the %s be with %s', 'force', 'you'); will output: May the force be with you

Parameters

$string

string

the string to translate

Returns

stringthe translated string

modDeleteModule()

modDeleteModule($idmod) 

Parameters

$idmod

modEditModule()

modEditModule($idmod, $name, $description, $input, $output, $template, $type) 

Parameters

$idmod

$name

$description

$input

$output

$template

$type

modTestModule()

modTestModule($code, $id, $output) 

Parameters

$code

$id

$output

Returns value of an array key (assoziative or indexed).

mr_arrayValue(array $array, mixed $key, mixed $default) : mixed

Shortcut function for some ways to access to arrays:

// old way
if (is_array($foo) && isset($foo['bar']) && $foo['bar'] == 'yieeha') {
    // do something
}

// new, more readable way:
if (mr_arrayValue($foo, 'bar') == 'yieeha') {
    // do something
}

// old way
if (is_array($foo) && isset($foo['bar'])) {
    $jep = $foo['bar'];
} else {
    $jep = 'yummy';
}

// new way
$jep = mr_arrayValue($foo, 'bar', 'yummy');

Parameters

$array

array

The array

$key

mixed

Position of an indexed array or key of an assoziative array

$default

mixed

Default value to return

Returns

mixedEither the found value or the default value

Replaces existing ancors inside passed code, while rebuilding the urls.

mr_buildGeneratedCode(string $code) : string

Will be called by chain 'Contenido.Content.conGenerateCode' or 'Contenido.Frontend.HTMLCodeOutput' depening on mod_rewrite settings.

Parameters

$code

string

Code to prepare

Returns

stringNew code

Works as a wrapper for Contenido_Url.

mr_buildNewUrl(string $url) : string

Will also be called by chain 'Contenido.Frontend.CreateURL'.

todo : Still exists bcause of downwards compatibility (some other modules/plugins are using it)

Parameters

$url

string

URL to rebuild

Returns

stringNew URL

Processes mod_rewrite related job for duplicated articles.

mr_conCopyArtLang(array $data) : array

Will be called by chain 'Contenido.Article.conCopyArtLang_AfterInsert'.

Parameters

$data

array

Assoziative array with record entries

Returns

arrayLoop through of arguments

Processes mod_rewrite related job for articles beeing moved.

mr_conMoveArticles(array $data) : array

Will be called by chain 'Contenido.Article.conMoveArticles_Loop'.

Parameters

$data

array

Assoziative array with record entries

Returns

arrayLoop through of arguments

Processes mod_rewrite related job for saved articles (new or modified article).

mr_conSaveArticle(array $data) : array

Will be called by chain 'Contenido.Action.con_saveart.AfterCall'.

Parameters

$data

array

Assoziative array with some article properties

Returns

arrayPassed parameter

Processes mod_rewrite related job for synchronized articles.

mr_conSyncArticle(array $data) : array

Will be called by chain 'Contenido.Article.conSyncArticle_AfterInsert'.

Parameters

$data

array

Assoziative array with record entries as follows: array( 'src_art_lang' => Recordset (assoziative array) of source item from con_art_lang table 'dest_art_lang' => Recordset (assoziative array) of inserted destination item from con_art_lang table );

Returns

arrayLoop through of argument

Debug output only during development

mr_debugOutput(bool $print) : mixed

Parameters

$print

bool

Flag to echo the debug data

Returns

mixedEither the debug data, if parameter $print is set to true, or nothing

Returns the mod rewrite configuration array of an client.

mr_getConfiguration(int $clientId) : array | null

File is placed in /contenido/mod_rewrite/includes/and is named like config.mod_rewrite_{client_id}.php.

Parameters

$clientId

int

Id of client

Returns

arraynull

Minimalistic'n simple way to get request variables.

mr_getRequest(string $key, mixed $default) : mixed

Checks occurance in $_GET, then in $_POST. Uses trim() and strip_tags() to preclean data.

Parameters

$key

string

Name of var to get

$default

mixed

Default value to return

Returns

mixedThe value

Replaces calling of header method for redirects in front_content.php, used during development.

mr_header($header) 

Parameters

$header

Header value for redirect

Returns amr related translation text

mr_i18n(string $key) : string

Parameters

$key

string

The message id as string

Returns

stringRelated message

Loads Advanced Mod Rewrite configuration for passed client using serialized file containing the settings.

mr_loadConfiguration(int $clientId, bool $forceReload) 

File is placed in /contenido/mod_rewrite/includes/and is named like config.mod_rewrite_{client_id}.php.

Parameters

$clientId

int

Id of client

$forceReload

bool

Flag to force to reload configuration, e. g. after done changes on it

Database query helper.

mr_queryAndNextRecord(string $query) : mixed

Used to execute a select statement and to return the result of first recordset.

Minimizes following code:

// default way
$db  = cRegistry::getDb();
$sql = "SELECT * FROM foo WHERE bar='foobar'";
$db->query($sql);
$db->next_record();
$data = $db->Record;

// new way
$sql  = "SELECT * FROM foo WHERE bar='foobar'";
$data = mr_queryAndNextRecord($sql);

Parameters

$query

string

Query to execute

Returns

mixedAssoziative array including recordset or null

Cleanups passed string from characters beeing repeated two or more times

mr_removeMultipleChars(string $char, string $string) : string

Parameters

$char

string

Character to remove

$string

string

String to clean from character

Returns

stringCleaned string

Request cleanup function.

mr_requestCleanup(mixed $data, array $options) : mixed

Request data is allways tainted and must be filtered. Pass the array to cleanup using several options. Emulates array_walk_recursive().

Parameters

$data

mixed

Data to cleanup

$options

array

Default options array, provides only 'filter' key with several filter functions which are to execute as follows: $options['filter'] = array('trim', 'myFilterFunc'); If no filter functions are set, 'trim', 'strip_tags' and 'stripslashes' will be used by default. A userdefined function must accept the value as a parameter and must return the filtered parameter, e. g. function myFilter($data) { // do what you want with the data, e. g. cleanup of xss content return $data; }

Returns

mixedCleaned data

Includes the frontend controller script which parses the url and extacts needed data like idcat, idart, lang and client from it.

mr_runFrontendController() : bool

Will be called by chain 'Contenido.Frontend.AfterLoadPlugins' at front_content.php.

Returns

boolJust a return value

Sets language of client, like done in front_content.php

mr_setClientLanguageId(int $client) 

Parameters

$client

int

Client id

Saves the mod rewrite configuration array of an client.

mr_setConfiguration(int $clientId, array $config) : bool

File is placed in /contenido/mod_rewrite/includes/and is named like config.mod_rewrite_{client_id}.php.

Parameters

$clientId

int

Id of client

$config

array

Configuration to save

Returns

bool

Processes mod_rewrite related job after copying a category subtree.

mr_strCopyCategory(array $data) : array

Will be called by chain 'Contenido.Category.strCopyCategory'.

Parameters

$data

array

Assoziative array with some values

Returns

arrayPassed parameter

Processes mod_rewrite related job after moving a category subtree.

mr_strMoveSubtree(array $data) : array

Will be called by chain 'Contenido.Action.str_movesubtree.AfterCall'.

Parameters

$data

array

Assoziative array with some values

Returns

arrayPassed parameter

Processes mod_rewrite related job after moving a category up.

mr_strMoveUpCategory(int $idcat) : int

Will be called by chain 'Contenido.Action.str_moveupcat.AfterCall'.

todo do we really need processing of the category? there is no mr relevant data changes while moving the category on same level, level and name won't change

Parameters

$idcat

int

Category id

Returns

intCategory id

Processes mod_rewrite related job after moving a category down.

mr_strMovedownCategory(int $idcat) : int

Will be called by chain 'Contenido.Action.str_movedowncat.AfterCall'.

todo do we really need processing of the category? there is no mr relevant data changes while moving the category on same level, level and name won't change

Parameters

$idcat

int

Id of category beeing moved down

Returns

intCategory id

Processes mod_rewrite related job for created new category.

mr_strNewCategory(array $data) : array

Will be called by chain 'Contenido.Action.str_newcat.AfterCall'.

Parameters

$data

array

Assoziative array with some values

Returns

arrayPassed parameter

Processes mod_rewrite related job for created new tree.

mr_strNewTree(array $data) : array

Will be called by chain 'Contenido.Action.str_newtree.AfterCall'.

Parameters

$data

array

Assoziative array with some values

Returns

arrayPassed parameter

Processes mod_rewrite related job for renamed category 2010-02-01: and now all existing subcategories and modify their paths too.

mr_strRenameCategory(array $data) : array

.. 2010-02-01: max 50 recursion level

Will be called by chain 'Contenido.Action.str_renamecat.AfterCall'.

Parameters

$data

array

Assoziative array with some values

Returns

arrayPassed parameter

Processes mod_rewrite related job during structure synchronisation process, sets the urlpath of current category.

mr_strSyncCategory(array $data) : array

Will be called by chain 'Contenido.Category.strSyncCategory_Loop'.

Parameters

$data

array

Assoziative array with some values

Returns

arrayPassed parameter

notifyOnError()

notifyOnError($errortitle, $errormessage) 
deprecated 2012-09-04 Use cWarning or the like.

Parameters

$errortitle

$errormessage

parseCronFile()

parseCronFile($PC_cronTabFile, $PC_debug) 

Parameters

$PC_cronTabFile

$PC_debug

parseElement()

parseElement($element, $targetArray, $numberOfElements) 

Parameters

$element

$targetArray

$numberOfElements

Grabs phpinfo() output.

phpInfoToHtml() : string

Returns

stringHTML output of phpinfo()

Function is called after the plugins have been loaded.

piUsAfterLoadPlugins() 

If the string placeholder in the example URL http://www.domain.de/placeholder is a defined short URL, the user is redirected to the correct URL.

Function is called after an article has been saved.

piUsConSaveArtAfter(array $values) 

Checks whether a short URL has been given via $_POST and saves/deletes it.

Parameters

$values

array

the values which are saved

Constructs the HTML code containing table rows which are added to the end of the article edit form

piUsEditFormAdditionalRows($idart, $idlang, $idclient) : string

Parameters

$idart

$idlang

$idclient

Returns

stringrendered HTML code

Computes an error message which describes the given error code.

piUsGetErrorMessage(int $errorCode, $shortUrlItem) : string

Parameters

$errorCode

int

the error code

$shortUrlItem

Returns

stringthe error message describing the given error code

pica_ArticleListActions()

pica_ArticleListActions($aActions) 

Parameters

$aActions

pica_GetCustomTabProperties()

pica_GetCustomTabProperties($sIntName) 

Parameters

$sIntName

pica_RegisterCustomTab()

pica_RegisterCustomTab() 

pica_RenderArticleAction()

pica_RenderArticleAction($idcat, $idart, $idartlang, $actionkey) 

Parameters

$idcat

$idart

$idartlang

$actionkey

piworkflowAllowArticleEdit()

piworkflowAllowArticleEdit($idlang, $idcat, $idart, $user) 

Parameters

$idlang

$idcat

$idart

$user

piworkflowCategoryColumns()

piworkflowCategoryColumns($array) 

Parameters

$array

piworkflowCategoryRenderColumn()

piworkflowCategoryRenderColumn($idcat, $type) 

Parameters

$idcat

$type

piworkflowCreateTasksFolder()

piworkflowCreateTasksFolder() 

piworkflowProcessActions()

piworkflowProcessActions($array) 

Parameters

$array

piworkflowProcessArticleColumns()

piworkflowProcessArticleColumns($array) 

Parameters

$array

piworkflowRenderAction()

piworkflowRenderAction($idcat, $idart, $idartlang, $type) 

Parameters

$idcat

$idart

$idartlang

$type

piworkflowRenderColumn()

piworkflowRenderColumn($idcat, $idart, $idartlang, $column) 

Parameters

$idcat

$idart

$idartlang

$column

Includes a file from a plugin and takes care of all path transformations.

plugin_include(string $sWhere, string $sWhat) : void

Example: plugin_include('formedit', 'classes/class.formedit.php');

Parameters

$sWhere

string

The name of the plugin

$sWhat

string

The filename of the include

Recursive function to create an URL name location string.

prCreateURLNameLocationString(int $idcat, string $seperator, string $cat_str, bool $makeLink, string $linkClass, integer $firstTreeElementToUse, $uselang, $final, $usecache) : string

Parameters

$idcat

int

ID of the starting category

$seperator

string

Seperation string

$cat_str

string

Category location string (by reference)

$makeLink

bool

create location string with links

$linkClass

string

stylesheet class for the links

$firstTreeElementToUse

integer

first navigation level location string should be printed out (first level = 0!!)

$uselang

$final

$usecache

Returns

stringlocation string

Deletes path location string cache data file.

prDeleteCacheFileContent(int $client, int $lang) : bool
global array $cfgClient

Parameters

$client

int

$lang

int

Returns

bool

Get path location string cache data file content.

prGetCacheFileContent(int $client, int $lang) : array
global array $cfgClient

Parameters

$client

int

$lang

int

Returns

array$data

Resolves a path using some fuzzy logic.

prResolvePathViaCategoryNames($path, $iLangCheck) : integer

Warning: If you use this function, try to pass a 'good' path. This function doesn't guarantee that the matches are logically best-matches.

This function operates on the actual category names.

Parameters

$path

string Path to resolve

$iLangCheck

Returns

integerClosest matching category ID (idcat)

Resolves a path using some fuzzy logic.

prResolvePathViaURLNames($path) : integer

Warning: If you use this function, try to pass a 'good' path. This function doesn't guarantee that the matches are logically best-matches.

This function operates on the category aliases. It compares the given path with the urlpaths generated by function prCreateURLNameLocationString() based on category aliases.

Parameters

$path

string Path to resolve

Returns

integerClosest matching category ID (idcat)

Writes path location string cache data file.

prWriteCacheFileContent(array $data, int $client, int $lang) : bool
global array $cfgClient

Parameters

$data

array

$client

int

$lang

int

Returns

bool

prepareWorkflowItems()

prepareWorkflowItems() 

recCats()

recCats($aCats, $sInsertQuery, $aAllCats, $iLevel) 
deprecated 2012-04-26 This function is not longer supported, use strBuildSqlValues() instead

Parameters

$aCats

$sInsertQuery

$aAllCats

$iLevel

Copies source directory to destination directory.

recursiveCopy(string $sourcePath, string $destinationPath, int $mode, array $options) 

Parameters

$sourcePath

string

$destinationPath

string

$mode

int

Octal representation of file mode (0644, 0750, etc.)

$options

array

Some additional options as follows

$options['force_overwrite']  (bool)  Flag to overwrite existing destination file, default value is false

recursive_copy()

recursive_copy($from_path, $to_path) 
deprecated [2012-06-20] Use getFileType() from functions.file.php

Parameters

$from_path

$to_path

Function removes file meta information from database (used when a file is deleted)

removeFileInformation(int $iIdClient, string $sFilename, string $sType, \DB_Contenido $oDb) 
author Timo Trautmann

Parameters

$iIdClient

int
  • id of client which contains this file

$sFilename

string
  • name of corresponding file

$sType

string
  • type of file (css, js or templates)

$oDb

\DB_Contenido
  • CONTENIDO database object

Renames an existing file.

renameFile(string $sOldFile, string $sNewFile, string $path) : \(void | \string)

Exits the script, if new filename is not valid or renaming fails!

deprecated [2012-07-04] These functions are now in cFileHandler

Parameters

$sOldFile

string

Old filename

$sNewFile

string

New filename

$path

string

Path to the file

Returns

\(void\string)Either new filename or nothing

Renders a cHTMLLabel.

renderLabel(string $text, string $name, string $width, string $seperator) : string

Parameters

$text

string

the label text

$name

string

the name of the corresponding input element

$width

string

the width in pixel

$seperator

string

the seperator which is written at the end of the label

Returns

stringthe rendered cHTMLLabel element

Renders a select element with a label.

renderSelectProperty(string $name, array $possibleValues, string $value, string $label) : array

If there are only two possible values which are called true/false, enabled/disabled or 0/1, a checkbox is rendered. Returns an associative array with the label and the input field.

Parameters

$name

string

the name of the form element

$possibleValues

array

the possible values

$value

string

the value which should be selected

$label

string

the label text which should be rendered

Returns

arrayassociative array with the label and the input field

Renders a cHTMLTextbox.

renderTextProperty(string $name, string $value, string $label) : array

Returns an associative array with the label and the input field.

Parameters

$name

string

the name of the form element

$value

string

the value of the text field

$label

string

the label text

Returns

arrayassociative array with the label and the input field

rereadClients()

rereadClients() 
deprecated no longer needed

runJob()

runJob($job, $PC_jobDir, $PC_writeDir, $PC_useLog, $PC_debug) 

Parameters

$job

$PC_jobDir

$PC_writeDir

$PC_useLog

$PC_debug

saveGroupRights()

saveGroupRights() 

saveRights()

saveRights() 

Scans passed directory and collects all found files

scanDirectory(string $sDirectory, bool $bRecursive) : bool | array

Parameters

$sDirectory

string

$bRecursive

bool

Returns

boolarrayList of found files (full path and name) or false

Scans a given plugin directory and places the found plugins into the array $cfg['plugins'].

scanPlugins(string $entity) : void

Result: $cfg['plugins']['frontendusers'] => array with all found plugins

Note: Plugins are only "found" if the following directory structure if found:

entity/ plugin1/plugin1.php plugin2/plugin2.php

The plugin's directory and file name have to be the same, otherwise the function won't find them!

Parameters

$entity

string

Name of the directory to scan

Function checks current language and client settings by HTTP-Params and DB settings.

sendEncodingHeader(\cDb $db, array $cfg, int $lang, string $contentType) 

Based on this informations it will send an HTTP header for right encoding.

Parameters

$db

\cDb

NO MORE NEEDED

$cfg

array

Global cfg-array

$lang

int

Global language id

$contentType

string

Mime type

sendPostRequest()

sendPostRequest($host, $path, $data, $referer, $port) 
deprecated 2011-08-23 This function is not supported any longer

Parameters

$host

$path

$data

$referer

$port

Set a default article specification

setArtspecDefault(int $idartspec) : void

While creating a new article this defined article specification will be default setting

Parameters

$idartspec

int

Article specification id

Set article specifications online

setArtspecOnline(int $idartspec, int $online) : void

Flag to switch if an article specification should be shown the frontend or not

Parameters

$idartspec

int

article specification id

$online

int

0/1 switch the status between on an offline

setHelpContext()

setHelpContext($area) 

Parameters

$area

Sets a system property entry

setSystemProperty(string $type, string $name, string $value, int $idsystemprop) 
modified Timo Trautmann 22.02.2008 Support for editing name and type

Parameters

$type

string

The type of the item

$name

string

The name of the item

$value

string

The value of the item

$idsystemprop

int

The sysprop id, use optional. If set it allows to modify type name and value

setUserSequence()

setUserSequence($idartlang, $defaultidworkflow) 

Parameters

$idartlang

$defaultidworkflow

Adds slashes to passed string if PHP setting for magic quotes is disabled

set_magic_quotes_gpc(string $code) 

Parameters

$code

string

String by reference

showLocation()

showLocation($area) 
deprecated [2011-09-02] This function is not supported any longer

Parameters

$area

showTable()

showTable($tablename) 
deprecated [2011-08-23] This function is not supported any longer

Parameters

$tablename

showTree()

showTree($iIdcat, $aWholelist) 

Parameters

$iIdcat

$aWholelist

Autoloader

smartyAutoload($class) 

Parameters

$class

Smarty {php}{/php} block plugin

smarty_block_php($params, string $content, object $template, $repeat) : string

Parameters

$params

$content

string

contents of the block

$template

object

template object

$repeat

Returns

stringcontent re-formatted

Smarty {textformat}{/textformat} block plugin

smarty_block_textformat(array $params, string $content, \Smarty_Internal_Template $template, boolean $repeat) : string

Type: block function
Name: textformat
Purpose: format text a certain way with preset styles or custom wrap/indent settings
Params:

- style         - string (email)
- indent        - integer (0)
- wrap          - integer (80)
- wrap_char     - string ("\n")
- indent_char   - string (" ")
- wrap_boundary - boolean (true)
link {textformat} (Smarty online manual)
author Monte Ohrt <monte at ohrt dot com>

Parameters

$params

array

parameters

$content

string

contents of the block

$template

\Smarty_Internal_Template

template object

$repeat

boolean

&$repeat repeat flag

Returns

stringcontent re-formatted

Smarty {counter} function plugin

smarty_function_counter(array $params, \Smarty_Internal_Template $template) : string | null

Type: function
Name: counter
Purpose: print out a counter value

author Monte Ohrt <monte at ohrt dot com>
link {counter} (Smarty online manual)

Parameters

$params

array

parameters

$template

\Smarty_Internal_Template

template object

Returns

stringnull

Smarty {cycle} function plugin

smarty_function_cycle(array $params, \Smarty_Internal_Template $template) : string | null

Type: function
Name: cycle
Date: May 3, 2002
Purpose: cycle through given values
Params:

- name      - name of cycle (optional)
- values    - comma separated list of values to cycle, or an array of values to cycle
              (this can be left out for subsequent calls)
- reset     - boolean - resets given var to true
- print     - boolean - print var or not. default is true
- advance   - boolean - whether or not to advance the cycle
- delimiter - the value delimiter, default is ","
- assign    - boolean, assigns to template var instead of printed.

Examples:

{cycle values="#eeeeee,#d0d0d0d"}
{cycle name=row values="one,two,three" reset=true}
{cycle name=row}
link {cycle} (Smarty online manual)
author Monte Ohrt <monte at ohrt dot com>
author credit to Mark Priatel
author credit to Gerard
author credit to Jason Sweat
version 1.3

Parameters

$params

array

parameters

$template

\Smarty_Internal_Template

template object

Returns

stringnull

escape_special_chars common function

smarty_function_escape_special_chars(string $string) : string

Function: smarty_function_escape_special_chars
Purpose: used by other smarty functions to escape special chars except for already escaped ones

author Monte Ohrt <monte at ohrt dot com>

Parameters

$string

string

text that should by escaped

Returns

string

escape_special_chars common function

smarty_function_escape_special_chars(string $string) : string

Function: smarty_function_escape_special_chars
Purpose: used by other smarty functions to escape special chars except for already escaped ones

author Monte Ohrt <monte at ohrt dot com>

Parameters

$string

string

text that should by escaped

Returns

string

Smarty {fetch} plugin

smarty_function_fetch(array $params, \Smarty_Internal_Template $template) : string | null

Type: function
Name: fetch
Purpose: fetch file, web or ftp data and display results

link {fetch} (Smarty online manual)
author Monte Ohrt <monte at ohrt dot com>

Parameters

$params

array

parameters

$template

\Smarty_Internal_Template

template object

Returns

stringnullif the assign parameter is passed, Smarty assigns the result to a template variable

Smarty {html_checkboxes} function plugin

smarty_function_html_checkboxes(array $params, object $template) : string

File: function.html_checkboxes.php
Type: function
Name: html_checkboxes
Date: 24.Feb.2003
Purpose: Prints out a list of checkbox input types
Examples:

{html_checkboxes values=$ids output=$names}
{html_checkboxes values=$ids name='box' separator='
' output=$names} {html_checkboxes values=$ids checked=$checked separator='
' output=$names}

Params:

- name       (optional) - string default "checkbox"
- values     (required) - array
- options    (optional) - associative array
- checked    (optional) - array default not set
- separator  (optional) - ie 
or   - output (optional) - the output next to each checkbox - assign (optional) - assign the output as an array to this variable - escape (optional) - escape the content (not value), defaults to true
link {html_checkboxes} (Smarty online manual)
author Christopher Kvarme
author credits to Monte Ohrt <monte at ohrt dot com>
version 1.0
uses \global\smarty_function_escape_special_chars()

Parameters

$params

array

parameters

$template

object

template object

Returns

string

smarty_function_html_checkboxes_output()

smarty_function_html_checkboxes_output($name, $value, $output, $selected, $extra, $separator, $labels, $label_ids, $escape) 

Parameters

$name

$value

$output

$selected

$extra

$separator

$labels

$label_ids

$escape

Smarty {html_image} function plugin

smarty_function_html_image(array $params, \Smarty_Internal_Template $template) : string

Type: function
Name: html_image
Date: Feb 24, 2003
Purpose: format HTML tags for the image
Examples: {html_image file="/images/masthead.gif"}
Output:
Params:

- file        - (required) - file (and path) of image
- height      - (optional) - image height (default actual height)
- width       - (optional) - image width (default actual width)
- basedir     - (optional) - base directory for absolute paths, default is environment variable DOCUMENT_ROOT
- path_prefix - prefix for path output (optional, default empty)
link {html_image} (Smarty online manual)
author Monte Ohrt <monte at ohrt dot com>
author credits to Duda
version 1.0
uses \global\smarty_function_escape_special_chars()

Parameters

$params

array

parameters

$template

\Smarty_Internal_Template

template object

Returns

string

Smarty {html_options} function plugin

smarty_function_html_options(array $params, \Smarty_Internal_Template $template) : string

Type: function
Name: html_options
Purpose: Prints the list of

- name       (optional) - string default "select"
- values     (required) - if no options supplied) - array
- options    (required) - if no values supplied) - associative array
- selected   (optional) - string default not set
- output     (required) - if not options supplied) - array
- id         (optional) - string default not set
- class      (optional) - string default not set
link {html_image} (Smarty online manual)
author Monte Ohrt <monte at ohrt dot com>
author Ralf Strehle (minor optimization) <ralf dot strehle at yahoo dot de>
uses \global\smarty_function_escape_special_chars()

Parameters

$params

array

parameters

$template

\Smarty_Internal_Template

template object

Returns

string

smarty_function_html_options_optgroup()

smarty_function_html_options_optgroup($key, $values, $selected, $id, $class, $idx) 

Parameters

$key

$values

$selected

$id

$class

$idx

smarty_function_html_options_optoutput()

smarty_function_html_options_optoutput($key, $value, $selected, $id, $class, $idx) 

Parameters

$key

$value

$selected

$id

$class

$idx

Smarty {html_radios} function plugin

smarty_function_html_radios(array $params, \Smarty_Internal_Template $template) : string

File: function.html_radios.php
Type: function
Name: html_radios
Date: 24.Feb.2003
Purpose: Prints out a list of radio input types
Params:

- name       (optional) - string default "radio"
- values     (required) - array
- options    (required) - associative array
- checked    (optional) - array default not set
- separator  (optional) - ie 
or   - output (optional) - the output next to each radio button - assign (optional) - assign the output as an array to this variable - escape (optional) - escape the content (not value), defaults to true

Examples:

{html_radios values=$ids output=$names}
{html_radios values=$ids name='box' separator='
' output=$names} {html_radios values=$ids checked=$checked separator='
' output=$names}
link {html_radios} (Smarty online manual)
author Christopher Kvarme
author credits to Monte Ohrt <monte at ohrt dot com>
version 1.0
uses \global\smarty_function_escape_special_chars()

Parameters

$params

array

parameters

$template

\Smarty_Internal_Template

template object

Returns

string

smarty_function_html_radios_output()

smarty_function_html_radios_output($name, $value, $output, $selected, $extra, $separator, $labels, $label_ids, $escape) 

Parameters

$name

$value

$output

$selected

$extra

$separator

$labels

$label_ids

$escape

Smarty {html_select_date} plugin

smarty_function_html_select_date(array $params, \Smarty_Internal_Template $template) : string

Type: function
Name: html_select_date
Purpose: Prints the dropdowns for date selection.

ChangeLog:

           - 1.0 initial release
           - 1.1 added support for +/- N syntax for begin
             and end year values. (Monte)
           - 1.2 added support for yyyy-mm-dd syntax for
             time value. (Jan Rosier)
           - 1.3 added support for choosing format for
             month values (Gary Loescher)
           - 1.3.1 added support for choosing format for
             day values (Marcus Bointon)
           - 1.3.2 support negative timestamps, force year
             dropdown to include given date unless explicitly set (Monte)
           - 1.3.4 fix behaviour of 0000-00-00 00:00:00 dates to match that
             of 0000-00-00 dates (cybot, boots)
           - 2.0 complete rewrite for performance,
             added attributes month_names, *_id
link {html_select_date} (Smarty online manual)
version 2.0
author Andrei Zmievski
author Monte Ohrt <monte at ohrt dot com>
author Rodney Rehm

Parameters

$params

array

parameters

$template

\Smarty_Internal_Template

template object

Returns

string

Smarty {html_select_time} function plugin

smarty_function_html_select_time(array $params, \Smarty_Internal_Template $template) : string

Type: function
Name: html_select_time
Purpose: Prints the dropdowns for time selection

link {html_select_time} (Smarty online manual)
author Roberto Berto
author Monte Ohrt <monte AT ohrt DOT com>
uses \global\smarty_make_timestamp()

Parameters

$params

array

parameters

$template

\Smarty_Internal_Template

template object

Returns

string

Smarty {html_table} function plugin

smarty_function_html_table(array $params, \Smarty_Internal_Template $template) : string

Type: function
Name: html_table
Date: Feb 17, 2003
Purpose: make an html table from an array of data
Params:

- loop       - array to loop through
- cols       - number of columns, comma separated list of column names
               or array of column names
- rows       - number of rows
- table_attr - table attributes
- th_attr    - table heading attributes (arrays are cycled)
- tr_attr    - table row attributes (arrays are cycled)
- td_attr    - table cell attributes (arrays are cycled)
- trailpad   - value to pad trailing cells with
- caption    - text for caption element
- vdir       - vertical direction (default: "down", means top-to-bottom)
- hdir       - horizontal direction (default: "right", means left-to-right)
- inner      - inner loop (default "cols": print $loop line by line,
               $loop will be printed column by column otherwise)

Examples:

{table loop=$data}
{table loop=$data cols=4 tr_attr='"bgcolor=red"'}
{table loop=$data cols="first,second,third" tr_attr=$colors}
author Monte Ohrt <monte at ohrt dot com>
author credit to Messju Mohr <messju at lammfellpuschen dot de>
author credit to boots <boots dot smarty at yahoo dot com>
version 1.1
link {html_table} (Smarty online manual)

Parameters

$params

array

parameters

$template

\Smarty_Internal_Template

template object

Returns

string

smarty_function_html_table_cycle()

smarty_function_html_table_cycle($name, $var, $no) 

Parameters

$name

$var

$no

Smarty {mailto} function plugin

smarty_function_mailto(array $params, \Smarty_Internal_Template $template) : string

Type: function
Name: mailto
Date: May 21, 2002 Purpose: automate mailto address link creation, and optionally encode them.
Params:

- address    - (required) - e-mail address
- text       - (optional) - text to display, default is address
- encode     - (optional) - can be one of:
                            * none : no encoding (default)
                            * javascript : encode with javascript
                            * javascript_charcode : encode with javascript charcode
                            * hex : encode with hexidecimal (no javascript)
- cc         - (optional) - address(es) to carbon copy
- bcc        - (optional) - address(es) to blind carbon copy
- subject    - (optional) - e-mail subject
- newsgroups - (optional) - newsgroup(s) to post to
- followupto - (optional) - address(es) to follow up to
- extra      - (optional) - extra tags for the href link

Examples:

{mailto address="me@domain.com"}
{mailto address="me@domain.com" encode="javascript"}
{mailto address="me@domain.com" encode="hex"}
{mailto address="me@domain.com" subject="Hello to you!"}
{mailto address="me@domain.com" cc="you@domain.com,they@domain.com"}
{mailto address="me@domain.com" extra='class="mailto"'}
link {mailto} (Smarty online manual)
version 1.2
author Monte Ohrt <monte at ohrt dot com>
author credits to Jason Sweat (added cc, bcc and subject functionality)

Parameters

$params

array

parameters

$template

\Smarty_Internal_Template

template object

Returns

string

Smarty {math} function plugin

smarty_function_math(array $params, \Smarty_Internal_Template $template) : string | null

Type: function
Name: math
Purpose: handle math computations in template

link {math} (Smarty online manual)
author Monte Ohrt <monte at ohrt dot com>

Parameters

$params

array

parameters

$template

\Smarty_Internal_Template

template object

Returns

stringnull

evaluate compiler parameter

smarty_literal_compiler_param(array $params, integer $index, mixed $default) : mixed
author Rodney Rehm

Parameters

$params

array

parameter array as given to the compiler function

$index

integer

array index of the parameter to convert

$default

mixed

value to be returned if the parameter is not present

Exceptions

\SmartyException if parameter is not a literal (but an expression, variable, …)

Returns

mixedevaluated value of parameter or $default

Function: smarty_make_timestamp<br> Purpose: used by other smarty functions to make a timestamp from a string.

smarty_make_timestamp(\DateTime | int | string $string) : int
author Monte Ohrt <monte at ohrt dot com>

Parameters

$string

\DateTimeintstring

date object, timestamp or string that can be converted using strtotime()

Returns

int

convert unicodes to the character of given encoding

smarty_mb_from_unicode(integer | array $unicode, string $encoding) : string
link for inspiration
author Rodney Rehm

Parameters

$unicode

integerarray

single unicode or list of unicodes to convert

$encoding

string

encoding of returned string, if null mb_internal_encoding() is used

Returns

stringunicode as character sequence in given $encoding

Multibyte string replace

smarty_mb_str_replace(string $search, string $replace, string $subject, int $count) : string
author Rodney Rehm

Parameters

$search

string

the string to be searched

$replace

string

the replacement string

$subject

string

the source string

$count

int

&$count number of matches found

Returns

stringreplaced string

convert characters to their decimal unicode equivalents

smarty_mb_to_unicode(string $string, string $encoding) : array
link for inspiration
author Rodney Rehm

Parameters

$string

string

characters to calculate unicode of

$encoding

string

encoding of $string, if null mb_internal_encoding() is used

Returns

arraysequence of unicodes

Wrap a string to a given number of characters

smarty_mb_wordwrap(string $str, int $width, string $break, boolean $cut) : string
link for similarity
author Rodney Rehm

Parameters

$str

string

the string to wrap

$width

int

the width of the output

$break

string

the character used to break the line

$cut

boolean

ignored parameter, just for the sake of

Returns

stringwrapped string

Smarty capitalize modifier plugin

smarty_modifier_capitalize(string $string, boolean $uc_digits, boolean $lc_rest) : string

Type: modifier
Name: capitalize
Purpose: capitalize words in the string

author Monte Ohrt <monte at ohrt dot com>
author Rodney Rehm

Parameters

$string

string

string to capitalize

$uc_digits

boolean

also capitalize "x123" to "X123"

$lc_rest

boolean

capitalize first letters, lowercase all following letters "aAa" to "Aaa"

Returns

stringcapitalized string

Smarty date_format modifier plugin

smarty_modifier_date_format(string $string, string $format, string $default_date, string $formatter) : string

Type: modifier
Name: date_format
Purpose: format datestamps via strftime
Input:
- string: input date string - format: strftime format for output - default_date: default date if $string is empty

link date_format (Smarty online manual)
author Monte Ohrt <monte at ohrt dot com>
uses \global\smarty_make_timestamp()

Parameters

$string

string

input date string

$format

string

strftime format for output

$default_date

string

default date if $string is empty

$formatter

string

either 'strftime' or 'auto'

Returns

string|void

Smarty debug_print_var modifier plugin

smarty_modifier_debug_print_var(array | object $var, integer $depth, integer $length) : string

Type: modifier
Name: debug_print_var
Purpose: formats variable contents for display in the console

author Monte Ohrt <monte at ohrt dot com>

Parameters

$var

arrayobject

variable to be formatted

$depth

integer

maximum recursion depth if $var is an array

$length

integer

maximum string length if $var is a string

Returns

string

Smarty escape modifier plugin

smarty_modifier_escape(string $string, string $esc_type, string $char_set, boolean $double_encode) : string

Type: modifier
Name: escape
Purpose: escape string for output

link count_characters (Smarty online manual)
author Monte Ohrt <monte at ohrt dot com>

Parameters

$string

string

input string

$esc_type

string

escape type

$char_set

string

character set, used for htmlspecialchars() or htmlentities()

$double_encode

boolean

encode already encoded entitites again, used for htmlspecialchars() or htmlentities()

Returns

stringescaped input string

Smarty regex_replace modifier plugin

smarty_modifier_regex_replace(string $string, string | array $search, string | array $replace) : string

Type: modifier
Name: regex_replace
Purpose: regular expression search/replace

link regex_replace (Smarty online manual)
author Monte Ohrt <monte at ohrt dot com>

Parameters

$string

string

input string

$search

stringarray

regular expression(s) to search for

$replace

stringarray

string(s) that should be replaced

Returns

string

Smarty replace modifier plugin

smarty_modifier_replace(string $string, string $search, string $replace) : string

Type: modifier
Name: replace
Purpose: simple search/replace

link replace (Smarty online manual)
author Monte Ohrt <monte at ohrt dot com>
author Uwe Tews

Parameters

$string

string

input string

$search

string

text to search for

$replace

string

replacement text

Returns

string

Smarty spacify modifier plugin

smarty_modifier_spacify(string $string, string $spacify_char) : string

Type: modifier
Name: spacify
Purpose: add spaces between characters in a string

link spacify (Smarty online manual)
author Monte Ohrt <monte at ohrt dot com>

Parameters

$string

string

input string

$spacify_char

string

string to insert between characters.

Returns

string

Smarty truncate modifier plugin

smarty_modifier_truncate(string $string, integer $length, string $etc, boolean $break_words, boolean $middle) : string

Type: modifier
Name: truncate
Purpose: Truncate a string to a certain length if necessary, optionally splitting in the middle of a word, and appending the $etc string or inserting $etc into the middle.

link truncate (Smarty online manual)
author Monte Ohrt <monte at ohrt dot com>

Parameters

$string

string

input string

$length

integer

length of truncated text

$etc

string

end string

$break_words

boolean

truncate at word boundary

$middle

boolean

truncate in the middle of text

Returns

stringtruncated string

Smarty cat modifier plugin

smarty_modifiercompiler_cat(array $params, $compiler) : string

Type: modifier
Name: cat
Date: Feb 24, 2003
Purpose: catenate a value to a variable
Input: string to catenate
Example: {$var|cat:"foo"}

link cat (Smarty online manual)
author Uwe Tews

Parameters

$params

array

parameters

$compiler

Returns

stringwith compiled code

Smarty count_characters modifier plugin

smarty_modifiercompiler_count_characters(array $params, $compiler) : string

Type: modifier
Name: count_characteres
Purpose: count the number of characters in a text

link count_characters (Smarty online manual)
author Uwe Tews

Parameters

$params

array

parameters

$compiler

Returns

stringwith compiled code

Smarty count_paragraphs modifier plugin

smarty_modifiercompiler_count_paragraphs(array $params, $compiler) : string

Type: modifier
Name: count_paragraphs
Purpose: count the number of paragraphs in a text

link count_paragraphs (Smarty online manual)
author Uwe Tews

Parameters

$params

array

parameters

$compiler

Returns

stringwith compiled code

Smarty count_sentences modifier plugin

smarty_modifiercompiler_count_sentences(array $params, $compiler) : string

Type: modifier
Name: count_sentences Purpose: count the number of sentences in a text

link count_sentences (Smarty online manual)
author Uwe Tews

Parameters

$params

array

parameters

$compiler

Returns

stringwith compiled code

Smarty count_words modifier plugin

smarty_modifiercompiler_count_words(array $params, $compiler) : string

Type: modifier
Name: count_words
Purpose: count the number of words in a text

link count_words (Smarty online manual)
author Uwe Tews

Parameters

$params

array

parameters

$compiler

Returns

stringwith compiled code

Smarty default modifier plugin

smarty_modifiercompiler_default(array $params, $compiler) : string

Type: modifier
Name: default
Purpose: designate default value for empty variables

link default (Smarty online manual)
author Uwe Tews

Parameters

$params

array

parameters

$compiler

Returns

stringwith compiled code

Smarty escape modifier plugin

smarty_modifiercompiler_escape(array $params, $compiler) : string

Type: modifier
Name: escape
Purpose: escape string for output

link count_characters (Smarty online manual)
author Rodney Rehm

Parameters

$params

array

parameters

$compiler

Returns

stringwith compiled code

Smarty from_charset modifier plugin

smarty_modifiercompiler_from_charset(array $params, $compiler) : string

Type: modifier
Name: from_charset
Purpose: convert character encoding from $charset to internal encoding

author Rodney Rehm

Parameters

$params

array

parameters

$compiler

Returns

stringwith compiled code

Smarty indent modifier plugin

smarty_modifiercompiler_indent(array $params, $compiler) : string

Type: modifier
Name: indent
Purpose: indent lines of text

link indent (Smarty online manual)
author Uwe Tews

Parameters

$params

array

parameters

$compiler

Returns

stringwith compiled code

Smarty lower modifier plugin

smarty_modifiercompiler_lower(array $params, $compiler) : string

Type: modifier
Name: lower
Purpose: convert string to lowercase

link lower (Smarty online manual)
author Monte Ohrt <monte at ohrt dot com>
author Uwe Tews

Parameters

$params

array

parameters

$compiler

Returns

stringwith compiled code

Smarty noprint modifier plugin

smarty_modifiercompiler_noprint(array $params, $compiler) : string

Type: modifier
Name: noprint
Purpose: return an empty string

author Uwe Tews

Parameters

$params

array

parameters

$compiler

Returns

stringwith compiled code

Smarty string_format modifier plugin

smarty_modifiercompiler_string_format(array $params, $compiler) : string

Type: modifier
Name: string_format
Purpose: format strings via sprintf

link string_format (Smarty online manual)
author Uwe Tews

Parameters

$params

array

parameters

$compiler

Returns

stringwith compiled code

Smarty strip modifier plugin

smarty_modifiercompiler_strip(array $params, $compiler) : string

Type: modifier
Name: strip
Purpose: Replace all repeated spaces, newlines, tabs with a single space or supplied replacement string.
Example: {$var|strip} {$var|strip:" "}
Date: September 25th, 2002

link strip (Smarty online manual)
author Uwe Tews

Parameters

$params

array

parameters

$compiler

Returns

stringwith compiled code

Smarty strip_tags modifier plugin

smarty_modifiercompiler_strip_tags(array $params, $compiler) : string

Type: modifier
Name: strip_tags
Purpose: strip html tags from text

link strip_tags (Smarty online manual)
author Uwe Tews

Parameters

$params

array

parameters

$compiler

Returns

stringwith compiled code

Smarty to_charset modifier plugin

smarty_modifiercompiler_to_charset(array $params, $compiler) : string

Type: modifier
Name: to_charset
Purpose: convert character encoding from internal encoding to $charset

author Rodney Rehm

Parameters

$params

array

parameters

$compiler

Returns

stringwith compiled code

Smarty unescape modifier plugin

smarty_modifiercompiler_unescape(array $params, $compiler) : string

Type: modifier
Name: unescape
Purpose: unescape html entities

author Rodney Rehm

Parameters

$params

array

parameters

$compiler

Returns

stringwith compiled code

Smarty upper modifier plugin

smarty_modifiercompiler_upper(array $params, $compiler) : string

Type: modifier
Name: lower
Purpose: convert string to uppercase

link lower (Smarty online manual)
author Uwe Tews

Parameters

$params

array

parameters

$compiler

Returns

stringwith compiled code

Smarty wordwrap modifier plugin

smarty_modifiercompiler_wordwrap(array $params, $compiler) : string

Type: modifier
Name: wordwrap
Purpose: wrap a string of text at a given length

link wordwrap (Smarty online manual)
author Uwe Tews

Parameters

$params

array

parameters

$compiler

Returns

stringwith compiled code

Smarty trimwhitespace outputfilter plugin

smarty_outputfilter_trimwhitespace(string $source, \Smarty_Internal_Template $smarty) : string

Trim unnecessary whitespace from HTML markup.

author Rodney Rehm
todo substr_replace() is not overloaded by mbstring.func_overload - so this function might fail!

Parameters

$source

string

input string

$smarty

\Smarty_Internal_Template

Smarty object

Returns

stringfiltered output

Smarty {php}{/php} block function

smarty_php_tag(array $params, string $content, object $template, boolean $repeat) : string

Parameters

$params

array

parameter list

$content

string

contents of the block

$template

object

template object

$repeat

boolean

&$repeat repeat flag

Returns

stringcontent re-formatted

Smarty htmlspecialchars variablefilter plugin

smarty_variablefilter_htmlspecialchars(string $source, \Smarty_Internal_Template $smarty) : string

Parameters

$source

string

input string

$smarty

\Smarty_Internal_Template

Smarty object

Returns

stringfiltered output

sort_pre_post()

sort_pre_post($arr) 
deprecated 2012-04-26 This function is not longer supported, use strSortPrePost() instead

Parameters

$arr

Starts the timing for a specific function

startTiming(string $function, array $parameters) : int

Parameters

$function

string

Name of the function

$parameters

array

All parameters for the function to measure

Returns

intuuid for this measure process

Generates the location string for passed category id.

statCreateLocationString(int $idcat, string $seperator, string $cat_str) : void

Performs a recursive call, if parent category doesn't matches to 0

Parameters

$idcat

int

The category id

$seperator

string

Separator for location string

$cat_str

string

The location string variable (reference)

Returns a drop down to choose the stats to display

statDisplayTopChooser(string $default) : string

Parameters

$default

string

Returns

stringReturns a drop down string

Returns a drop down to choose the stats to display for yearly summary pages

statDisplayYearlyTopChooser(string $default) : string

Parameters

$default

string

Returns

stringReturns a drop down string

Return an array with all months for a specific year which are available as stat files

statGetAvailableMonths(mixed $year, $client, $lang) : array

Parameters

$year

mixed

many

$client

$lang

Returns

arrayArray of strings with months.

Return an array with all years which are available as stat files

statGetAvailableYears(mixed $client, $lang) : array

Parameters

$client

mixed

many

$lang

Returns

arrayArray of strings with years.

Resets the statistic for passed client

statResetStatistic(int $client) : void

Parameters

$client

int

Id of client

Returns the canonical month.

statReturnCanonicalMonth(int $month) : string

Wrapper for function getCanonicalMonth()

deprecated 2012-02-09 this function is not supported any longer

Parameters

$month

int

The digit representation of a month

Returns

stringTextual representation of a month

Archives the current statistics

statsArchive($yearmonth) : void

Parameters

$yearmonth

String with the desired archive date (YYYYMM)

Displays statistic information layer (a div Tag)

statsDisplayInfo(int $id, string $type, int $x, int $y, int $w, int $h) : string

Parameters

$id

int

Either article or directory id

$type

string

The type

$x

int

Style top position

$y

int

Style left position

$w

int

Style width

$h

int

Style height

Returns

stringComposed info layer

Generates a statistics page

statsOverviewAll($yearmonth) : void

Parameters

$yearmonth

Specifies the year and month from which to retrieve the statistics, specify "current" to retrieve the current entries

Generates a top<n> statistics page

statsOverviewTop($yearmonth, $top) : void

Parameters

$yearmonth

Specifies the year and month from which to retrieve the statistics, specify "current" to retrieve the current entries

$top

Specifies the amount of pages to display

Generates a top<n> statistics page

statsOverviewTopYear($year, $top) : void

Parameters

$year

Specifies the year from which to retrieve the statistics

$top

Specifies the amount of pages to display

Generates a statistics page for a given year

statsOverviewYear($year) : void

Parameters

$year

Specifies the year to retrieve the statistics for

Assigns a template to passed category.

strAssignTemplate(int $idcat, int $client, int $idTplCfg) 

Parameters

$idcat

int

$client

int

$idTplCfg

int

Builds values part of the SQL used to recreate the category tree table

strBuildSqlValues(array | \?? $aCats, string $sInsertQuery, array $aAllCats, int $iLevel) : string

Parameters

$aCats

array\??

Assoziative categories array or something else, but what?

$sInsertQuery

string

The insert statement

$aAllCats

array

Assoziative categories array holding the complete category structure

$iLevel

int

Category level

Returns

string

Copies the category and it's existing articles into another category.

strCopyCategory(int $idcat, int $destidcat, bool $remakeTree, bool $bUseCopyLabel) : void

Parameters

$idcat

int

Id of category to copy

$destidcat

int

Id of destination category

$remakeTree

bool

Flag to rebuild category tree

$bUseCopyLabel

bool

Flag to add copy label to the new categories

Copies the categorytree (category and its childs) to an another category.

strCopyTree(int $idcat, int $destcat, bool $remakeTree, bool $bUseCopyLabel) 

Parameters

$idcat

int

Id of category to copy

$destcat

int

Id of destination category

$remakeTree

bool

Flag to rebuild category tree

$bUseCopyLabel

bool

Flag to add copy label to the new categories

Returns all childs and childchilds of passed category

strDeeperCategoriesArray(int $startIdcat) : array

Parameters

$startIdcat

int

The start category

Returns

arrayContains all childs of $startIdcat and $startIdcat start itself

Deletes the category and its template configurations.

strDeleteCategory(int $idcat) : void

Only categories having no child categories and having no articles will be deleted!

Parameters

$idcat

int

Id of category to delete

Checks, if passed category contains any articles

strHasArticles(int $idcat) : bool

Parameters

$idcat

int

ID of category

Returns

bool

Checks if category has a start article

strHasStartArticle(int $idcat, int $idlang) : bool

Parameters

$idcat

int

Id of category

$idlang

int

The language id

Returns

bool

Sets the public status of the category and its childs

strMakePublic(int $idcat, int $lang, int $public) : void

Parameters

$idcat

int

Category id

$lang

int

Language id

$public

int

Public status

Sets the visible status of the category and its childs

strMakeVisible(int $idcat, int $lang, int $visible) : void

Parameters

$idcat

int

Category id

$lang

int

Language id

$visible

int

Visible status

Checks if category is movable.

strMoveCatTargetallowed(int $idcat, int $source) : bool

Parameters

$idcat

int

Id of category to move

$source

int

Id of source category

Returns

bool

Moves a category downwards.

strMoveDownCategory(int $idcat) : void

Parameters

$idcat

int

Id of category to move downwards

Moves a subtree to another destination.

strMoveSubtree(int $idcat, int $newParentId, int $newPreId, int $newPostId) : void

Parameters

$idcat

int

Id of category

$newParentId

int

Id of destination parent category

$newPreId

int

Id of new previous category

$newPostId

int

Id of new post category

Moves a category upwards.

strMoveUpCategory(int $idcat) : void

Parameters

$idcat

int

Id of category to move upwards

Creates a new category.

strNewCategory(int $parentid, string $catname, bool $remakeTree, string $catalias, int $visible, int $public, int $iIdtplcfg) : \(int | \void)

Parameters

$parentid

int

Id of parent category

$catname

string

The category name

$remakeTree

bool

Flag to rebuild category tree structure

$catalias

string

Alias of category

$visible

int

Flag about visible status

$public

int

Flag about public status

$iIdtplcfg

int

Id of template configuration

Returns

\(int\void)Id of new generated category or nothing on failure

Creates a new category tree (root category item).

strNewTree(string $catname, string $catalias, int $visible, int $public, int $iIdtplcfg) : \(int | \void)

Parameters

$catname

string

The category name

$catalias

string

Alias of category

$visible

int

Flag about visible status

$public

int

Flag about public status

$iIdtplcfg

int

Id of template configuration

Returns

\(int\void)Id of new generated category or nothing on failure

Returns next backwards category id

strNextBackwards(int $idcat) : int

Parameters

$idcat

int

ID of category

Returns

int

Returns id of next deeper category.

strNextDeeper(int $idcat, bool $ignoreLang) : int
global int $lang

Parameters

$idcat

int

Category id to check next deeper item

$ignoreLang

bool

Flag to check for existing entry in category language table

Returns

int

Returns list of child categories.

strNextDeeperAll(int $idcat, bool $ignoreLang) : array
global int $lang

Parameters

$idcat

int

$ignoreLang

bool

Returns

array

Returns next post category id

strNextPost(int $idcat) : int

Parameters

$idcat

int

ID of category

Returns

int

Builds ordered post string for a passed category

strOrderedPostTreeList(int $idcat, string $poststring) : string

Parameters

$idcat

int

$poststring

string

Returns

string

Remakes the category tree structure in category tree table.

strRemakeTreeTable() : void

It still uses manually build sql statements due to performance reasons.

Renames a category

strRenameCategory(int $idcat, int $lang, $newCategoryName, $newCategoryAlias) : void

Parameters

$idcat

int

Category id

$lang

int

Language id

$newCategoryName

$newCategoryAlias

Renames a category alias.

strRenameCategoryAlias(int $idcat, int $lang, string $newcategoryalias) : void

Parameters

$idcat

int

Category id

$lang

int

Language id

$newcategoryalias

string

New category alias

Renders the category tree a HTML table

strShowTreeTable() : void
deprecated 2012-03-04 This function is not longer supported.

Sorts passed assoziative categories array.

strSortPrePost(array $arr) : array
todo Check logic, move sorting to db layer, if possible!

Parameters

$arr

array

Returns

array

Synchronizes a category from one language to another language.

strSyncCategory(int $idcatParam, int $sourcelang, int $targetlang, bool $bMultiple) 

Parameters

$idcatParam

int

Id of category to synchronize

$sourcelang

int

Id of source language

$targetlang

int

Id of target language

$bMultiple

bool

Flag to synchronize child languages

str_ireplace_once()

str_ireplace_once($find, $replace, $subject) 
deprecated [2012-08-02] Use cString::iReplaceOnce() instead

Parameters

$find

$replace

$subject

str_ireplace_once_reverse()

str_ireplace_once_reverse($find, $replace, $subject) 
deprecated [2012-08-02] Use cString::iReplaceOnceReverse() instead

Parameters

$find

$replace

$subject

str_rpos()

str_rpos($haystack, $needle, $start) 
deprecated [2012-08-02] Use cString::posReverse() instead

Parameters

$haystack

$needle

$start

stripCount()

stripCount($singlewordcounter, $maxKeywords) 

Parameters

$singlewordcounter

$maxKeywords

Removes slashes from passed variable.

stripslashes_deep(mixed $value) : array

Parameters

$value

mixed

Either a string or a multi-dimensional array of values

Returns

array

Check if the user has a right for a defined client.

systemHavePerm(int $client) : bool

Parameters

$client

int

client id

Returns

boolWether user has access or not

system_have_perm()

system_have_perm($client) 
deprecated [2012-07-04] Use function systemHavePerm() instead

Parameters

$client

tplAutoFillModules()

tplAutoFillModules($idtpl) 

Parameters

$idtpl

Browse a specific layout for containers

tplBrowseLayoutForContainers($idlay) : string
author Jan Lengowski <Jan.Lengowski@4fb.de>
copyright four for business AG

Parameters

$idlay

Returns

string&-seperated String of all containers

Delete a template

tplDeleteTemplate(int $idtpl) : \$new_idtpl
author Olaf Niemann <Olaf.Niemann@4fb.de>
author Jan Lengowski <Jan.Lengowski@4fb.de>
copyright four for business AG

Parameters

$idtpl

int

ID of the template to duplicate

Returns

\$new_idtplID of the duplicated template

Duplicate a template

tplDuplicateTemplate(int $idtpl) : \$new_idtpl
author Jan Lengowski <Jan.Lengowski@4fb.de>
copyright four for business AG

Parameters

$idtpl

int

ID of the template to duplicate

Returns

\$new_idtplID of the duplicated template

Edit or create a new Template

tplEditTemplate($changelayout, $idtpl, $name, $description, $idlay, $c, $default) 
author Olaf Niemann <Olaf.Niemann@4fb.de>
author Jan Lengowski <Jan.Lengowski@4fb.de>
copyright four for business AG

Parameters

$changelayout

$idtpl

$name

$description

$idlay

$c

$default

Retrieve the default module

tplGetContainerDefault($idlay, int $container) : array

Parameters

$idlay

$container

int

Container number

Returns

arrayAllowed container types

Retrieve the container mode

tplGetContainerMode($idlay, int $container) : string

Parameters

$idlay

$container

int

Container number

Returns

stringContainer name

Retrieve the container name

tplGetContainerName($idlay, int $container) : string

Parameters

$idlay

$container

int

Container number

Returns

stringContainer name

Retrieve the allowed container types

tplGetContainerTypes($idlay, int $container) : array

Parameters

$idlay

$container

int

Container number

Returns

arrayAllowed container types

Get used datas if a template is in use

tplGetInUsedData(int $idtpl) : array
author Munkh-Ulzii Balidar
copyright four for business AG

Parameters

$idtpl

int

Template ID

Returns

array- category name, article name

Checks if a template is in use

tplIsTemplateInUse(int $idtpl) : bool
author Jan Lengowski <Jan.Lengowski@4fb.de>
copyright four for business AG modified Munkh-Ulzii Balidar, improved the sql query without while loop

Parameters

$idtpl

int

Template ID

Returns

boolis template in use

Preparse the layout for caching purposes

tplPreparseLayout($idlay) : \none

Parameters

$idlay

Returns

\none

Copies a complete template configuration

tplcfgDuplicate(int $idtplcfg) : int

Parameters

$idtplcfg

int

Template Configuration ID

Returns

intnew template configuration ID

gettext wrapper (for future extensions).

trans($string) : string

Usage: trans('Your text which has to be translated');

Parameters

$string

string The string to translate

Returns

stringReturns the translation

trim_array()

trim_array($array) 
deprecated [2012-08-02] Use cArray::trim() instead

Parameters

$array

Loads the client information from the database and stores it in config.client.php.

updateClientCache(\number $idclient, string $htmlpath, string $frontendpath) 

Reinitializes the $cfgClient array and fills it wih updated information if provided.

Parameters

$idclient

\number

client id which will be updated

$htmlpath

string

new HTML path. Starting with "http://"

$frontendpath

string

path the to the frontend

Function updates file meta information (used when files were created or edited).

updateFileInformation(int $iIdClient, string $sFilename, string $sType, string $sAuthor, string $sDescription, \DB_Contenido $oDb, string $sFilenameNew) 

It creates new database record for file meta informations if database record does not exist. Otherwise, existing record will be updated

author Timo Trautmann

Parameters

$iIdClient

int
  • id of client which contains this file

$sFilename

string
  • name of corresponding file

$sType

string
  • type of file (css, js or templates)

$sAuthor

string
  • author of file

$sDescription

string
  • description of file

$oDb

\DB_Contenido
  • CONTENIDO database object

$sFilenameNew

string
  • new filename if filename was changed (optional)

Removes unwanted characters from passed filename.

uplCreateFriendlyName($filename) : string

Parameters

$filename

Returns

string

Returns array structure of passed directory.

uplDirectoryListRecursive(string $sCurrentDir, string $sStartDir, array $aFiles, int $iDepth, string $sPathString) : array

Parses the directory recursively and collects informations about found subdirectories.

Parameters

$sCurrentDir

string

Directory to parse

$sStartDir

string

Start directory. Will be used by recursion.

$aFiles

array

Files array structure. Will be used by recursion.

$iDepth

int

Nesting depth of found files. Will be used by recursion.

$sPathString

string

Path used to create full path to files. Will be used by recursion.

Returns

arrayIndexed arraay containing assoziative directory informations

Returns list of directory names to exclude e.

uplGetDirectoriesToExclude() : array

g. from directory listings.

Returns

array

Returns file extension

uplGetFileExtension(string $sFile) : string

Parameters

$sFile

string

Returns

string

Returns the icon for a file type

uplGetFileIcon(string $sFile) : string

Parameters

$sFile

string

Filename to retrieve the extension for

Returns

stringIcon for the file type

Returns the description for a file type

uplGetFileTypeDescription(string $sExtension) : string

Parameters

$sExtension

string

Extension to use

Returns

stringText for the file type

Returns thumbnail for a specific upload file

uplGetThumbnail(string $sFile, int $iMaxSize) : string

Parameters

$sFile

string

Filename to retrieve the thumbnail for

$iMaxSize

int

Thumb dimension (size of with and heigth)

Returns

string

Checks if passed upload directory contains at least one file or directory

uplHasFiles(string $sDir) : bool
todo Function name is misleading, should be renamed to uplIsEmpty

Parameters

$sDir

string

Returns

bool

Checks if passed upload directory contains at least one directory

uplHasSubdirs(string $sDir) : bool

Parameters

$sDir

string

Returns

bool

Collects informations about all available dbfs directories stored in TreeItem

uplRecursiveDBDirectoryList(string $directory, \TreeItem $oRootItem, int $level, $client) 

Parameters

$directory

string

Not used at te moment!

$oRootItem

\TreeItem

$level

int

Not used at te moment!

$client

Parses passed directory recursively and stores some properties in TreeItem

uplRecursiveDirectoryList(string $sDirectory, \TreeItem $oRootItem, int $iLevel, string $sParent, int $iRenameLevel) : array

Parameters

$sDirectory

string

$oRootItem

\TreeItem

$iLevel

int

$sParent

string

$iRenameLevel

int

Returns

arrayList of invalid directories

Renames a upload directory, updates all found upoad files containing the old directory name and updates also all entries in propertoes table related to affected upload files.

uplRenameDirectory(string $sOldName, string $sNewName, string $sParent) : void

Parameters

$sOldName

string

$sNewName

string

$sParent

string

Exceptions

\cException if the upload path can not be renamed

uplSearch()

uplSearch($searchfor) 

Parameters

$searchfor

Sync database contents with directory and vice versa.

uplSyncDirectory(string $sPath) 
  • Removes all db entries pointing to non existing directories
  • Removes all db entries pointing to non existing upload files
  • Syncs found files in passed path with the database

Parameters

$sPath

string

Specifies the path to scan

Sync database contents with DBFS

uplSyncDirectoryDBFS(string $sPath) 

Parameters

$sPath

string

Specifies the path to scan

Creates a upload directory, either in filesystem or in dbfs.

uplmkdir(string $sPath, string $sName) 

Parameters

$sPath

string

Path to directory to create, either path from client upload directory or a dbfs path

$sName

string

Name of directory to create

url_is_image()

url_is_image($sUrl) 

Parameters

$sUrl

url_is_uri()

url_is_uri($sUrl) 

Parameters

$sUrl

workflowInherit()

workflowInherit($idcat) 

Parameters

$idcat

workflowSelect()

workflowSelect($listid, $default, $idcat) 

Parameters

$listid

$default

$idcat

Get several server and CONTENIDO settings parse system and CONTENIDO output into a string

writeSystemValuesOutput($usage) 
deprecated 2012-02-26 Moved directly to include.system_sysvalues.php

Parameters

$usage

xmlFileToArray()

xmlFileToArray($filename, $aData, $aInformation) 

Parameters

$filename

$aData

$aInformation

xmldoc()

xmldoc($str) 
deprecated 2011-09-02 this function is not supported any longer

Parameters

$str

xmldocfile()

xmldocfile($filename) 
deprecated 2011-09-02 this function is not supported any longer

Parameters

$filename

xpath_eval()

xpath_eval($xpath_context, $eval_str, $contextnode) 
deprecated 2011-09-02 this function is not supported any longer

Parameters

$xpath_context

$eval_str

$contextnode

xpath_new_context()

xpath_new_context($dom_document) 
deprecated 2011-09-02 this function is not supported any longer

Parameters

$dom_document

xpath_register_ns()

xpath_register_ns($xpath_context, $prefix, $namespaceURI) 
deprecated 2011-09-02 this function is not supported any longer

Parameters

$xpath_context

$prefix

$namespaceURI

Classes and interfaces

IDebug

« More »

Swift_CharacterReader

Analyzes characters for a specific character set.

« More »

Swift_CharacterReaderFactory

A factory for creating CharacterReaders.

« More »

Swift_CharacterStream

An abstract means of reading and writing data in terms of characters as opposed to bytes.

« More »

Swift_Encoder

Interface for all Encoder schemes.

« More »

Swift_Events_CommandListener

Listens for Transports to send commands to the server.

« More »

Swift_Events_Event

The minimum interface for an Event.

« More »

Swift_Events_EventDispatcher

Interface for the EventDispatcher which handles the event dispatching layer.

« More »

Swift_Events_EventListener

An identity interface which all EventListeners must extend.

« More »

Swift_Events_ResponseListener

Listens for responses from a remote SMTP server.

« More »

Swift_Events_SendListener

Listens for Messages being sent from within the Transport system.

« More »

Swift_Events_TransportChangeListener

Listens for changes within the Transport system.

« More »

Swift_Events_TransportExceptionListener

Listens for Exceptions thrown from within the Transport system.

« More »

Swift_FileStream

An OutputByteStream which specifically reads from a file.

« More »

Swift_Filterable

Allows StreamFilters to operate on a stream.

« More »

Swift_InputByteStream

An abstract means of writing data.

« More »

Swift_KeyCache

Provides a mechanism for storing data using two keys.

« More »

Swift_KeyCache_KeyCacheInputStream

Writes data to a KeyCache using a stream.

« More »

Swift_Mailer_RecipientIterator

Provides an abstract way of specifying recipients for batch sending.

« More »

Swift_Mime_CharsetObserver

Observes changes in an Mime entity's character set.

« More »

Swift_Mime_ContentEncoder

Interface for all Transfer Encoding schemes.

« More »

Swift_Mime_EncodingObserver

Observes changes for a Mime entity's ContentEncoder.

« More »

Swift_Mime_Header

A MIME Header.

« More »

Swift_Mime_HeaderEncoder

Interface for all Header Encoding schemes.

« More »

Swift_Mime_HeaderFactory

Creates MIME headers.

« More »

Swift_Mime_HeaderSet

A collection of MIME headers.

« More »

Swift_Mime_Message

A Message (RFC 2822) object.

« More »

Swift_Mime_MimeEntity

A MIME entity, such as an attachment.

« More »

Swift_Mime_ParameterizedHeader

A MIME Header with parameters.

« More »

Swift_OutputByteStream

An abstract means of reading data.

« More »

Swift_Plugins_Decorator_Replacements

Allows customization of Messages on-the-fly.

« More »

Swift_Plugins_Logger

Logs events in the Transport system.

« More »

Swift_Plugins_Pop_Pop3Connection

Pop3Connection interface for connecting and disconnecting to a POP3 host.

« More »

Swift_Plugins_Reporter

The Reporter plugin sends pass/fail notification to a Reporter.

« More »

Swift_Plugins_Sleeper

Sleeps for a duration of time.

« More »

Swift_Plugins_Timer

Provides timestamp data.

« More »

Swift_ReplacementFilterFactory

Creates StreamFilters.

« More »

Swift_Spool

Interface for spools.

« More »

Swift_StreamFilter

Processes bytes as they pass through a stream and performs filtering.

« More »

Swift_Transport

Sends Messages via an abstract Transport subsystem.

« More »

Swift_Transport_EsmtpHandler

An ESMTP handler.

« More »

Swift_Transport_Esmtp_Authenticator

An Authentication mechanism.

« More »

Swift_Transport_IoBuffer

Buffers input and output to a resource.

« More »

Swift_Transport_MailInvoker

This interface intercepts calls to the mail() function.

« More »

Swift_Transport_SmtpAgent

Wraps an IoBuffer to send/receive SMTP commands/responses.

« More »

cDebugInterface

« More »

iConUser

Interface to describe main user functionallities.

« More »

Action

Action

« More »

ActiveUsers

Active users

« More »

Ajax

Class for outputting some content for Ajax use

« More »

Area

Area collection

« More »

ArtSpecCollection

Article specification collection

« More »

ArtSpecItem

Article specification Item

« More »

Article

CONTENIDO API - Article Object

« More »

ArticleCollection

This class contains functions for the article helper in CONTENIDO.

« More »

Auth

This class contains functions for global authentication in CONTENIDO.

« More »

CEC_Hook

Static CEC Hook class, provides some public methods to process registered chains at CEC (CONTENIDO Extension Chainer).

« More »

CategoryCollection

Category collection

« More »

CategoryItem

Single category item

« More »

CategoryLanguageCollection

Category language collection

« More »

CategoryLanguageItem

Single category language item

« More »

Client

Client class

« More »

CommunicationCollection

Communication item collection

« More »

CommunicationItem

Single communication item

« More »

ConUser

Project: CONTENIDO Content Management System

« More »

ConUserException

Simple excpetion extension for better error handling.

« More »

ConUser_Abstract

« More »

ContenidoXmlBase

Project: CONTENIDO Content Management System

« More »

ContenidoXmlReader

Project: CONTENIDO Content Management System Description: The XML reader class of CONTENIDO.

« More »

ContenidoXmlWriter

Project: CONTENIDO Content Management System

« More »

Contenido_Auth

This class contains functions for global authentication in CONTENIDO.

« More »

Contenido_Backend

« More »

Contenido_Backend_SmartyWrapper

« More »

Contenido_Categories

Implementation of a "Collection" of CONTENIDO Categories.

« More »

Contenido_Category

Implementation of a CONTENIDO Category.

« More »

Contenido_Category_Articles

Base class for Contenido_Category, Contenido_Categories, Contenido_Category_Language.

« More »

Contenido_Category_Base

Base class for Contenido_Category, Contenido_Categories, Contenido_Category_Language.

« More »

Contenido_Category_Language

Implementation of a CONTENIDO Category for a given CONTENIDO Language.

« More »

Contenido_Challenge_Crypt_Auth

This class contains the methods for the backend authentication in CONTENIDO.

« More »

Contenido_FrontendNavigation

« More »

Contenido_FrontendNavigation_Base

« More »

Contenido_FrontendNavigation_Breadcrumb

« More »

Contenido_Frontend_Challenge_Crypt_Auth

This class contains the methods for the frontend authentication in CONTENIDO.

« More »

Contenido_Module_FileTranslation

This class save the translations from a modul in a file and get it from file.

« More »

Contenido_Module_Handler

Class for new modul structere.

« More »

Contenido_Module_Synchronizer

This class synchronized the contents of modul dir with the table $cfg['tab']['mod'].

« More »

Contenido_Module_Template_Handler

Class handels the view, creation, edit, delete of modul templates.

« More »

Contenido_NavMain_Util

« More »

Contenido_Navigation

Old classname for downwards compatibility

« More »

Contenido_Notification

Old class name for downwards compatibility

« More »

Contenido_Perm

« More »

Contenido_Security

CONTENIDO Security class

« More »

Contenido_Security_Exception

CONTENIDO Security exception class

« More »

Contenido_Sitemap_Util

« More »

Contenido_SmartyWrapper

« More »

Contenido_UpdateNotifier

« More »

Contenido_Url

Contenido_Url

« More »

Contenido_UrlBuilder

Contenido_UrlBuilder_Custom

« More »

Contenido_UrlBuilderConfig

Contenido_UrlBuilderConfig

« More »

Contenido_UrlBuilderFactory

Contenido_UrlBuilderFactory

« More »

Contenido_UrlBuilder_Custom

Contenido_UrlBuilder_Custom

« More »

Contenido_UrlBuilder_CustomPath

Contenido_UrlBuilder_CustomPath

« More »

Contenido_UrlBuilder_Frontcontent

cUriBuilderFrontcontent

« More »

Contenido_UrlBuilder_MR

Contenido_UrlBuilder_MR

« More »

Cronjobs

« More »

DBFSCollection

DBFS item collection

« More »

DBFSItem

Single dbfs item

« More »

Debug_DevNull

« More »

Debug_File

« More »

Debug_FileAndVisAdv

« More »

Debug_Hidden

« More »

Debug_Visible

« More »

Debug_VisibleAdv

« More »

Debug_VisibleAdv_Item

An object representing one Debug item of a Debug_VisibleBlock.

« More »

DebuggerFactory

Debugger class

« More »

ExcelWorksheet

« More »

FormCheck

« More »

FormField

« More »

FrontendGroup

Single frontend group item

« More »

FrontendGroupCollection

Frontend group collection

« More »

FrontendGroupMember

Single frontend group member item

« More »

FrontendGroupMemberCollection

Frontend group member collection

« More »

FrontendList

Class FrontendList Class for scrollable frontend lists

« More »

FrontendLogic

FrontendLogic: This is the base class for all frontend related logic.

« More »

FrontendNavigation

file FrontendNavigation.php

« More »

FrontendPermission

Single frontend permission item

« More »

FrontendPermissionCollection

Frontend permission collection

« More »

FrontendUser

Single frontend user item

« More »

FrontendUserCollection

Frontend user collection

« More »

Group

Group item

« More »

Groups

Group item collection

« More »

HtmlParser

Class HtmlParser.

« More »

HttpInputValidator

This class is the extended version of excelent code made by kummer.

« More »

InUseCollection

In use collection

« More »

InUseItem

Single in use item

« More »

Index

Abstract base search class.

« More »

Item

Class Item Abstract class for database based items.

« More »

ItemCollection

Class ItemCollection Abstract class for database based item collections.

« More »

Language

Single language item

« More »

Languages

Language collection

« More »

Layout

« More »

LayoutInFile

« More »

ModRewrite

Class to create websafe names, it also provides several helper functions

« More »

ModRewriteBase

Abstract base mod rewrite class.

« More »

ModRewriteController

Mod Rewrite controller class.

« More »

ModRewriteDebugger

Mod rewrite debugger class.

« More »

ModRewriteTest

Mod rewrite test class.

« More »

ModRewriteUrlStack

Mod rewrite url stack class.

« More »

ModRewriteUrlUtil

Mod Rewrite url utility class.

« More »

ModRewrite_ContentController

Content controller for general settings.

« More »

ModRewrite_ContentExpertController

Content expert controller for expert settings/actions.

« More »

ModRewrite_ContentTestController

Content controller to run tests.

« More »

ModRewrite_ControllerAbstract

Abstract controller for all concrete mod_rewrite controller implementations.

« More »

Newsletter

Single Newsletter Item

« More »

NewsletterCollection

Newsletter management class

« More »

NewsletterJob

Single NewsletterJob Item

« More »

NewsletterJobCollection

Collection management class

« More »

NewsletterLog

Single NewsletterLog Item

« More »

NewsletterLogCollection

Collection management class

« More »

NewsletterRecipient

Single Recipient Item

« More »

NewsletterRecipientCollection

Recipient management class

« More »

NewsletterRecipientGroup

Single RecipientGroup Item

« More »

NewsletterRecipientGroupCollection

Recipient group management class

« More »

NewsletterRecipientGroupMember

Single RecipientGroup Item

« More »

NewsletterRecipientGroupMemberCollection

Recipient group member management class

« More »

NotInitializedException

« More »

NoteCollection

Communication collection

« More »

NoteItem

Communication item

« More »

NoteList

cHTMLDiv class represents a div element.

« More »

NoteListItem

cHTMLDiv class represents a div element.

« More »

NoteView

cHTMLIFrame class represents an iframe.

« More »

PHPMailer

PHPMailer - PHP email transport class

« More »

PimPlugin

Single Plugin Manager Item

« More »

PimPluginArchiveExtractor

« More »

PimPluginCollection

Class ItemCollection Abstract class for database based item collections.

« More »

PimPluginRelations

Single Plugin Manager Relations Item

« More »

PimPluginRelationsCollection

Class ItemCollection Abstract class for database based item collections.

« More »

PimPluginSetup

« More »

PropertyCollection

Property collection

« More »

PropertyItem

Single property item

« More »

Purge

class cSystemPurge

« More »

Recipient

Single Recipient Item

« More »

RecipientCollection

Recipient management class

« More »

RecipientGroup

Single RecipientGroup Item

« More »

RecipientGroupCollection

Recipient group management class

« More »

RecipientGroupMember

Single RecipientGroup Item

« More »

RecipientGroupMemberCollection

Recipient group member management class

« More »

Request

Request class

« More »

RequestPassword

RequestPassword

« More »

SMTP

SMTP is rfc 821 compliant and implements all the rfc 821 SMTP commands except TURN which will always return a not implemented error.

« More »

SearchBaseAbstract

Abstract base search class.

« More »

SearchIndex

Abstract base search class.

« More »

SearchResult

CONTENIDO API - SearchResult Object

« More »

Smarty

This is the main Smarty class

« More »

SmartyBC

Smarty Backward Compatability Wrapper Class

« More »

SmartyCompilerException

Smarty compiler exception class

« More »

SmartyException

Smarty exception class

« More »

Smarty_CacheResource

Cache Handler API

« More »

Smarty_CacheResource_Custom

Cache Handler API

« More »

Smarty_CacheResource_KeyValueStore

Smarty Cache Handler Base for Key/Value Storage Implementations

« More »

Smarty_Config_Source

Smarty Resource Data Object

« More »

Smarty_Data

class for the Smarty data object

« More »

Smarty_Internal_CacheResource_File

This class does contain all necessary methods for the HTML cache on file system

« More »

Smarty_Internal_CompileBase

This class does extend all internal compile plugins

« More »

Smarty_Internal_Compile_Append

Smarty Internal Plugin Compile Append Class

« More »

Smarty_Internal_Compile_Assign

Smarty Internal Plugin Compile Assign Class

« More »

Smarty_Internal_Compile_Block

Smarty Internal Plugin Compile Block Class

« More »

Smarty_Internal_Compile_Blockclose

Smarty Internal Plugin Compile BlockClose Class

« More »

Smarty_Internal_Compile_Break

Smarty Internal Plugin Compile Break Class

« More »

Smarty_Internal_Compile_Call

Smarty Internal Plugin Compile Function_Call Class

« More »

Smarty_Internal_Compile_Capture

Smarty Internal Plugin Compile Capture Class

« More »

Smarty_Internal_Compile_CaptureClose

Smarty Internal Plugin Compile Captureclose Class

« More »

Smarty_Internal_Compile_Config_Load

Smarty Internal Plugin Compile Config Load Class

« More »

Smarty_Internal_Compile_Continue

Smarty Internal Plugin Compile Continue Class

« More »

Smarty_Internal_Compile_Debug

Smarty Internal Plugin Compile Debug Class

« More »

Smarty_Internal_Compile_Else

Smarty Internal Plugin Compile Else Class

« More »

Smarty_Internal_Compile_Elseif

Smarty Internal Plugin Compile ElseIf Class

« More »

Smarty_Internal_Compile_Eval

Smarty Internal Plugin Compile Eval Class

« More »

Smarty_Internal_Compile_Extends

Smarty Internal Plugin Compile extend Class

« More »

Smarty_Internal_Compile_For

Smarty Internal Plugin Compile For Class

« More »

Smarty_Internal_Compile_Forclose

Smarty Internal Plugin Compile Forclose Class

« More »

Smarty_Internal_Compile_Foreach

Smarty Internal Plugin Compile Foreach Class

« More »

Smarty_Internal_Compile_Foreachclose

Smarty Internal Plugin Compile Foreachclose Class

« More »

Smarty_Internal_Compile_Foreachelse

Smarty Internal Plugin Compile Foreachelse Class

« More »

Smarty_Internal_Compile_Forelse

Smarty Internal Plugin Compile Forelse Class

« More »

Smarty_Internal_Compile_Function

Smarty Internal Plugin Compile Function Class

« More »

Smarty_Internal_Compile_Functionclose

Smarty Internal Plugin Compile Functionclose Class

« More »

Smarty_Internal_Compile_If

Smarty Internal Plugin Compile If Class

« More »

Smarty_Internal_Compile_Ifclose

Smarty Internal Plugin Compile Ifclose Class

« More »

Smarty_Internal_Compile_Include

Smarty Internal Plugin Compile Include Class

« More »

Smarty_Internal_Compile_Include_Php

Smarty Internal Plugin Compile Insert Class

« More »

Smarty_Internal_Compile_Insert

Smarty Internal Plugin Compile Insert Class

« More »

Smarty_Internal_Compile_Ldelim

Smarty Internal Plugin Compile Ldelim Class

« More »

Smarty_Internal_Compile_Nocache

Smarty Internal Plugin Compile Nocache Classv

« More »

Smarty_Internal_Compile_Nocacheclose

Smarty Internal Plugin Compile Nocacheclose Class

« More »

Smarty_Internal_Compile_Private_Block_Plugin

Smarty Internal Plugin Compile Block Plugin Class

« More »

Smarty_Internal_Compile_Private_Function_Plugin

Smarty Internal Plugin Compile Function Plugin Class

« More »

Smarty_Internal_Compile_Private_Modifier

Smarty Internal Plugin Compile Modifier Class

« More »

Smarty_Internal_Compile_Private_Object_Block_Function

Smarty Internal Plugin Compile Object Block Function Class

« More »

Smarty_Internal_Compile_Private_Object_Function

Smarty Internal Plugin Compile Object Function Class

« More »

Smarty_Internal_Compile_Private_Print_Expression

Smarty Internal Plugin Compile Print Expression Class

« More »

Smarty_Internal_Compile_Private_Registered_Block

Smarty Internal Plugin Compile Registered Block Class

« More »

Smarty_Internal_Compile_Private_Registered_Function

Smarty Internal Plugin Compile Registered Function Class

« More »

Smarty_Internal_Compile_Private_Special_Variable

Smarty Internal Plugin Compile special Smarty Variable Class

« More »

Smarty_Internal_Compile_Rdelim

Smarty Internal Plugin Compile Rdelim Class

« More »

Smarty_Internal_Compile_Section

Smarty Internal Plugin Compile Section Class

« More »

Smarty_Internal_Compile_Sectionclose

Smarty Internal Plugin Compile Sectionclose Class

« More »

Smarty_Internal_Compile_Sectionelse

Smarty Internal Plugin Compile Sectionelse Class

« More »

Smarty_Internal_Compile_Setfilter

Smarty Internal Plugin Compile Setfilter Class

« More »

Smarty_Internal_Compile_Setfilterclose

Smarty Internal Plugin Compile Setfilterclose Class

« More »

Smarty_Internal_Compile_While

Smarty Internal Plugin Compile While Class

« More »

Smarty_Internal_Compile_Whileclose

Smarty Internal Plugin Compile Whileclose Class

« More »

Smarty_Internal_Config_File_Compiler

Main config file compiler class

« More »

Smarty_Internal_Configfilelexer

Smarty Internal Plugin Configfilelexer

« More »

Smarty_Internal_Configfileparser

« More »

Smarty_Internal_Data

Base class with template and variable methodes

« More »

Smarty_Internal_Debug

Smarty Internal Plugin Debug Class

« More »

Smarty_Internal_Filter

Class for filter methods

« More »

Smarty_Internal_Filter_Handler

Class for filter processing

« More »

Smarty_Internal_Function_Call_Handler

This class does call function defined with the {function} tag

« More »

Smarty_Internal_Get_Include_Path

Smarty Internal Read Include Path Class

« More »

Smarty_Internal_Nocache_Insert

Smarty Internal Plugin Compile Insert Class

« More »

Smarty_Internal_Register

Class for register/unregister methods

« More »

Smarty_Internal_Resource_Eval

Smarty Internal Plugin Resource Eval

« More »

Smarty_Internal_Resource_Extends

Smarty Internal Plugin Resource Extends

« More »

Smarty_Internal_Resource_File

Smarty Internal Plugin Resource File

« More »

Smarty_Internal_Resource_PHP

Smarty Internal Plugin Resource PHP

« More »

Smarty_Internal_Resource_Registered

Smarty Internal Plugin Resource Registered

« More »

Smarty_Internal_Resource_Stream

Smarty Internal Plugin Resource Stream

« More »

Smarty_Internal_Resource_String

Smarty Internal Plugin Resource String

« More »

Smarty_Internal_SmartyTemplateCompiler

Class SmartyTemplateCompiler

« More »

Smarty_Internal_Template

Main class with template data structures and methods

« More »

Smarty_Internal_TemplateBase

Class with shared template methodes

« More »

Smarty_Internal_TemplateCompilerBase

Main abstract compiler class

« More »

Smarty_Internal_Templatelexer

Smarty Internal Plugin Templatelexer

« More »

Smarty_Internal_Templateparser

« More »

Smarty_Internal_Utility

Utility class

« More »

Smarty_Internal_Wrapper

Project: Smarty: the PHP compiling template engine File: smarty_internal_wrapper.php SVN: $Id: smarty_internal_wrapper.php 2755 2012-07-25 20:10:28Z xmurrix $

« More »

Smarty_Internal_Write_File

Smarty Internal Write File Class

« More »

Smarty_Resource

Smarty Resource Plugin

« More »

Smarty_Resource_Custom

Smarty Resource Plugin

« More »

Smarty_Resource_Recompiled

Smarty Resource Plugin

« More »

Smarty_Resource_Uncompiled

Smarty Resource Plugin

« More »

Smarty_Security

This class does contain the security settings

« More »

Smarty_Template_Cached

Smarty Resource Data Object

« More »

Smarty_Template_Compiled

Smarty Resource Data Object

« More »

Smarty_Template_Source

Smarty Resource Data Object

« More »

Smarty_Variable

class for the Smarty variable object

« More »

Structure

« More »

Swift

General utility class in Swift Mailer, not to be instantiated.

« More »

Swift_Attachment

Attachment class for attaching files to a {@link Swift_Mime_Message}.

« More »

Swift_ByteStream_AbstractFilterableInputStream

Provides the base functionality for an InputStream supporting filters.

« More »

Swift_ByteStream_ArrayByteStream

Allows reading and writing of bytes to and from an array.

« More »

Swift_ByteStream_FileByteStream

Allows reading and writing of bytes to and from a file.

« More »

Swift_CharacterReaderFactory_SimpleCharacterReaderFactory

Standard factory for creating CharacterReaders.

« More »

Swift_CharacterReader_GenericFixedWidthReader

Provides fixed-width byte sizes for reading fixed-width character sets.

« More »

Swift_CharacterReader_UsAsciiReader

Analyzes US-ASCII characters.

« More »

Swift_CharacterReader_Utf8Reader

Analyzes UTF-8 characters.

« More »

Swift_CharacterStream_ArrayCharacterStream

A CharacterStream implementation which stores characters in an internal array.

« More »

Swift_CharacterStream_NgCharacterStream

A CharacterStream implementation which stores characters in an internal array.

« More »

Swift_ConfigurableSpool

Base class for Spools (implements time and message limits).

« More »

Swift_DependencyContainer

Dependency Injection container.

« More »

Swift_DependencyException

DependencyException thrown when a requested dependeny is missing.

« More »

Swift_EmbeddedFile

An embedded file, in a multipart message.

« More »

Swift_Encoder_Base64Encoder

Handles Base 64 Encoding in Swift Mailer.

« More »

Swift_Encoder_QpEncoder

Handles Quoted Printable (QP) Encoding in Swift Mailer.

« More »

Swift_Encoder_Rfc2231Encoder

Handles RFC 2231 specified Encoding in Swift Mailer.

« More »

Swift_Encoding

Provides quick access to each encoding type.

« More »

Swift_Events_CommandEvent

Generated when a command is sent over an SMTP connection.

« More »

Swift_Events_EventObject

A base Event which all Event classes inherit from.

« More »

Swift_Events_ResponseEvent

Generated when a response is received on a SMTP connection.

« More »

Swift_Events_SendEvent

Generated when a message is being sent.

« More »

Swift_Events_SimpleEventDispatcher

The EventDispatcher which handles the event dispatching layer.

« More »

Swift_Events_TransportChangeEvent

Generated when the state of a Transport is changed (i.e.

« More »

Swift_Events_TransportExceptionEvent

Generated when a TransportException is thrown from the Transport system.

« More »

Swift_FailoverTransport

Contains a list of redundant Transports so when one fails, the next is used.

« More »

Swift_FileSpool

Stores Messages on the filesystem.

« More »

Swift_Image

An image, embedded in a multipart message.

« More »

Swift_IoException

I/O Exception class.

« More »

Swift_KeyCache_ArrayKeyCache

A basic KeyCache backed by an array.

« More »

Swift_KeyCache_DiskKeyCache

A KeyCache which streams to and from disk.

« More »

Swift_KeyCache_DummyKeyCache

A basic KeyCache backed by an array.

« More »

Swift_KeyCache_NullKeyCache

A null KeyCache that does not cache at all.

« More »

Swift_KeyCache_SimpleKeyCacheInputStream

Writes data to a KeyCache using a stream.

« More »

Swift_LoadBalancedTransport

Redudantly and rotationally uses several Transport implementations when sending.

« More »

Swift_MailTransport

Sends Messages using the mail() function.

« More »

Swift_Mailer

Swift Mailer class.

« More »

Swift_Mailer_ArrayRecipientIterator

Wraps a standard PHP array in an interator.

« More »

Swift_MemorySpool

Stores Messages in memory.

« More »

Swift_Message

The Message class for building emails.

« More »

Swift_MimePart

A MIME part, in a multipart message.

« More »

Swift_Mime_Attachment

An attachment, in a multipart message.

« More »

Swift_Mime_ContentEncoder_Base64ContentEncoder

Handles Base 64 Transfer Encoding in Swift Mailer.

« More »

Swift_Mime_ContentEncoder_NativeQpContentEncoder

« More »

Swift_Mime_ContentEncoder_PlainContentEncoder

Handles binary/7/8-bit Transfer Encoding in Swift Mailer.

« More »

Swift_Mime_ContentEncoder_QpContentEncoder

Handles Quoted Printable (QP) Transfer Encoding in Swift Mailer.

« More »

Swift_Mime_EmbeddedFile

An embedded file, in a multipart message.

« More »

Swift_Mime_Grammar

Defines the grammar to use for validation, implements the RFC 2822 (and friends) ABNF grammar definitions.

« More »

Swift_Mime_HeaderEncoder_Base64HeaderEncoder

Handles Base64 (B) Header Encoding in Swift Mailer.

« More »

Swift_Mime_HeaderEncoder_QpHeaderEncoder

Handles Quoted Printable (Q) Header Encoding in Swift Mailer.

« More »

Swift_Mime_Headers_AbstractHeader

An abstract base MIME Header.

« More »

Swift_Mime_Headers_DateHeader

A Date MIME Header for Swift Mailer.

« More »

Swift_Mime_Headers_IdentificationHeader

An ID MIME Header for something like Message-ID or Content-ID.

« More »

Swift_Mime_Headers_MailboxHeader

A Mailbox Address MIME Header for something like From or Sender.

« More »

Swift_Mime_Headers_ParameterizedHeader

An abstract base MIME Header.

« More »

Swift_Mime_Headers_PathHeader

A Path Header in Swift Mailer, such a Return-Path.

« More »

Swift_Mime_Headers_UnstructuredHeader

A Simple MIME Header.

« More »

Swift_Mime_MimePart

A MIME part, in a multipart message.

« More »

Swift_Mime_SimpleHeaderFactory

Creates MIME headers.

« More »

Swift_Mime_SimpleHeaderSet

A collection of MIME headers.

« More »

Swift_Mime_SimpleMessage

The default email message class.

« More »

Swift_Mime_SimpleMimeEntity

A MIME entity, in a multipart message.

« More »

Swift_NullTransport

Pretends messages have been sent, but just ignores them.

« More »

Swift_Plugins_AntiFloodPlugin

Reduces network flooding when sending large amounts of mail.

« More »

Swift_Plugins_BandwidthMonitorPlugin

Reduces network flooding when sending large amounts of mail.

« More »

Swift_Plugins_DecoratorPlugin

Allows customization of Messages on-the-fly.

« More »

Swift_Plugins_ImpersonatePlugin

Replaces the sender of a message.

« More »

Swift_Plugins_LoggerPlugin

Does real time logging of Transport level information.

« More »

Swift_Plugins_Loggers_ArrayLogger

Logs to an Array backend.

« More »

Swift_Plugins_Loggers_EchoLogger

Prints all log messages in real time.

« More »

Swift_Plugins_MessageLogger

Stores all sent emails for further usage.

« More »

Swift_Plugins_PopBeforeSmtpPlugin

Makes sure a connection to a POP3 host has been established prior to connecting to SMTP.

« More »

Swift_Plugins_Pop_Pop3Exception

Pop3Exception thrown when an error occurs connecting to a POP3 host.

« More »

Swift_Plugins_RedirectingPlugin

Redirects all email to a single recipient.

« More »

Swift_Plugins_ReporterPlugin

Does real time reporting of pass/fail for each recipient.

« More »

Swift_Plugins_Reporters_HitReporter

A reporter which "collects" failures for the Reporter plugin.

« More »

Swift_Plugins_Reporters_HtmlReporter

A HTML output reporter for the Reporter plugin.

« More »

Swift_Plugins_ThrottlerPlugin

Throttles the rate at which emails are sent.

« More »

Swift_Preferences

Changes some global preference settings in Swift Mailer.

« More »

Swift_RfcComplianceException

RFC Compliance Exception class.

« More »

Swift_SendmailTransport

SendmailTransport for sending mail through a sendmail/postfix (etc.

« More »

Swift_SmtpTransport

Sends Messages over SMTP with ESMTP support.

« More »

Swift_SpoolTransport

Stores Messages in a queue.

« More »

Swift_StreamFilters_ByteArrayReplacementFilter

Processes bytes as they pass through a buffer and replaces sequences in it.

« More »

Swift_StreamFilters_StringReplacementFilter

Processes bytes as they pass through a buffer and replaces sequences in it.

« More »

Swift_StreamFilters_StringReplacementFilterFactory

Creates filters for replacing needles in a string buffer.

« More »

Swift_SwiftException

Base Exception class.

« More »

Swift_TransportException

TransportException thrown when an error occurs in the Transport subsystem.

« More »

Swift_Transport_AbstractSmtpTransport

Sends Messages over SMTP.

« More »

Swift_Transport_EsmtpTransport

Sends Messages over SMTP with ESMTP support.

« More »

Swift_Transport_Esmtp_AuthHandler

An ESMTP handler for AUTH support.

« More »

Swift_Transport_Esmtp_Auth_CramMd5Authenticator

Handles CRAM-MD5 authentication.

« More »

Swift_Transport_Esmtp_Auth_LoginAuthenticator

Handles LOGIN authentication.

« More »

Swift_Transport_Esmtp_Auth_PlainAuthenticator

Handles PLAIN authentication.

« More »

Swift_Transport_FailoverTransport

Contains a list of redundant Transports so when one fails, the next is used.

« More »

Swift_Transport_LoadBalancedTransport

Redudantly and rotationally uses several Transports when sending.

« More »

Swift_Transport_MailTransport

Sends Messages using the mail() function.

« More »

Swift_Transport_NullTransport

Pretends messages have been sent, but just ignores them.

« More »

Swift_Transport_SendmailTransport

SendmailTransport for sending mail through a sendmail/postfix (etc.

« More »

Swift_Transport_SimpleMailInvoker

This is the implementation class for {@link Swift_Transport_MailInvoker}.

« More »

Swift_Transport_SpoolTransport

Stores Messages in a queue.

« More »

Swift_Transport_StreamBuffer

A generic IoBuffer implementation supporting remote sockets and local processes.

« More »

Swift_Validate

Utility Class allowing users to simply check expressions again Swift Grammar

« More »

SynchronizeLayouts

« More »

TODOBackendList

« More »

TODOCollection

Communication collection

« More »

TODOItem

Communication item

« More »

TPC_yyStackEntry

« More »

TPC_yyToken

Smarty Internal Plugin Configfileparser

« More »

TP_yyStackEntry

« More »

TP_yyToken

Smarty Internal Plugin Templateparser

« More »

Table

« More »

Template

class Template

« More »

TemplateConfig

Object of a CONTENIDO template configuration

« More »

TreeItem

Class TreeItem Class to create tree-based items

« More »

UI_Config_Table

« More »

UI_Form

« More »

UI_Left_Top

« More »

UI_List

Old classname for downwards compatibility

« More »

UI_Menu

Old class name for downwards compatibility

« More »

UI_Page

« More »

UI_Table_Form

Old classname for downwards compatibility

« More »

Undefined_Smarty_Variable

class for undefined variable object

« More »

UploadCollection

Upload collection

« More »

UploadItem

Single upload item

« More »

UploadList

Class FrontendList Class for scrollable frontend lists

« More »

UploadSearchResultList

Class FrontendList Class for scrollable frontend lists

« More »

User

Single user item

« More »

Users

Uuser item collection

« More »

ValidationError

« More »

Version

Version

« More »

VersionFile

VersionFile

« More »

VersionImport

VersionImport

« More »

VersionLayout

VersionLayout

« More »

VersionModule

VersionModule

« More »

Workflow

Class Workflow Class for a single workflow item

« More »

WorkflowAction

Class WorkflowAction Class for a single workflow action

« More »

WorkflowActions

Class WorkflowActions Class for workflow action collections

« More »

WorkflowAllocation

Class WorkflowAllocation Class for a single workflow allocation item

« More »

WorkflowAllocations

Class WorkflowAllocations Class for workflow allocation management

« More »

WorkflowArtAllocation

Class WorkflowArtAllocation Class for a single workflow allocation item

« More »

WorkflowArtAllocations

Class WorkflowArtAllocations Class for workflow art allocation management

« More »

WorkflowItem

Class WorkflowItem Class for a single workflow item

« More »

WorkflowItems

Class WorkflowItems Class for workflow item management

« More »

WorkflowTask

Class WorkflowTask Class for a single workflow task item

« More »

WorkflowTasks

Class WorkflowTasks Class for workflow task collections

« More »

WorkflowUserSequence

Class WorkflowUserSequence Class for a single workflow item

« More »

WorkflowUserSequences

Class WorkflowUserSequences Class for workflow user sequence management

« More »

Workflows

Class Workflows Class for workflow management

« More »

XML_doc

Project: CONTENIDO Content Management System Description: The XML reader class of CONTENIDO.

« More »

XmlNode

XmlNode Object

« More »

XmlParser

Class for parsing XML documents using SAX

« More »

XmlTree

XmlTree class

« More »

XsltProcessor

XSLT_Processor

« More »

cAjaxRequest

Class for outputting some content for Ajax use

« More »

cApiAction

Action item

« More »

cApiActionCollection

Action collection

« More »

cApiActionlog

Actionlog item

« More »

cApiActionlogCollection

Actionlog collection

« More »

cApiArea

Area item

« More »

cApiAreaCollection

Area collection

« More »

cApiArticle

Article item

« More »

cApiArticleCollection

Article collection

« More »

cApiArticleLanguage

CONTENIDO API - Article Object

« More »

cApiArticleLanguageCollection

Article language collection

« More »

cApiArticleSpecification

Article specification item

« More »

cApiArticleSpecificationCollection

Article specification collection

« More »

cApiCategory

Category item

« More »

cApiCategoryArticle

Category article item

« More »

cApiCategoryArticleCollection

Category article collection

« More »

cApiCategoryCollection

Category collection

« More »

cApiCategoryLanguage

Category language item

« More »

cApiCategoryLanguageCollection

Category language collection

« More »

cApiCategoryTree

Category tree item

« More »

cApiCategoryTreeCollection

Category tree collection

« More »

cApiCecChainItem

CEC chain item class.

« More »

cApiCecHook

Static CEC Hook class, provides some public methods to process registered chains at CEC (CONTENIDO Extension Chainer).

« More »

cApiCecRegistry

CEC registry class.

« More »

cApiClickableAction

class cApiClickableAction cApiClickableAction is a subclass of cApiAction.

« More »

cApiClickableQuestionAction

class cApiClickableAction cApiClickableAction is a subclass of cApiAction.

« More »

cApiClient

Class cApiClient, client item

« More »

cApiClientCollection

Client collection

« More »

cApiClientLanguage

Client item

« More »

cApiClientLanguageCollection

Client language collection

« More »

cApiCode

Code item

« More »

cApiCodeCollection

Code collection

« More »

cApiCommunication

Communication item

« More »

cApiCommunicationCollection

Communication collection

« More »

cApiContainer

Container item

« More »

cApiContainerCollection

Container collection

« More »

cApiContainerConfiguration

Container configuration item

« More »

cApiContainerConfigurationCollection

Container configuration collection

« More »

cApiContent

Content item

« More »

cApiContentCollection

Content collection

« More »

cApiDbfs

DBFS item

« More »

cApiDbfsCollection

DFFS item collection

« More »

cApiFile

File item

« More »

cApiFileCollection

File collection

« More »

cApiFileInformation

Class Item Abstract class for database based items.

« More »

cApiFileInformationCollection

Class ItemCollection Abstract class for database based item collections.

« More »

cApiFrameFile

Frame file item

« More »

cApiFrameFileCollection

Frame file collection

« More »

cApiFrontendGroup

Frontend group item

« More »

cApiFrontendGroupCollection

Frontend group collection

« More »

cApiFrontendGroupMember

Frontend group member item

« More »

cApiFrontendGroupMemberCollection

Frontend group member collection

« More »

cApiFrontendPermission

Frontend permission item

« More »

cApiFrontendPermissionCollection

Frontend permission collection

« More »

cApiFrontendUser

Frontend user item

« More »

cApiFrontendUserCollection

Frontend user collection

« More »

cApiGroup

Group item

« More »

cApiGroupCollection

Group collection

« More »

cApiGroupMember

Group member item

« More »

cApiGroupMemberCollection

Group member collection

« More »

cApiGroupProperty

Group property item

« More »

cApiGroupPropertyCollection

Group property collection

« More »

cApiInUse

Class cApiInUse Class for a single in-use item

« More »

cApiInUseCollection

Class InUse Class for In-Use management

« More »

cApiLanguage

Language item

« More »

cApiLanguageCollection

Language collection

« More »

cApiLayout

Layout item

« More »

cApiLayoutCollection

Layout collection

« More »

cApiMailLog

Mail log item

« More »

cApiMailLogCollection

Mail log collection

« More »

cApiMailLogSuccess

Mail log success item

« More »

cApiMailLogSuccessCollection

Mail log success collection

« More »

cApiMetaTag

Metatag item

« More »

cApiMetaTagCollection

Metatag collection

« More »

cApiMetaType

Metatype item

« More »

cApiMetaTypeCollection

Metatype collection

« More »

cApiModule

Module item

« More »

cApiModuleCollection

Module collection

« More »

cApiModuleTranslation

Module access class

« More »

cApiModuleTranslationCollection

Class ItemCollection Abstract class for database based item collections.

« More »

cApiNavMain

NavMain item

« More »

cApiNavMainCollection

File collection

« More »

cApiNavSub

NavMain item

« More »

cApiNavSubCollection

File collection

« More »

cApiOnlineUser

Online user item

« More »

cApiOnlineUserCollection

Online user collection

« More »

cApiPathresolveCache

Pathresolve cache item

« More »

cApiPathresolveCacheCollection

Pathresolve cache collection

« More »

cApiPathresolveCacheHelper

Pathresolve cache static helper class

« More »

cApiProperty

Property item

« More »

cApiPropertyCollection

Property collection

« More »

cApiRight

Right item

« More »

cApiRightCollection

Right collection

« More »

cApiShortUrl

Class Item Abstract class for database based items.

« More »

cApiShortUrlCollection

Class ItemCollection Abstract class for database based item collections.

« More »

cApiStat

Statistic item

« More »

cApiStatCollection

Statistic collection

« More »

cApiSystemProperty

System property item

« More »

cApiSystemPropertyCollection

System property collection

« More »

cApiTemplate

Template item

« More »

cApiTemplateCollection

Template collection

« More »

cApiTemplateConfiguration

Template configuration item

« More »

cApiTemplateConfigurationCollection

Template configuration collection

« More »

cApiTree

Single category tree item

« More »

cApiType

Type item

« More »

cApiTypeCollection

Type collection

« More »

cApiUpload

Upload item

« More »

cApiUploadCollection

Upload collection

« More »

cApiUploadMeta

Upload meta item

« More »

cApiUploadMetaCollection

Upload meta collection

« More »

cApiUser

User item

« More »

cApiUserCollection

User collection

« More »

cApiUserProperty

User property item

« More »

cApiUserPropertyCollection

User property collection

« More »

cApiXml2Array

« More »

cArray

Array helper class.

« More »

cArticleCollector

This class contains functions for the article helper in CONTENIDO.

« More »

cAuth

This class contains functions for global authentication in CONTENIDO.

« More »

cAuthHandlerAbstract

This class contains the abstract methods for the authentication in CONTENIDO.

« More »

cAuthHandlerBackend

This class contains the methods for the backend authentication in CONTENIDO.

« More »

cAuthHandlerFrontend

This class contains the methods for the frontend authentication in CONTENIDO.

« More »

cAutoload

« More »

cBackend

« More »

cBadFunctionCallException

Exception thrown if a callback refers to an undefined function or if some arguments are missing.

« More »

cBadMethodCallException

Exception thrown if a callback refers to an undefined method or if some arguments are missing.

« More »

cBufferedLog

This class contains the main functionalities for the logging in CONTENIDO.

« More »

cCalendarControl

cHTMLTable class represents a table.

« More »

cCategoryHelper

« More »

cCharacterConverter

cCharacterConverter

« More »

cCodeGeneratorAbstract

CONTENIDO abstract code generator class.

« More »

cCodeGeneratorFactory

CONTENIDO code generator factory.

« More »

cCodeGeneratorStandard

CONTENIDO standard code generator.

« More »

cContentTypeAbstract

Abstract content type from which every content type should inherit.

« More »

cContentTypeAbstractTabbed

Abstract content type for content types which are edited in a tabbed popup.

« More »

cContentTypeDate

Content type CMS_DATE which allows the editor to select a date from a calendar and a date format.

« More »

cContentTypeFilelist

Content type CMS_FILELIST which lets the editor select some folders or files.

« More »

cContentTypeHead

Content type CMS_HEAD which lets the editor enter a single-line text.

« More »

cContentTypeHtml

Content type CMS_HTML which lets the editor enter HTML with the help of a WYSIWYG editor.

« More »

cContentTypeHtmlhead

Content type CMS_HTMLHEAD which lets the editor enter HTML with the help of a WYSIWYG editor.

« More »

cContentTypeImg

Content type CMS_IMG which displays the path to the selected image.

« More »

cContentTypeImgdescr

Content type CMS_IMGDESCR which displays the description of the selected image.

« More »

cContentTypeImgeditor

Content type CMS_IMGEDITOR which lets the editor select an image.

« More »

cContentTypeLinkdescr

Content type CMS_LINKDESCR which displays the link description.

« More »

cContentTypeLinkeditor

Content type CMS_LINKEDITOR which lets the editor select a link.

« More »

cContentTypeLinktarget

Content type CMS_LINKTARGET which displays the link target.

« More »

cContentTypeTeaser

Content type CMS_TEASER which lets the editor select articles in various ways which are displayed as teasers.

« More »

cContentTypeText

Content type CMS_TEXT which lets the editor enter a single-line text.

« More »

cDataCheckboxWidget

cHTMLCheckbox class represents a checkbox.

« More »

cDataCodeTextareaWidget

cHTMLTextarea class represents a textarea.

« More »

cDataDropdownWidget

cHTMLSelectElement class represents a select element.

« More »

cDataForeignTableDropdownWidget

cHTMLSelectElement class represents a select element.

« More »

cDataMultiTextboxWidget

cHTMLTable class represents a table.

« More »

cDataTextWidget

cHTMLTextbox class represents a textbox.

« More »

cDataTextareaWidget

cHTMLTextarea class represents a textarea.

« More »

cDatatype

« More »

cDatatypeCurrency

« More »

cDatatypeDateTime

« More »

cDatatypeNumber

« More »

cDateChooser

cHTMLTextbox class represents a textbox.

« More »

cDatefield

cHTMLTextbox class represents a textbox.

« More »

cDb

This class contains functions for handling record sets and interaction with database in CONTENIDO.

« More »

cDbDriverAbstract

This class contains abstract method definitions for each database driver in CONTENIDO.

« More »

cDbDriverHandler

This class contains functions for database driver handling in CONTENIDO.

« More »

cDbDriverMysql

This class contains functions for database interaction based on MySQL in CONTENIDO.

« More »

cDbDriverMysqli

This class contains functions for database interaction based on MySQLi in CONTENIDO.

« More »

cDbException

Exception thrown if there is some fault in database connection.

« More »

cDebug

Debugger class

« More »

cDebugDevNull

« More »

cDebugFile

« More »

cDebugFileAndVisAdv

« More »

cDebugHidden

« More »

cDebugVisible

« More »

cDebugVisibleAdv

« More »

cDebugVisibleAdvItem

An object representing one Debug item of a Debug_VisibleBlock.

« More »

cDomainException

Exception thrown if a value does not adhere to a defined valid data domain.

« More »

cDropdownDateSelect

« More »

cEffectiveSetting

« More »

cErrorException

An Error Exception.

« More »

cException

cException is the base class for all exceptions.

« More »

cFileCache

This class contains functions for the file cache in CONTENIDO.

« More »

cFileHandler

Provides functions for dealing with files

« More »

cFileNotFoundException

Exception thrown if a file could not be found.

« More »

cFoldingRow

Old classname for downwards compatibility

« More »

cFrontendHelper

This class contains functions for the frontend helper class in CONTENIDO.

« More »

cFrontendSession

Session class for the frontend.

« More »

cGenericDb

Class cGenericDb.

« More »

cGenericDbDriver

« More »

cGenericDbDriverMysql

« More »

cGuiFoldingRow

Base class for all CONTENIDO HTML classes

« More »

cGuiList

« More »

cGuiMenu

« More »

cGuiNavigation

Backend navigaton class.

« More »

cGuiNotification

« More »

cGuiObjectPager

Base class for all CONTENIDO HTML classes

« More »

cGuiPage

Manages HTML pages and provides functions for rendering them

« More »

cGuiScrollList

« More »

cGuiTableForm

« More »

cGuiTree

class cGuiTree cGuiTree is a visual representation of a cTree.

« More »

cHTML

Base class for all CONTENIDO HTML classes

« More »

cHTMLAlignmentTable

cHTMLAlignmentTable class represents an alignment table.

« More »

cHTMLButton

cHTMLButton class represents a button.

« More »

cHTMLCheckbox

cHTMLCheckbox class represents a checkbox.

« More »

cHTMLDiv

cHTMLDiv class represents a div element.

« More »

cHTMLForm

cHTMLForm class represents a form.

« More »

cHTMLFormElement

cHTMLFormElement class represents a form element.

« More »

cHTMLHiddenField

cHTMLHiddenField class represents a hidden form field.

« More »

cHTMLIFrame

cHTMLIFrame class represents an iframe.

« More »

cHTMLImage

cHTMLImage class represents an image.

« More »

cHTMLInputSelectElement

Select box with additional functions for category and article selection

« More »

cHTMLLabel

cHTMLLabel class represents a form label.

« More »

cHTMLList

cHTMLList class represents a list.

« More »

cHTMLListItem

cHTMLListItem class represents a list item.

« More »

cHTMLOptionElement

cHTMLOptionElement class represents a select option element.

« More »

cHTMLParagraph

cHTMLParagraph class represents a paragraph.

« More »

cHTMLPasswordbox

cHTMLPasswordbox class represents a password form field.

« More »

cHTMLRadiobutton

cHTMLRadiobutton class represents a radio button.

« More »

cHTMLScript

cHTMLScript class represents a script.

« More »

cHTMLSelectElement

cHTMLSelectElement class represents a select element.

« More »

cHTMLSpan

cHTMLSpan class represents a span element.

« More »

cHTMLTable

cHTMLTable class represents a table.

« More »

cHTMLTableBody

cHTMLTableBody class represents a table body.

« More »

cHTMLTableData

cHTMLTableData class represents a table date.

« More »

cHTMLTableHead

cHTMLTableHead class represents a table head.

« More »

cHTMLTableHeader

cHTMLTableHeader class represents a table header.

« More »

cHTMLTableRow

cHTMLTableRow class represents a table row.

« More »

cHTMLTextarea

cHTMLTextarea class represents a textarea.

« More »

cHTMLTextbox

cHTMLTextbox class represents a textbox.

« More »

cHTMLUpload

cHTMLUpload class represents a file upload element.

« More »

cHTMLValidator

« More »

cI18n

Internationalization (i18n) class.

« More »

cInvalidArgumentException

Exception thrown if an argument does not match with the expected value.

« More »

cItemBaseAbstract

Class cItemBaseAbstract.

« More »

cItemCache

Class cItemCache.

« More »

cItemException

Class cItemException.

« More »

cIterator

cIterator: A class which represents the C/C++/JAVA Iterator support.

« More »

cLayoutHandler

« More »

cLayoutSynchronizer

« More »

cLengthException

Exception thrown if a length is invalid.

« More »

cLog

This class contains the main functionalities for the logging in CONTENIDO.

« More »

cLogWriter

This class contains the main functionalities for the logging writer in CONTENIDO.

« More »

cLogWriterFile

This class contains the file writer class for the logging mechanism.

« More »

cLogicException

Exception that represents error in the program logic.

« More »

cMailer

Mailer class which should be used for all mail sending purposes.

« More »

cMetaObject

« More »

cModuleFileTranslation

This class save the translations from a modul in a file and get it from file.

« More »

cModuleHandler

Class for new modul structere.

« More »

cModuleLog

This class contains the main functionalities for the module logging in CONTENIDO.

« More »

cModuleSearch

This class search for modules (input, output,type,description, name )

« More »

cModuleSynchronizer

This class synchronized the contents of modul dir with the table $cfg['tab']['mod'].

« More »

cModuleTemplateHandler

Class handels the view, creation, edit, delete of modul templates.

« More »

cNewPageLeftTopMultiPane

Regular page

« More »

cNewsletterJob

Single NewsletterJob Item

« More »

cNewsletterJobCollection

Collection management class

« More »

cNewsletterLog

Single NewsletterLog Item

« More »

cNewsletterLogCollection

Collection management class

« More »

cNominalCurrencyField

cHTMLTextbox class represents a textbox.

« More »

cNominalNumberField

cHTMLTextbox class represents a textbox.

« More »

cObjectPager

Old classname for downwards compatibility

« More »

cOutOfBoundsException

Exception thrown if a value is not a valid key.

« More »

cOutOfRangeException

Exception thrown when an illegal index was requested.

« More »

cOutputCache

This class contains functions for the output cache in CONTENIDO.

« More »

cOutputCacheHandler

This class contains functions for the output cache handler in CONTENIDO.

« More »

cOverflowException

Exception thrown when adding an element to a full container.

« More »

cPage

Regular page

« More »

cPageLeftTop

Regular page

« More »

cPageLeftTopMultiPane

Regular page

« More »

cPager

cPager Basic pager class without presentation logic

« More »

cPasswordRequest

Description: Class for handling password recovery

« More »

cPermission

« More »

cRangeException

Exception thrown to indicate range errors during program execution.

« More »

cRegistry

This class contains functions for global interaction in CONTENIDO.

« More »

cRequestValidator

« More »

cRuntimeException

Exception thrown if an error which can only be found on runtime occurs.

« More »

cScrollList

Old class name for downwards compatibility

« More »

cSearch

CONTENIDO API - Search Object

« More »

cSearchBaseAbstract

Abstract base search class.

« More »

cSearchIndex

Abstract base search class.

« More »

cSearchResult

CONTENIDO API - SearchResult Object

« More »

cSecurity

CONTENIDO Security class

« More »

cSession

Handles the backend session

« More »

cString

String helper class.

« More »

cSwitchableDateChooser

cHTMLTextbox class represents a textbox.

« More »

cSystemPurge

class cSystemPurge

« More »

cSystemtest

« More »

cTableView

« More »

cTemplate

class Template

« More »

cTree

class cTree

« More »

cTreeItem

class cTreeItem

« More »

cUnderflowException

Exception thrown when performing an invalid operation on an empty container, such as removing an element.

« More »

cUnexpectedValueException

Exception thrown if a value does not match with a set of values.

« More »

cUpdateNotifier

« More »

cUriBuilder

« More »

cUriBuilderConfig

Class to manage UriBuilder configuration.

« More »

cUriBuilderCustom

« More »

cUriBuilderCustomPath

« More »

cUriBuilderFactory

« More »

cUriBuilderFrontcontent

« More »

cUriBuilderMR

Class to build frontend urls for advandced mod rewrite plugin.

« More »

cValidatorAbstract

Abstract validator

« More »

cValidatorEmail

E-Mail validation.

« More »

cValidatorFactory

Validator factory

« More »

cValidatorRegex

Regular expression validation.

« More »

cVersion

« More »

cVersionFile

« More »

cVersionImport

« More »

cVersionLayout

« More »

cVersionModule

« More »

cViewAdvancedMenu

« More »

cViewItems

cHTMLIFrame class represents an iframe.

« More »

cWYSIWYGEditor

« More »

cWidgetButton

Regular push button with hover and push effect

« More »

cWidgetMenuActionList

Base class for all CONTENIDO HTML classes

« More »

cWidgetMultiToggleButton

Toggle buttons for creating a grouped set of buttons

« More »

cWidgetTableEdit

« More »

cWidgetToggleButton

Toggle button (on/off) with two different links

« More »

cWidgetTreeView

Old classname for downwards compatibility

« More »

cXmlBase

Project: CONTENIDO Content Management System

« More »

cXmlReader

Project: CONTENIDO Content Management System Description: The XML reader class of CONTENIDO.

« More »

cXmlWriter

Project: CONTENIDO Content Management System

« More »

frontendlogic_category

FrontendLogic: This is the base class for all frontend related logic.

« More »

gdbDriver

« More »

gdbMySQL

« More »

pApiCECChainItem

CEC chain item class.

« More »

pApiContentAllocation

« More »

pApiContentAllocationArticle

Todo addslashes to all string db inserts check if default language exists if new entry is added (otherwise)

« More »

pApiContentAllocationComplexList

Todo addslashes to all string db inserts check if default language exists if new entry is added (otherwise)

« More »

pApiContentAllocationSelectBox

Todo addslashes to all string db inserts check if default language exists if new entry is added (otherwise)

« More »

pApiContentAllocationTreeView

Todo - generalize this and papitree !!!! - Comments!

« More »

pApiTree

Todo addslashes to all string db inserts check if default language exists if new entry is added (otherwise)

« More »

php4DOMAttr

« More »

php4DOMDocument

« More »

php4DOMElement

« More »

php4DOMNode

« More »

php4DOMNodelist

« More »

php4DOMText

« More »

php4DOMXPath

« More »

php4DomXsltStylesheet

« More »

Constants

 

$constant

$constant 
 

CMETAOBJECT_BASE

CMETAOBJECT_BASE 
 

CMETAOBJECT_PLUGIN

CMETAOBJECT_PLUGIN 
 

CONTENIDO_ENVIRONMENT

CONTENIDO_ENVIRONMENT 
 

CONTENIDO_STRIPSLASHES

CONTENIDO_STRIPSLASHES 
 

CON_CHECK_AREASTRING

CON_CHECK_AREASTRING 
 

CON_CHECK_BELANG

CON_CHECK_BELANG 
 

CON_CHECK_HASH32

CON_CHECK_HASH32 
 

CON_CHECK_INTEGER

CON_CHECK_INTEGER 
 

CON_CHECK_PATHSTRING

CON_CHECK_PATHSTRING 
 

CON_CHECK_PRIMITIVESTRING

CON_CHECK_PRIMITIVESTRING 
 

CON_CHECK_STRING

CON_CHECK_STRING 
 

CON_ENVIRONMENT

CON_ENVIRONMENT 
 

CON_FRAMEWORK

CON_FRAMEWORK 
 

CON_FRAMEWORK

CON_FRAMEWORK 
 

CON_FRAMEWORK

CON_FRAMEWORK 
 

CON_FRAMEWORK

CON_FRAMEWORK 
 

CON_FRAMEWORK

CON_FRAMEWORK 
 

CON_FRAMEWORK

CON_FRAMEWORK 
 

CON_FRAMEWORK

CON_FRAMEWORK 
 

CON_FRAMEWORK

CON_FRAMEWORK 
 

CON_FRAMEWORK

CON_FRAMEWORK 
 

CON_FRAMEWORK

CON_FRAMEWORK 
 

CON_FRAMEWORK

CON_FRAMEWORK 
 

CON_FRAMEWORK

CON_FRAMEWORK 
 

CON_FRAMEWORK

CON_FRAMEWORK 
 

CON_FRAMEWORK

CON_FRAMEWORK 
 

CON_FRAMEWORK

CON_FRAMEWORK 
 

CON_FRAMEWORK

CON_FRAMEWORK 
 

CON_PHP54

CON_PHP54 
 

CON_STRIPSLASHES

CON_STRIPSLASHES 
 

DOMXML_LOAD_DONT_KEEP_BLANKS

DOMXML_LOAD_DONT_KEEP_BLANKS 
 

DOMXML_LOAD_PARSING

DOMXML_LOAD_PARSING 
 

DOMXML_LOAD_RECOVERING

DOMXML_LOAD_RECOVERING 
 

DOMXML_LOAD_SUBSTITUTE_ENTITIES

DOMXML_LOAD_SUBSTITUTE_ENTITIES 
 

DOMXML_LOAD_VALIDATING

DOMXML_LOAD_VALIDATING 
 

DS

DS 
 

NODE_TYPE_COMMENT

NODE_TYPE_COMMENT 
 

NODE_TYPE_DONE

NODE_TYPE_DONE 
 

NODE_TYPE_ELEMENT

NODE_TYPE_ELEMENT 
 

NODE_TYPE_ENDELEMENT

NODE_TYPE_ENDELEMENT 
 

NODE_TYPE_START

NODE_TYPE_START 
 

NODE_TYPE_TEXT

NODE_TYPE_TEXT 
 

PC_CMD

PC_CMD 
 

PC_CRONLINE

PC_CRONLINE 
 

PC_DOM

PC_DOM 
 

PC_DOW

PC_DOW 
 

PC_HOUR

PC_HOUR 
 

PC_MINUTE

PC_MINUTE 
 

PC_MONTH

PC_MONTH 
 

QUESTIONACTION_PROMPT

QUESTIONACTION_PROMPT 
 

QUESTIONACTION_YESNO

QUESTIONACTION_YESNO 
 

SMARTY_DIR

SMARTY_DIR 
 

SMARTY_DIR

SMARTY_DIR 
 

SMARTY_MBSTRING

SMARTY_MBSTRING 
 

SMARTY_PLUGINS_DIR

SMARTY_PLUGINS_DIR 
 

SMARTY_RESOURCE_CHAR_SET

SMARTY_RESOURCE_CHAR_SET 
 

SMARTY_RESOURCE_DATE_FORMAT

SMARTY_RESOURCE_DATE_FORMAT 
 

SMARTY_SPL_AUTOLOAD

SMARTY_SPL_AUTOLOAD 
 

SMARTY_SYSPLUGINS_DIR

SMARTY_SYSPLUGINS_DIR 
 

SWIFT_INIT_LOADED

SWIFT_INIT_LOADED 
 

SWIFT_REQUIRED_LOADED

SWIFT_REQUIRED_LOADED 
 

SWIFT_REQUIRED_LOADED

SWIFT_REQUIRED_LOADED 
 

TREEVIEW_BACKGROUND_NONE

TREEVIEW_BACKGROUND_NONE 
 

TREEVIEW_BACKGROUND_SHADED

TREEVIEW_BACKGROUND_SHADED 
 

TREEVIEW_GRIDLINE_DASHED

TREEVIEW_GRIDLINE_DASHED 
 

TREEVIEW_GRIDLINE_DOTTED

TREEVIEW_GRIDLINE_DOTTED 
 

TREEVIEW_GRIDLINE_NONE

TREEVIEW_GRIDLINE_NONE 
 

TREEVIEW_GRIDLINE_SOLID

TREEVIEW_GRIDLINE_SOLID 
 

TREEVIEW_MOUSEOVER_MARK

TREEVIEW_MOUSEOVER_MARK 
 

TREEVIEW_MOUSEOVER_NONE

TREEVIEW_MOUSEOVER_NONE 
 

XPATH_NODESET

XPATH_NODESET 
 

XPATH_UNDEFINED

XPATH_UNDEFINED 
 

cDatatypeCurrency_Left

cDatatypeCurrency_Left 
 

cDatatypeCurrency_Right

cDatatypeCurrency_Right 
 

cDateTime_Custom

cDateTime_Custom 
 

cDateTime_Friday

cDateTime_Friday 
 

cDateTime_ISO

cDateTime_ISO 
 

cDateTime_Locale

cDateTime_Locale 
 

cDateTime_Locale_DateOnly

cDateTime_Locale_DateOnly 
 

cDateTime_Locale_TimeOnly

cDateTime_Locale_TimeOnly 
 

cDateTime_Monday

cDateTime_Monday 
 

cDateTime_MySQL

cDateTime_MySQL 
 

cDateTime_Saturday

cDateTime_Saturday 
 

cDateTime_Sunday

cDateTime_Sunday 
 

cDateTime_Thursday

cDateTime_Thursday 
 

cDateTime_Tuesday

cDateTime_Tuesday 
 

cDateTime_UNIX

cDateTime_UNIX 
 

cDateTime_Wednesday

cDateTime_Wednesday