Functions

Checks if the metatag allready exists inside the metatag list.

CheckIfMetaTagExists(array | mixed $arrMetatags, string $sCheckForMetaTag) : int

Parameters

$arrMetatags

arraymixed

List of metatags or not a list

$sCheckForMetaTag

string

The metatag to check

Returns

intPosition of metatag inside the metatag list or the next available position

SaveKeywordsforart()

SaveKeywordsforart($keycode, $idart, $place, $lang) 
deprecated since 22.08.2005 This function is called everytime when the code of an article is generated. In this case indexing can cause performance problems. Indexing an article is treated now in function conSaveContentEntry.

Parameters

$keycode

$idart

$place

$lang

__cmp()

__cmp($a, $b) 

Parameters

$a

$b

_error_report()

_error_report($error) 

Parameters

$error

add new article specification

addArtspec(string $artspectext, $online) : void

Parameters

$artspectext

string

article specification text

$online

addslashes_deep()

addslashes_deep($value) 

Parameters

$value

array_combine()

array_combine($keys, $values) 

Parameters

$keys

$values

array_csort()

array_csort() 

array_search_recursive()

array_search_recursive($search, $array, $partial, $strict) 

Parameters

$search

$array

$partial

$strict

Redirect to main area

backToMainArea(bool $send) 
author Jan Lengowski <Jan.Lengowski@4fb.de>
copyright four for business AG

Parameters

$send

bool

Redirect Yes/No

Build a Article select Box

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

Parameters

$sName

String

Name of the SelectBox

$iIdCat

String

Value of the SelectBox

$sValue

Returns

StringHTML

Build a Category / Article select Box

buildCategorySelect(String $sName, String $sValue, Integer $sLevel, String $sStyle) : String

Parameters

$sName

String

Name of the SelectBox

$sValue

String

Value of the SelectBox

$sLevel

Integer

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, \DB_Contenido $db) : void

Parameters

$sHeapTable

string

Table name

$db

\DB_Contenido

Database object

buildTree()

buildTree($rootItem, $items) 

Parameters

$rootItem

$items

cCatPerm()

cCatPerm($widcat, $db) 

Parameters

$widcat

$db

cDie: Contenido die-alternative

cDie($file, $line, $message) 

Parameters

$file

File name (use FILE)

$line

Line number (use LINE)

$message

Message to display

cError: Contenido error

cError($file, $line, $message) 

Parameters

$file

File name (use FILE)

$line

Line number (use LINE)

$message

Message to display

cHandler_ItemArea()

cHandler_ItemArea($sName, $aAttribs, $sContent) 

Parameters

$sName

$aAttribs

$sContent

cHandler_ItemData()

cHandler_ItemData($sName, $aAttribs, $sContent) 

Parameters

$sName

$aAttribs

$sContent

cHandler_ItemName()

cHandler_ItemName($sName, $aAttribs, $sContent) 

Parameters

$sName

$aAttribs

$sContent

cHandler_ModuleData()

cHandler_ModuleData($sName, $aAttribs, $sContent) 

Parameters

$sName

$aAttribs

$sContent

cHandler_Translation()

cHandler_Translation($sName, $aAttribs, $sContent) 

Parameters

$sName

$aAttribs

$sContent

cIDNADecode()

cIDNADecode($targetEncoding, $string) 

Parameters

$targetEncoding

$string

cIDNAEncode()

cIDNAEncode($sourceEncoding, $string) 

Parameters

$sourceEncoding

$string

cInclude: Shortcut to contenido_include.

cInclude($where, $what, $force) : \none
see \global\contenido_include

Parameters

$where

string The area which should be included

$what

string The filename of the include

$force

boolean If true, force the file to be included

Returns

\none

cInitializeArrayKey()

cInitializeArrayKey($aArray, $sKey, $mDefault) 

Parameters

$aArray

$sKey

$mDefault

cWarning: Contenido warning

cWarning($file, $line, $message) 

Parameters

$file

File name (use FILE)

$line

Line number (use LINE)

$message

Message to display

calcDensity()

calcDensity($singlewordcounter, $string, $quantifier) 

Parameters

$singlewordcounter

$string

$quantifier

callPluginStore: Calls the plugin's store methods

callPluginStore($entity) 

Example: callPluginStore("frontendusers");

Parameters

$entity

Name of the directory to scan

capiImgScale: Scales (or crops) an image.

capiImgScale(string $img, int $maxX, int $maxY, boolean $crop, boolean $expand, int $cacheTime, boolean $wantHQ, int $quality, boolean $keepType) : string: 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

boolean

If true, the image is cropped and not scaled.

$expand

boolean

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

boolean

If true, try to force high quality mode

$quality

int

The quality of the output file

$keepType

boolean

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

Returns

string!!!URL!!! to the resulting image (http://...)
stringPath to the resulting image

capiImgScaleGetMD5CacheFile: Returns the MD5 Filename used for caching.

capiImgScaleGetMD5CacheFile($sImg, $iMaxX, $iMaxY, $bCrop, $bExpand) : string

Parameters

$sImg

$iMaxX

$iMaxY

$bCrop

$bExpand

Returns

stringPath to the resulting image

capiImgScaleHQ: Scales (or crops) an image in high quality.

capiImgScaleHQ(string $img, int $maxX, int $maxY, boolean $crop, boolean $expand, int $cacheTime, int $quality, boolean $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

boolean

If true, the image is cropped and not scaled.

$expand

boolean

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

boolean

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

Returns

string!!!URL!!! to the resulting image (http://...)

capiImgScaleImageMagick: Scales (or crops) an image using ImageMagick.

capiImgScaleImageMagick(string $img, int $maxX, int $maxY, boolean $crop, boolean $expand, int $cacheTime, int $quality, boolean $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

boolean

If true, the image is cropped and not scaled.

$expand

boolean

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

boolean

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

Returns

string!!!URL!!! to the resulting image (http://...)

capiImgScaleLQ: Scales (or crops) an image.

capiImgScaleLQ(string $img, int $maxX, int $maxY, boolean $crop, boolean $expand, int $cacheTime, int $quality, boolean $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

boolean

If true, the image is cropped and not scaled.

$expand

boolean

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

boolean

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

Returns

string!!!URL!!! to the resulting image (http://...

capiStrCleanURLCharacters: Removes or converts all "evil" URL characters.

capiStrCleanURLCharacters($sString, $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: _-.

author Timo A. Hummel
copyright four for business AG, http://www.4fb.de

Parameters

$sString

string The string to operate on

$bReplace

string If true, all "unclean" characters are replaced

Returns

stringThe resulting string

capiStrRecodeString: Converts a string to another encoding.

capiStrRecodeString($sString, $sourceEncoding, $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.
author Timo A. Hummel
copyright four for business AG, http://www.4fb.de

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()

capiStrReplaceDiacritics($sString, $sourceEncoding, $targetEncoding) 

Parameters

$sString

$sourceEncoding

$targetEncoding

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

capiStrTrimAfterWord($string, $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

capiStrTrimHard: Trims a string to a specific length.

capiStrTrimHard($string, $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

capiStrTrimSentence: Trims a string to a approximate length.

capiStrTrimSentence($string, $approxlen, $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

boolean If true, use a hard limit for the number of characters (default: false)

Returns

stringThe resulting string

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

capi_cat_getlevelnode($idcat, $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:

capi_cat_getlevelnode(17,1);

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

Parameters

$idcat

$minLevel

int The level to extract

Returns

intThe category node on a specific level

cecCreateBaseHref()

cecCreateBaseHref($sCurrentBaseHref) 

Parameters

$sCurrentBaseHref

cecCreateMetatags()

cecCreateMetatags($metatags) 

Parameters

$metatags

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

check possible image editing functionality

checkImageEditingPosibility() 

return mixed information about installed image editing extensions/tools

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

$oDb

object
  • Contenido database object

Returns

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

checkMySQLConnectivity()

checkMySQLConnectivity() 

must be done

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

must be done

Parameters

$strConUrl

string

contenido fullhtmlPath

$strBrowserUrl

string

current browser string

Returns

stringstatus of path comparement

cleanupSessions()

cleanupSessions() 

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) : void
author Jan Lengowski
copyright four for business AG

Parameters

$idcat

int

Category Id

$idtpl

int

Template Id

conCopyArtLang()

conCopyArtLang($srcidart, $dstidart, $newtitle, $bUseCopyLabel) 

Parameters

$srcidart

$dstidart

$newtitle

$bUseCopyLabel

conCopyArticle()

conCopyArticle($srcidart, $targetcat, $newtitle, $bUseCopyLabel) 

Parameters

$srcidart

$targetcat

$newtitle

$bUseCopyLabel

conCopyContainerConf()

conCopyContainerConf($srcidtplcfg, $dstidtplcfg) 

Parameters

$srcidtplcfg

$dstidtplcfg

conCopyContent()

conCopyContent($srcidartlang, $dstidartlang) 

Parameters

$srcidartlang

$dstidartlang

conCopyTemplateConfiguration()

conCopyTemplateConfiguration($srcidtplcfg) 

Parameters

$srcidtplcfg

Recursive function to create an location string

conCreateLocationString(int $idcat, string $seperator, string $cat_str, boolean $makeLink, string $linkClass, integer $firstTreeElementToUse, $uselang, $final, $usecache) : string
author Jan Lengowski
author Marco Jahn
copyright four for business AG

Parameters

$idcat

int

ID of the starting category

$seperator

string

Seperation string

$cat_str

string

Category location string (by reference)

$makeLink

boolean

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

Fetch all deeper categories by a given id

conDeeperCategoriesArray($idcat_start) : array
author Olaf Niemann <olaf.niemann@4fb-de> Jan Lengowski <jan.lengowski@4fb.de>
copyright four for business AG

Parameters

$idcat_start

Returns

arrayArray with all deeper categories

Delete an Article

conDeleteart(int $idart) 
author Olaf Niemann <olaf.niemann@4fb-de> Jan Lengowski <jan.lengowski@4fb.de>
copyright four for business AG

Parameters

$idart

int

Article Id

Edit an existing article

conEditArt(mixed $idcat, $idcatnew, $idart, $is_start, $idtpl, $idartlang, $idlang, $title, $summary, $artspec, $created, $lastmodified, $author, $online, $datestart, $dateend, $artsort, $keyart) : void
author Olaf Niemann
copyright four for business AG

Parameters

$idcat

mixed

many

$idcatnew

$idart

$is_start

$idtpl

$idartlang

$idlang

$title

$summary

$artspec

$created

$lastmodified

$author

$online

$datestart

$dateend

$artsort

$keyart

Create a new Article

conEditFirstTime(mixed $idcat, $idcatnew, $idart, $is_start, $idtpl, $idartlang, $idlang, $title, $summary, $artspec, $created, $lastmodified, $author, $online, $datestart, $dateend, $artsort, $keyart) : int
author Olaf Niemann <Olaf.Niemann@4fb.de>
copyright four for business AG

Parameters

$idcat

mixed

many

$idcatnew

$idart

$is_start

$idtpl

$idartlang

$idlang

$title

$summary

$artspec

$created

$lastmodified

$author

$online

$datestart

$dateend

$artsort

$keyart

Returns

intId of the new article

conFetchCategoryTree()

conFetchCategoryTree($client, $lang) 

Parameters

$client

$lang

Set articles on/offline for the time management function

conFlagOnOffline() 
author Timo A. Hummel <Timo.Hummel@4fb.de>
copyright four for business AG 2003

Generates the code for one article

conGenerateCode(int $idcat, int $idart, int $lang, int $client, int $layout) 
author Jan Lengowski
copyright four for business AG

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)

Create code for all articles

conGenerateCodeForAllArts() 
author Jan Lengowski <Jan.Lengowski@4fb.de>
copyright four for business AG 2003

Generate code for all articles in a category

conGenerateCodeForAllArtsInCategory(int $idcat) 
author Jan Lengowski <Jan.Lengowski@4fb.de>
copyright four for business AG 2003

Parameters

$idcat

int

Category ID

Generate code for all articles using one template

conGenerateCodeForAllArtsUsingTemplate(int $idtpl) 
author Jan Lengowski <Jan.Lengowski@4fb.de>
copyright four for business AG 2003

Parameters

$idtpl

int

Template-Id

Create code for all arts using the same layout

conGenerateCodeForAllartsUsingLayout(int $idlay) 
author Jan Lengowski <Jan.Lengowski@4fb.de>
copyright four for business AG 2003

Parameters

$idlay

int

Layout-ID

Create code for all articles using the same module

conGenerateCodeForAllartsUsingMod(int $idmod) 
author Jan Lengowski <Jan.Lengowski@4fb.de>
copyright four for business AG 2003

Parameters

$idmod

int

Module id

Create code for one article in all categorys

conGenerateCodeForArtInAllCategories(int $idart) 
author Jan Lengowski <Jan.Lengowski@4fb.de>
copyright four for business AG 2003

Parameters

$idart

int

Article ID

Generate code for the active client

conGenerateCodeForClient() 
author Jan Lengowski <Jan.Lengowski@4fb.de>
copyright four for business AG 2003

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

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

Parameters

$client

Client

$lang

Language of a client

Returns all available meta tag types

conGetAvailableMetaTagTypes() 
author Timo A. Hummel <Timo.Hummel@4fb.de>
copyright four for business AG 2003

Returns all categories in which the given article is in.

conGetCategoryAssignments(\idart $idart, \db $db) : array

Parameters

$idart

\idart

int Article ID

$db

\db

object Optional; if specified, uses the given db object

Returns

arrayFlat array which contains all category id's

get content from article

conGetContentFromArticle($article_lang) : array
author Willi Man Created : 12.05.2004 Modified : 13.05.2004
copyright four for business AG 2003

Parameters

$article_lang

ArticleLanguageId of an article (idartlang)

Returns

arrayArray with content of an article indexed by content-types

conGetHtmlTranslationTable()

conGetHtmlTranslationTable($table, $flags) 

Parameters

$table

$flags

Get the meta tag value for a specific article

conGetMetaValue($idartlang, $idmetatype) 
author Timo A. Hummel <Timo.Hummel@4fb.de>
copyright four for business AG 2003

Parameters

$idartlang

ID of the article

$idmetatype

Metatype-ID

conGetTopmostCat()

conGetTopmostCat($idcat, $minLevel) 

Parameters

$idcat

$minLevel

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

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

conHtmlentities_iso88592(string $sInput) : string

Parameters

$sInput

string

Returns

string

Toggle the lock status of an article

conLock(int $idart, \ing $lang) 

Parameters

$idart

int

Article Id

$lang

\ing

Language Id

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) 
author Jan Lengowski
copyright four for business AG

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) 
author Olaf Niemann <olaf.niemann@4fb-de> Jan Lengowski <jan.lengowski@4fb.de>
copyright four for business AG

Parameters

$idart

int

Article Id

$lang

\ing

Language Id

Toggle the public status of a category

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

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

author Olaf Niemann <olaf.niemann@4fb-de> Jan Lengowski <jan.lengowski@4fb.de>
copyright four for business AG

Parameters

$idcat

intint

Article Id

$lang

$public

Set a start-article

conMakeStart(int $idcatart, $is_start) : void
author Olaf Niemann <olaf.niemann@4fb-de> Jan Lengowski <jan.lengowski@4fb.de>
copyright four for business AG

Parameters

$idcatart

int

Idcatart of the article

$is_start

Move articles for the time management function

conMoveArticles() 
author Timo A. Hummel <Timo.Hummel@4fb.de>
copyright four for business AG 2003

conPhp54Check()

conPhp54Check() 

Save a content element and generate index

conSaveContentEntry(integer $idartlang, string $type, integer $typeid, string $value, $bForce) : void
author Olaf Niemann <olaf.niemann@4fb.de> Jan Lengowski <jan.lengowski@4fb.de>
copyright four for business AG

Parameters

$idartlang

integer

idartlang of the article

$type

string

Type of content element

$typeid

integer

Serial number of the content element

$value

string

Content

$bForce

Set code creation flag to true

conSetCodeFlag(int $idcatart) 
author Jan Lengowski <Jan.Lengowski@4fb.de>
copyright four for business AG 2003

Parameters

$idcatart

int

Contenido Category-Article-ID

Set the meta tag value for a specific article

conSetMetaValue($idartlang, $idmetatype, $value) 
author Timo A. Hummel <Timo.Hummel@4fb.de>
copyright four for business AG 2003

Parameters

$idartlang

ID of the article

$idmetatype

Metatype-ID

$value

Value of the meta tag

conSyncArticle()

conSyncArticle($idart, $srclang, $dstlang) 

Parameters

$idart

$srclang

$dstlang

contenido_include: Includes a file and takes care of all path transformations.

contenido_include($where, $what, $force, $returnpath) : \none

Example: contenido_include("classes", "class.backend.php");

Currently defined areas:

frontend Path to the current frontend conlib Path to conlib pear Path to the bundled pear copy classes Path to the contenido classes cronjobs Path to the cronjobs external Path to the external tools includes Path to the contenido includes scripts Path to the contenido scripts

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

Parameters

$where

string The area which should be included

$what

string The filename of the include

$force

boolean If true, force the file to be included

$returnpath

$string or boolean false if file is not found

Returns

\none

Duplicate rights for any element

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

Parameters

$area

string

main area name

$iditem

int

ID of element to copy

$newiditem

int

ID of the new element

$idlang

int

ID of lang parameter

Creates a file.

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

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

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() 

createRandomName: Creates a random name (example: Passwords)

createRandomName($nameLength) : string

Example: echo createRandomName(8);

Parameters

$nameLength

Length of the generated string

Returns

stringrandom name

Create rights for any element

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

Parameters

$area

string

main area name

$iditem

int

ID of new element

$idlang

int

ID of lang parameter

dbDumpArea()

dbDumpArea($db, $id) 
deprecated
since 2008-07-11

Parameters

$db

$id

dbDumpAreasAsArray()

dbDumpAreasAsArray($arrayname, $db) 
deprecated
since 2008-07-11

Parameters

$arrayname

$db

dbDumpData()

dbDumpData($table) 
deprecated
since 2008-07-11

Parameters

$table

dbDumpNavSub()

dbDumpNavSub($arrayname, $db, $nextidarea) 
deprecated
since 2008-07-11

Parameters

$arrayname

$db

$nextidarea

dbDumpStructure()

dbDumpStructure($db, $table, $return) 
deprecated
since 2008-07-11

Parameters

$db

$table

$return

dbGetColumns()

dbGetColumns($db, $table) 

Parameters

$db

$table

dbGetIndexes()

dbGetIndexes($db, $table) 

Parameters

$db

$table

dbGetPrimaryKeyName()

dbGetPrimaryKeyName($db, $table) 

Parameters

$db

$table

dbInsertData()

dbInsertData($table, $data) 
deprecated
since 2008-07-11

Parameters

$table

$data

dbTableExists()

dbTableExists($db, $table) 

Parameters

$db

$table

dbUpdateSequence()

dbUpdateSequence($sequencetable, $table, $db) 

Parameters

$sequencetable

$table

$db

dbUpgradeData()

dbUpgradeData($table, $valuesArray) 
deprecated
since 2008-07-11

Parameters

$table

$valuesArray

dbUpgradeTable()

dbUpgradeTable($db, $table, $field, $type, $null, $key, $default, $extra, $upgradeStatement, $bRemoveIndexes) 

Parameters

$db

$table

$field

$type

$null

$key

$default

$extra

$upgradeStatement

$bRemoveIndexes

decDate()

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

Parameters

$dateArr

$amount

$unit

$PC_debug

define_if()

define_if($constant, $value) 

Parameters

$constant

$value

delete specified article specification

deleteArtspec(integer $idartspec) : void

Parameters

$idartspec

integer

article specification id

Delete rights for any element

deleteRightsForElement(string $area, int $iditem, int $idlang) 
author Martin Horwath
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) 

Parameters

$type

string

The type of the item

$name

string

The name of the item

displayFiles()

displayFiles($aFiles, $aSelected, $oForm, $sCaption, $sField, $sDisabled) 

Parameters

$aFiles

$aSelected

$oForm

$sCaption

$sField

$sDisabled

displayPlugin()

displayPlugin($entity, $form) 

Parameters

$entity

$form

doWorkflowAction()

doWorkflowAction($idartlang, $action) 

Parameters

$idartlang

$action

domxml_new_doc()

domxml_new_doc($version) 

Parameters

$version

domxml_new_xmldoc()

domxml_new_xmldoc($version) 

Parameters

$version

domxml_open_file()

domxml_open_file($filename, $mode, $error) 

Parameters

$filename

$mode

$error

domxml_open_mem()

domxml_open_mem($str, $mode, $error) 

Parameters

$str

$mode

$error

domxml_xslt_stylesheet()

domxml_xslt_stylesheet($xslstring) 

Parameters

$xslstring

domxml_xslt_stylesheet_doc()

domxml_xslt_stylesheet_doc($dom_document) 

Parameters

$dom_document

domxml_xslt_stylesheet_file()

domxml_xslt_stylesheet_file($xslfile) 

Parameters

$xslfile

editWorkflowStep()

editWorkflowStep($idworkflowitem) 

Parameters

$idworkflowitem

emptyLogFile - clears errorlog.txt

emptyLogFile() : string

clears Contenido standard errorlog.txt

author Marco Jahn

Returns

stringreturns message if clearing was successfull or not

endAndLogTiming: Ends the timing process and logs it to the timings file

endAndLogTiming(\uuid $uuid) 

Parameters

$uuid

\uuid

int UUID which has been used for timing

Extract a number from a string

extractNumber(string $string) 
author Olaf Niemann <olaf.niemann@4fb-de> Jan Lengowski <jan.lengowski@4fb.de>
copyright four for business AG

Parameters

$string

string

String var by reference

fakeheader()

fakeheader($time) 

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!

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

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!

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)

file_get_contents()

file_get_contents($filename, $use_include_path) 

Parameters

$filename

$use_include_path

file_put_contents()

file_put_contents($filename, $content) 

Parameters

$filename

$content

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_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

string- string, which contains short path name and tooltipp if neccessary

getActionSelect()

getActionSelect($idartlang, $idusersequence) 

Parameters

$idartlang

$idusersequence

Returns the idartlang for a given article and language

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

Parameters

$idart

ID of the article

$idlang

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

author Jan Lengowski <Jan.Lengowski@4fb.de>
copyright four for business AG

Parameters

$idartlang

int

Language specific ID of the arcticle

Get multi-language day

getCanonicalDay(integer $iDay) : string

Parameters

$iDay

integer

the day number of date(w)

Returns

stringDayname of current language

getCanonicalMonth()

getCanonicalMonth($month) 

Parameters

$month

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: Returns the client name for a given ID

getClientName($idclient) : string

Parameters

$idclient

Returns

stringclient name

getCurrentUserSequence()

getCurrentUserSequence($idartlang, $defaultidworkflow) 

Parameters

$idartlang

$defaultidworkflow

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($sType) : 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

$sType

Returns

arrayValue

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

getEncodingByLanguage(\DB_Contenido $oDb, int $iLang, array $cfg) : string

The parameter $oDb has to be an instance of DB_Contenido (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

$oDb

\DB_Contenido

$iLang

int

$cfg

array

Returns

string

getExpandCollapseButton()

getExpandCollapseButton($item, $catName) 

Parameters

$item

$catName

getExpandCollapseButton()

getExpandCollapseButton($item) 

Parameters

$item

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!

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 Returns the file extension of a given file

getFileExtension(string $filename) : \extension

Parameters

$filename

string

Name of the file

Returns

\extensionon success, false if no extension could be extracted.

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

getFileInformation(integer $iIdClient, string $sFilename, string $sType, object $oDb) : array
author Timo Trautmann

Parameters

$iIdClient

integer
  • id of client which contains this file

$sFilename

string
  • name of corresponding file

$sType

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

$oDb

object
  • 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

getFiles()

getFiles($sPath, $sFileType, $sNoti) 

Parameters

$sPath

$sFileType

$sNoti

getGroupIDs()

getGroupIDs($db) 

Parameters

$db

getGroupOrUserName()

getGroupOrUserName($uid) 

Parameters

$uid

getIDForArea()

getIDForArea($area) 

Parameters

$area

getJobFileName()

getJobFileName($jobname, $PC_writeDir) 

Parameters

$jobname

$PC_writeDir

getLanguageNamesByClient()

getLanguageNamesByClient($client) 

Parameters

$client

getLanguagesByClient()

getLanguagesByClient($client) 

Parameters

$client

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

getNamedFrame: Returns the name of the numeric frame given

getNamedFrame($frame) : string

Parameters

$frame

Frame number

Returns

stringCanonical name of the frame

getParent()

getParent($preid, $db) 

Parameters

$preid

$db

getParentAreaId()

getParentAreaId($area) 

Parameters

$area

getPhpModuleInfo - parses phpinfo() output

getPhpModuleInfo($moduleName) : array

parses phpinfo() output (1) get informations for a specific module (parameter $modulname) (2) get informations for all modules (no parameter for $modulname needed)

if a specified extension doesn't exists or isn't activated an array will be returned: Array ( [error] => extension is not available )

to get specified information on one module use (1): getPhpModuleInfo($moduleName = 'gd');

to get all informations use (2): getPhpModuleInfo($moduleName);

EXAMPLE OUTPUT (1): Array ( [GD Support] => Array ( [0] => enabled ) ... )

EXAMPLE OUTPUT (2): Array ( [yp] => Array ( [YP Support] => Array ( [0] => enabled )

    )

... }

foreach ($moduleSettings as $setting => $value) $setting contains the modul settings $value contains the settings as an array ($value[0] => Local Value && $value[1] => Master Value)

author Marco Jahn

Parameters

$moduleName

Returns

arraysee above for example

getPostValue()

getPostValue($aProperty) 

Parameters

$aProperty

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

getSubCategories()

getSubCategories($parent_id, $db) 

Parameters

$parent_id

$db

get subtree by a given id

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

Parameters

$idcat_start

$db

Returns

arrayArray with all deeper categories

Retrieves all available system properties.

getSystemProperties(boolean $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

boolean

bGetPropId - 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($sType) : array

Parameters

$sType

Returns

arrayValue

Gets a system property entry

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

Parameters

$type

string

The type of the item

$name

string

The name of the item

Returns

mixedboolean false if nothing was found, or

Return target of a given category id

getTarget($cat_id, $db) 
deprecated

Parameters

$cat_id

$db

getTeaserDeeperCategories()

getTeaserDeeperCategories($iIdcat, $db) 

Parameters

$iIdcat

$db

getTeaserImage()

getTeaserImage($text, $return) 

Parameters

$text

$return

getTemplateSelect()

getTemplateSelect() 

getTimeUnitSelector()

getTimeUnitSelector($listid, $default) 

Parameters

$listid

$default

getUsers()

getUsers($listid, $default) 

Parameters

$listid

$default

getWorkflowForCat()

getWorkflowForCat($idcat) 

Parameters

$idcat

getWorkflowForUserSequence()

getWorkflowForUserSequence($usersequence) 

Parameters

$usersequence

getWorkflowList()

getWorkflowList() 

getWorkflowUsers()

getWorkflowUsers($idworkflowitem) 

Parameters

$idworkflowitem

get_include_path()

get_include_path() 

getmicrotime()

getmicrotime() 

html_doc()

html_doc($html_doc, $from_file) 

Parameters

$html_doc

$from_file

html_doc_file()

html_doc_file($filename) 

Parameters

$filename

htmldecode()

htmldecode($string) 

Parameters

$string

human_readable_size()

human_readable_size($number) 

Parameters

$number

i18n($string)

i18n($string, $domain) : string

gettext wrapper (for future extensions). 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

i18nEmulateGettext()

i18nEmulateGettext($string, $domain) : string

Emulates GNU gettext

Parameters

$string

string The string to translate

$domain

string The domain to look up

Returns

stringReturns the translation

i18nGetAvailableLanguages()

i18nGetAvailableLanguages() : array

Returns the available_languages array to prevent globals.

Returns

arrayAll available languages

i18nInit()

i18nInit($localePath, $langCode) : string

Initializes the i18n stuff.

Parameters

$localePath

string Path to the locales

$langCode

string Language code to set

Returns

stringReturns the translation

i18nMatchBrowserAccept($accept)

i18nMatchBrowserAccept($accept) : string

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

Parameters

$accept

Returns

stringThe locale key for the given accept string

i18nRegisterDomain()

i18nRegisterDomain($domain, $localePath) : string

Registers a new i18n domain.

Parameters

$domain

string Domain to bind to

$localePath

string Path to the locales

Returns

stringReturns the translation

i18nStripAcceptLanguages($accept)

i18nStripAcceptLanguages($accept) : array

Strips all unnecessary information from the $accept string. Example: de,nl;q=0.7,en-us;q=0.3 would become an array with de,nl,en-us

Parameters

$accept

Returns

arrayArray with the short form of the accept languages

includePlugins: Includes plugins for a given entity

includePlugins($entity) 

Example: includePlugins("frontendusers");

Parameters

$entity

Name of the directory to scan

check if gif is animated

isAnimGif(string $sFile) : boolean

Parameters

$sFile

string

file path

Returns

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

isCurrentEditor()

isCurrentEditor($uid) 

Parameters

$uid

isGroup()

isGroup($uid) 

Parameters

$uid

check for valid ip adress

isIPv4(string $strHostAdress) : boolean

Parameters

$strHostAdress

string

ip adress

Returns

booleanif string is a valid ip or not

isImageMagickAvailable - checks if ImageMagick is available

isImageMagickAvailable() : boolean

Returns

booleantrue if ImageMagick is available

Return true if $parentid is parent of $catid

isParent($parentid, $catid, $db) 

Parameters

$parentid

$catid

$db

isRunningFromWeb - checks if the script is being runned from the web

isRunningFromWeb() : boolean

Returns

booleantrue if the script is running from the web

isStartArticle()

isStartArticle($idartlang, $idcat, $idlang, $db) 

Parameters

$idartlang

$idcat

$idlang

$db

isValidMail()

isValidMail($sEMail, $bStrict) 

Parameters

$sEMail

$bStrict

is_a()

is_a($object, $className) 

Parameters

$object

$className

Checks if a value is alphanumeric

is_alphanumeric(Mixed $test, Bool $umlauts) : Bool

Parameters

$test

Mixed

Value to test

$umlauts

Bool

[Use german Umlaute] Optional

Returns

BoolValue is alphanumeric

is_dbfs()

is_dbfs($file) 

Parameters

$file

keywordDensity()

keywordDensity($headline, $text) 

Parameters

$headline

$text

lTrimZeros()

lTrimZeros($number) 

Parameters

$number

Deactivate a language

langActivateDeactivateLanguage($idlang, $active) 
author Jan Lengowski <Jan.Lengowski@4fb.de>
author Olaf Niemann <Olaf.Niemann@4fb.de>
copyright four for business AG

Parameters

$idlang

$active

Delete a language

langDeleteLanguage($idlang, $idclient) 
author Jan Lengowski <Jan.Lengowski@4fb.de>
author Olaf Niemann <Olaf.Niemann@4fb.de>
copyright four for business AG

Parameters

$idlang

$idclient

Duplicate a language

langDuplicateFromFirstLanguage($client, $idlang) 
author Jan Lengowski <Jan.Lengowski@4fb.de>
author Olaf Niemann <Olaf.Niemann@4fb.de>
copyright four for business AG

Parameters

$client

$idlang

Edit a language

langEditLanguage($idlang, $langname, $encoding, $active, $direction) 
author Jan Lengowski <Jan.Lengowski@4fb.de>
author Olaf Niemann <Olaf.Niemann@4fb.de>
copyright four for business AG

Parameters

$idlang

$langname

$encoding

$active

$direction

langGetTextDirection()

langGetTextDirection($idlang, $db) 

Parameters

$idlang

$db

Create a new language

langNewLanguage(string $name, $client) 
author Jan Lengowski <Jan.Lengowski@4fb.de>
author Olaf Niemann <Olaf.Niemann@4fb.de>
copyright four for business AG

Parameters

$name

string

Name of the language

$client

Rename a language

langRenameLanguage($idlang, $name) 
author Jan Lengowski <Jan.Lengowski@4fb.de>
author Olaf Niemann <Olaf.Niemann@4fb.de>
copyright four for business AG

Parameters

$idlang

$name

layDeleteLayout()

layDeleteLayout($idlay) 

Parameters

$idlay

Edit or Create a new layout

layEditLayout(int $idlay, string $name, string $description, string $code) : int
author Olaf Niemann
copryright four for business AG

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) 

Parameters

$locale

$array

logMessage()

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

Parameters

$msg

$PC_writeDir

$PC_useLog

$PC_debug

markLastRun()

markLastRun($jobname, $lastRun, $PC_writeDir) 

Parameters

$jobname

$lastRun

$PC_writeDir

Write JavaScript to mark

markSubMenuItem(int $menuitem, bool $return) 
author Jan Lengowski <Jan.Lengowski@4fb.de>
copyright four for business AG

Parameters

$menuitem

int

Which menuitem to mark

$return

bool

Return or echo script

mi18n()

mi18n($string) 

Parameters

$string

mime_content_type()

mime_content_type($file) 

Parameters

$file

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

notifyOnError()

notifyOnError($errortitle, $errormessage) 

Parameters

$errortitle

$errormessage

parseCronFile()

parseCronFile($PC_cronTabFile, $PC_debug) 

Parameters

$PC_cronTabFile

$PC_debug

parseElement()

parseElement($element, $targetArray, $numberOfElements) 

Parameters

$element

$targetArray

$numberOfElements

phpInfoToHtml - grabs phpinfo() output

phpInfoToHtml() : string

grabs phpinfo() HTML output

author Marco Jahn

Returns

stringreturns phpinfo() HTML output

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

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

plugin_include($where, $what) : \none

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

Parameters

$where

$what

string The filename of the include

Returns

\none

Recursive function to create an URL name location string

prCreateURLNameLocationString(int $idcat, string $seperator, string $cat_str, boolean $makeLink, string $linkClass, integer $firstTreeElementToUse, $uselang, $final, $usecache) : string
author Jan Lengowski
author Marco Jahn
copyright four for business AG

Parameters

$idcat

int

ID of the starting category

$seperator

string

Seperation string

$cat_str

string

Category location string (by reference)

$makeLink

boolean

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

prResolvePathViaCategoryNames: 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)

prResolvePathViaURLNames: 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)

prepareWorkflowItems()

prepareWorkflowItems() 

recCats()

recCats($aCats, $sInsertQuery, $iNextTreeId, $aAllCats, $iLevel) 

Parameters

$aCats

$sInsertQuery

$iNextTreeId

$aAllCats

$iLevel

recursive_copy()

recursive_copy($from_path, $to_path) 

Parameters

$from_path

$to_path

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

removeFileInformation(integer $iIdClient, string $sFilename, string $sType, object $oDb) : void
author Timo Trautmann

Parameters

$iIdClient

integer
  • id of client which contains this file

$sFilename

string
  • name of corresponding file

$sType

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

$oDb

object
  • contenido database object

Renames a existing file.

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

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

Parameters

$sOldFile

string

Old filename

$sNewFile

string

New filename

$path

string

Path to the file

Returns

\(void\string)Either new filename or nothing

renderBooleanProperty()

renderBooleanProperty($sName, $aPossValues, $sValue, $sLabel) 

Parameters

$sName

$aPossValues

$sValue

$sLabel

renderLabel()

renderLabel($sLabel, $sName, $iWidth, $sSeperator) 

Parameters

$sLabel

$sName

$iWidth

$sSeperator

renderTextProperty()

renderTextProperty($sName, $sValue, $sLabel) 

Parameters

$sName

$sValue

$sLabel

rereadClients()

rereadClients() 

restore_include_path()

restore_include_path() 

runJob()

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

Parameters

$job

$PC_jobDir

$PC_writeDir

$PC_useLog

$PC_debug

saverights()

saverights() 

saverights()

saverights() 

saverightsarea()

saverightsarea() 

saverightsarea()

saverightsarea() 

scanDirectory()

scanDirectory($sDirectory, $bRecursive) 

Parameters

$sDirectory

$bRecursive

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

scanPlugins($entity) : string

Example: scanPlugins("frontendusers");

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

Name of the directory to scan

Returns

stringclient name

sendBugReport - send users bugreport

sendBugReport() : string

send users bugreport contains 4 attachements (1) errorlog.txt (2) install.log.txt (3) systemvariablen.html (generaten of writeSystemValuesOutput()) (4) phpinfo.html (generated of phpInfoToHtml())

to avoid errors when filesize attachement (1) or (2) is 0kb temporarily attachements with a specified message will be created

return value: - error code (0-3) 0) mail send successfull (no errors or missing data) 1) not all fields are filled out 2) email adress is not valid 3) user hasn't agreed to the declaration of consent

author Marco Jahn

Returns

stringreturns several server and Contenido settings

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

sendEncodingHeader(\DB_Contenido $db, array $cfg, int $lang) 

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

since 4.6.18
version 1.0.0
author Holger Librenz

Parameters

$db

\DB_Contenido

$cfg

array

global cfg-array

$lang

int

global language id

sendPostRequest: Sents a HTTP POST request

sendPostRequest($host, $path, $data, $referer, $port) 

Example: sendPostRequest("hostname", "serverpath/test.php", $data);

Parameters

$host

Hostname or domain

$path

$data

Data to send

$referer

Referer (optional)

$port

Port (default: 80)

set a default article specification

setArtspecDefault(integer $idartspec) : void

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

Parameters

$idartspec

integer

article specification id

set article specifications online

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

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

Parameters

$idartspec

integer

article specification id

$online

integer

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

set_include_path()

set_include_path($path) 

Parameters

$path

set_magic_quotes_gpc()

set_magic_quotes_gpc($code) 

Parameters

$code

showLocation()

showLocation($area) 

Parameters

$area

showTable()

showTable($tablename) 

Parameters

$tablename

showTree()

showTree($iIdcat, $aWholelist) 

Parameters

$iIdcat

$aWholelist

sort_pre_post()

sort_pre_post($arr) 

Parameters

$arr

startTiming: Starts the timing for a specific function

startTiming(\function $function, \parameters $parameters) : int

Parameters

$function

\function

string Name of the function

$parameters

\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(\none $default) : string
author Timo A. Hummel <Timo.Hummel@4fb.de>
copyright four for business AG

Parameters

$default

\none

Returns

stringReturns a drop down string

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

statDisplayYearlyTopChooser(\none $default) : string
author Timo A. Hummel <Timo.Hummel@4fb.de>
copyright four for business AG

Parameters

$default

\none

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
author Timo A. Hummel <Timo.Hummel@4fb.de>
copyright four for business AG

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
author Timo A. Hummel <Timo.Hummel@4fb.de>
copyright four for business AG

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()

Parameters

$month

int

The digit representation of a month

Returns

stringTextual representation of a month

Archives the current statistics

statsArchive($yearmonth) : \none

Parameters

$yearmonth

String with the desired archive date (YYYYMM)

Returns

\none

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) : \none
author Jan Lengowski <Jan.Lengowski@4fb.de> @modified Timo A. Hummel <Timo.Hummel@4fb.de>
copyright four for business AG

Parameters

$yearmonth

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

Returns

\none

Generates a top<n> statistics page

statsOverviewTop($yearmonth, $top) : \none
author Timo A. Hummel <Timo.Hummel@4fb.de>
copyright four for business AG

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

Returns

\none

Generates a top<n> statistics page

statsOverviewTopYear($year, $top) : \none
author Timo A. Hummel <Timo.Hummel@4fb.de>
copyright four for business AG

Parameters

$year

Specifies the year from which to retrieve the statistics

$top

Specifies the amount of pages to display

Returns

\none

Generates a statistics page for a given year

statsOverviewYear($year) : \none
author Jan Lengowski <Jan.Lengowski@4fb.de> @modified Timo A. Hummel <Timo.Hummel@4fb.de>
copyright four for business AG

Parameters

$year

Specifies the year to retrieve the statistics for

Returns

\none

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) : void

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 childchidls of $idcat_start

strDeeperCategoriesArray(int $idcat_start) : Array

Parameters

$idcat_start

int

the start category

Returns

Arraycontains all childs of $idcat_start and $id_cat 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 cotains any articles

strHasArticles(int $tmp_idcat) : bool

Parameters

$tmp_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 $parentid_new) : void

Parameters

$idcat

int

Id of category

$parentid_new

int

Id of destination parent category

Moves a category upwards.

strMoveUpCategory(int $idcat) : void

Parameters

$idcat

int

Id of category to move upwards

Creates a new category.

strNewCategory(int $tmp_parentid, string $catname, bool $remakeTree, string $catalias, bool $bVisible, bool $bPublic, int $iIdtplcfg) : \(int | \void)

Parameters

$tmp_parentid

int

Id of parent category

$catname

string

The category name

$remakeTree

bool

Flag to rebuild category tree structure

$catalias

string

Alias of category

$bVisible

bool

Flag about visible status

$bPublic

bool

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, bool $bVisible, bool $bPublic, int $iIdtplcfg) : \(int | \void)

Parameters

$catname

string

The category name

$catalias

string

Alias of category

$bVisible

bool

Flag about visible status

$bPublic

bool

Flag about public status

$iIdtplcfg

int

Id of template configuration

Returns

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

strNextBackwards()

strNextBackwards($tmp_idcat) 

Parameters

$tmp_idcat

strNextDeeper()

strNextDeeper($tmp_idcat, $ignore_lang) 

Parameters

$tmp_idcat

$ignore_lang

Hotfix recursive call more than 200 times exit script on hosteurope Timo.Trautmann

strNextDeeperAll($tmp_idcat, $ignore_lang) 

Parameters

$tmp_idcat

$ignore_lang

strNextPost()

strNextPost($tmp_idcat) 

Parameters

$tmp_idcat

strOrderedPostTreeList()

strOrderedPostTreeList($idcat, $poststring) 

Parameters

$idcat

$poststring

Remakes the category tree structure in category tree table.

strRemakeTreeTable() : void

Hotfix recursive call more than 200 times exit script on hosteurope Timo.Trautmann (strRemakeTreeTableFindNext)

strRemakeTreeTableFindNext($tmp_idcat, $tmp_level) 

@deprecated

Parameters

$tmp_idcat

$tmp_level

Renames a category

strRenameCategory(int $idcat, int $lang, string $newcategoryname, string $newcategoryalias) : void

Parameters

$idcat

int

Category id

$lang

int

Language id

$newcategoryname

string

New category name

$newcategoryalias

string

New category alias

Renders the category tree a HTML table

strShowTreeTable() : void

Synchronizes a category from one language to another language.

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

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()

str_ireplace($find, $replace, $string) 

Parameters

$find

$replace

$string

str_ireplace_once - Replaces a string only once

str_ireplace_once($find, $replace, $subject) : string

Caution: This function only takes strings as parameters, not arrays!

Parameters

$find

string String to find

$replace

string String to replace

$subject

string String to process

Returns

stringProcessed string

str_ireplace_once_reverse - Replaces a string only once, in reverse direction

str_ireplace_once_reverse($find, $replace, $subject) : string

Caution: This function only takes strings as parameters, not arrays!

Parameters

$find

string String to find

$replace

string String to replace

$subject

string String to process

Returns

stringProcessed string

str_replace_recursive()

str_replace_recursive($array) 

Parameters

$array

str_rpos - Finds a string position in reverse direction

str_rpos($haystack, $needle, $start) : string

NOTE: The original strrpos-Function of PHP4 only finds a single character as needle.

Parameters

$haystack

string String to search in

$needle

string String to search for

$start

integer Offset

Returns

stringProcessed string

stripCount()

stripCount($singlewordcounter, $maxKeywords) 

Parameters

$singlewordcounter

$maxKeywords

stripos()

stripos($haystack, $needle, $offset) 

Parameters

$haystack

$needle

$offset

stripslashes_deep()

stripslashes_deep($value) 

Parameters

$value

check users right for a client

system_have_perm(integer $client) : boolean

check if the user has a right for a defined client

author Marco Jahn

Parameters

$client

integer

client id

Returns

booleanwether user has access or not

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

trans($string)

trans($string) : string

gettext wrapper (for future extensions). Usage: trans("Your text which has to be translated");

Parameters

$string

string The string to translate

Returns

stringReturns the translation

Trims an array

trim_array(array $array) : array

Parameters

$array

array

Array to trim

Returns

arrayTrimmed array

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

updateFileInformation(integer $iIdClient, string $sFilename, string $sType, string $sAuthor, string $sDescription, object $oDb, string $sFilenameNew) : void

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

integer
  • 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

object
  • contenido database object

$sFilenameNew

string
  • new filename if filename was changed (optional)

uplCreateFriendlyName()

uplCreateFriendlyName($filename) 

Parameters

$filename

uplDirectoryListRecursive()

uplDirectoryListRecursive($currentdir, $startdir, $files, $depth, $pathstring) 

Parameters

$currentdir

$startdir

$files

$depth

$pathstring

Returns list of directory names to exclude e.

uplGetDirectoriesToExclude() : array

g. from directory listings.

Returns

array

uplGetFileExtension()

uplGetFileExtension($sFile) 

Parameters

$sFile

Returns the icon for a file type

uplGetFileIcon($file) : \Icon

Parameters

$file

Filename to retrieve the extension for

Returns

\Iconfor the file type

Returns the description for a file type

uplGetFileTypeDescription($extension) : \Text

Parameters

$extension

Extension to use

Returns

\Textfor the file type

uplGetThumbnail()

uplGetThumbnail($file, $maxsize) 

Parameters

$file

$maxsize

uplHasFiles()

uplHasFiles($dir) 

Parameters

$dir

uplHasSubdirs()

uplHasSubdirs($dir) 

Parameters

$dir

uplRecursiveDBDirectoryList()

uplRecursiveDBDirectoryList($directory, $rootitem, $level) 

Parameters

$directory

$rootitem

$level

uplRecursiveDirectoryList()

uplRecursiveDirectoryList($directory, $rootitem, $level, $sParent, $iRenameLevel) 

Parameters

$directory

$rootitem

$level

$sParent

$iRenameLevel

uplRecursiveRmDirIfEmpty()

uplRecursiveRmDirIfEmpty($dir) 

Parameters

$dir

uplRenameDirectory()

uplRenameDirectory($oldpath, $newpath, $parent) 

Parameters

$oldpath

$newpath

$parent

uplRender()

uplRender($path, $sortby, $sortmode, $startpage, $thumbnailmode) 

Parameters

$path

$sortby

$sortmode

$startpage

$thumbnailmode

uplRender()

uplRender($searchfor, $sortby, $sortmode, $startpage, $thumbnailmode) 

Parameters

$searchfor

$sortby

$sortmode

$startpage

$thumbnailmode

uplSearch()

uplSearch($searchfor) 

Parameters

$searchfor

uplSyncDirectory ($path) Sync database contents with directory

uplSyncDirectory(string $sPath) 

Parameters

$sPath

string

Specifies the path to scan

uplSyncDirectoryDBFS ($path) Sync database contents with DBFS

uplSyncDirectoryDBFS(string $path) 

Parameters

$path

string

Specifies the path to scan

upldelete()

upldelete($path, $files) 

Parameters

$path

$files

uplmkdir()

uplmkdir($path, $name) 

Parameters

$path

$name

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

writeSystemValuesOutput - get several server and Contenido settings

writeSystemValuesOutput($usage) : string

parse system and Contenido output into a string

author Marco Jahn

Parameters

$usage

Returns

stringreturns a string containing several server and Contenido settings

xmldoc()

xmldoc($str) 

Parameters

$str

xmldocfile()

xmldocfile($filename) 

Parameters

$filename

xpath_eval()

xpath_eval($xpath_context, $eval_str, $contextnode) 

Parameters

$xpath_context

$eval_str

$contextnode

xpath_new_context()

xpath_new_context($dom_document) 

Parameters

$dom_document

xpath_register_ns()

xpath_register_ns($xpath_context, $prefix, $namespaceURI) 

Parameters

$xpath_context

$prefix

$namespaceURI

Classes and interfaces

IDebug

« More »

iConUser

Interface to describe main user functionallities.

« More »

Action

« More »

ActiveUsers

« More »

Ajax

Class for outputting some content for Ajax use

« More »

ArtSpecCollection

Class ItemCollection Class for database based item collections

« More »

ArtSpecItem

Article specification Item

« More »

Article

Contenido API - Article Object

« More »

ArticleCollection

Contenido API - Article Object Collection

« More »

CEC_Hook

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

« More »

CategoryCollection

Class ItemCollection Class for database based item collections

« More »

CategoryItem

Class Item Class for database based items

« More »

CategoryLanguageCollection

Class ItemCollection Class for database based item collections

« More »

CategoryLanguageItem

Class Item Class for database based items

« More »

Client

« More »

Cms_Date

« More »

Cms_FileList

This class provides all methods for the content type CMS_FILELIST.

« More »

Cms_Teaser

Class handles content type teaser, its editmode and viewmode.

« More »

CommunicationCollection

Class ItemCollection Class for database based item collections

« More »

CommunicationItem

Single CommunicationItem Item

« More »

ConUser

Project: Contenido Content Management System

« More »

ConUserException

Simple excpetion extension for better error handling.

« More »

ConUser_Abstract

This abstract class implements interface iConUser and should be user as base class for backend user classes.

« More »

Contenido_Backend

« 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_FrontendNavigation

« More »

Contenido_FrontendNavigation_Base

« More »

Contenido_FrontendNavigation_Breadcrumb

« More »

Contenido_NavMain_Util

Project: Contenido Content Management System

« More »

Contenido_Navigation

Backend navigaton class.

« More »

Contenido_Notification

« More »

Contenido_Security

Contenido Security class

« More »

Contenido_Security_Exception

Contenido Security exception class

« More »

Contenido_Sitemap_Util

Project: Contenido Content Management System

« More »

Contenido_UpdateNotifier

« More »

Contenido_Url

« More »

Contenido_UrlBuilder

« More »

Contenido_UrlBuilderConfig

Class to manage UrlBuilder configuration.

« More »

Contenido_UrlBuilderFactory

« More »

Contenido_UrlBuilder_Custom

« More »

Contenido_UrlBuilder_CustomPath

« More »

Contenido_UrlBuilder_Frontcontent

« More »

DBFSCollection

Class ItemCollection Class for database based item collections

« More »

DBFSItem

Class Item Class for database based items

« More »

Debug_DevNull

« More »

Debug_File

« 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

« More »

ExcelWorksheet

« More »

FormCheck

class FormCheck Class for checking form values

« More »

FormField

Class Formfield Class for creating form elements

« More »

FrontendGroup

Single FrontendGroup Item

« More »

FrontendGroupCollection

Frontend group management class

« More »

FrontendGroupMember

Single FrontendGroup Item

« More »

FrontendGroupMemberCollection

Frontend group member management class

« 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 FrontendPermission Item

« More »

FrontendPermissionCollection

Frontend user management class

« More »

FrontendUser

Single FrontendUser Item

« More »

FrontendUserCollection

Frontend user management class

« More »

Group

Class Group Class for group information and management

« More »

Groups

Class Groups Container class for all system groups

« More »

HtmlParser

Class HtmlParser.

« More »

HttpInputValidator

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

« More »

InUseCollection

Class InUse Class for In-Use management

« More »

InUseItem

Class InUseItem Class for a single in-use item

« More »

Index

« More »

Item

Class Item Class for database based items

« More »

ItemCollection

Class ItemCollection Class for database based item collections

« More »

Language

Class Language Class for a single language item

« More »

Languages

Class Language Class for language collections

« More »

Layout

« More »

Newsletter

Single Newsletter Item

« More »

NewsletterCollection

Newsletter management class

« More »

NotInitializedException

« More »

NoteCollection

Class ItemCollection Class for database based item collections

« More »

NoteItem

Single CommunicationItem Item

« More »

NoteList

Div Element

« More »

NoteListItem

Div Element

« More »

NoteView

IFrame element

« More »

PHPMailer

PHPMailer - PHP email transport class

« More »

PropertyCollection

Class ItemCollection Class for database based item collections

« More »

PropertyItem

Class Item Class for database based items

« More »

Purge

class Purge

« 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

Description: Class for handling passwort recovery

« 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 »

SearchResult

Contenido API - SearchResult Object

« More »

Search_helper

« More »

Structure

« More »

TODOBackendList

Class ScrollableList Class for scrollable backend lists

« More »

TODOCollection

Class ItemCollection Class for database based item collections

« More »

TODOItem

Single CommunicationItem Item

« More »

Table

« More »

Template

class Template

« More »

TemplateConfig

« More »

TreeItem

Class TreeItem Class to create tree-based items

« More »

UI_Config_Table

« More »

UI_Form

« More »

UI_Left_Top

« More »

UI_List

« More »

UI_Menu

« More »

UI_Page

« More »

UI_Table_Form

« More »

UploadCollection

Class ItemCollection Class for database based item collections

« More »

UploadItem

Class Item Class for database based items

« More »

UploadList

« More »

UploadList

Class FrontendList Class for scrollable frontend lists

« More »

User

Class User Class for user information and management

« More »

Users

« More »

ValidationError

« More »

Version

« More »

VersionFile

« More »

VersionImport

« More »

VersionLayout

« More »

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

Class XML_doc

« More »

XmlNode

XmlNode Object

« More »

XmlParser

Class for parsing XML documents using SAX

« More »

XmlTree

XmlTree class

« More »

XsltProcessor

XSLT_Processor

« More »

cApiAction

Class Item Class for database based items

« More »

cApiActionCollection

Class ItemCollection Class for database based item collections

« More »

cApiArea

Class Item Class for database based items

« More »

cApiAreaCollection

Class ItemCollection Class for database based item collections

« More »

cApiArticle

Class Item Class for database based items

« More »

cApiArticleCollection

Class ItemCollection Class for database based item collections

« More »

cApiArticleLanguage

Class Item Class for database based items

« More »

cApiArticleLanguageCollection

Class ItemCollection Class for database based item collections

« More »

cApiCECRegistry

CEC registry class.

« More »

cApiCategory

Class Item Class for database based items

« More »

cApiCategoryArticle

Class Item Class for database based items

« More »

cApiCategoryArticleCollection

Class ItemCollection Class for database based item collections

« More »

cApiCategoryCollection

Class ItemCollection Class for database based item collections

« More »

cApiCategoryLanguage

Class Item Class for database based items

« More »

cApiCategoryLanguageCollection

Class ItemCollection Class for database based item collections

« More »

cApiCategoryTreeCollection

Class ItemCollection Class for database based item collections

« More »

cApiClickableAction

class cApiClickableAction cApiClickableAction is a subclass of cApiAction.

« More »

cApiClickableQuestionAction

class cApiClickableAction cApiClickableAction is a subclass of cApiAction.

« More »

cApiClient

Class cApiClientCollection

« More »

cApiClientCollection

Class ItemCollection Class for database based item collections

« More »

cApiClientLanguage

Class Item Class for database based items

« More »

cApiClientLanguageCollection

Class ItemCollection Class for database based item collections

« More »

cApiContainer

Class Item Class for database based items

« More »

cApiContainerCollection

Class ItemCollection Class for database based item collections

« More »

cApiContainerConfiguration

Class Item Class for database based items

« More »

cApiContainerConfigurationCollection

Class ItemCollection Class for database based item collections

« More »

cApiFile

Class Item Class for database based items

« More »

cApiFileCollection

Class ItemCollection Class for database based item collections

« More »

cApiFrameFile

Class Item Class for database based items

« More »

cApiFrameFileCollection

Class ItemCollection Class for database based item collections

« More »

cApiLanguage

Class Item Class for database based items

« More »

cApiLanguageCollection

Class ItemCollection Class for database based item collections

« More »

cApiLayout

Class Item Class for database based items

« More »

cApiLayoutCollection

Class ItemCollection Class for database based item collections

« More »

cApiModule

Module access class

« More »

cApiModuleCollection

Class ItemCollection Class for database based item collections

« More »

cApiModuleTranslation

Module access class

« More »

cApiModuleTranslationCollection

Class ItemCollection Class for database based item collections

« More »

cApiTemplate

Class Item Class for database based items

« More »

cApiTemplateCollection

Class ItemCollection Class for database based item collections

« More »

cApiTemplateConfiguration

Class Item Class for database based items

« More »

cApiTemplateConfigurationCollection

Class ItemCollection Class for database based item collections

« More »

cApiTree

Class Item Class for database based items

« More »

cApiUser

Class Item Class for database based items

« More »

cApiUserCollection

Class ItemCollection Class for database based item collections

« More »

cApiXml2Array

« More »

cAutoload

« More »

cBufferedLog

« More »

cCalendarControl

Table Element

« More »

cCharacterConverter

« More »

cConCache

« More »

cConCacheHandler

« More »

cDataCheckboxWidget

class cDataCheckboxWidget cDataCheckboxWidget generates a checkbox for use with the dataobjects

« More »

cDataCodeTextareaWidget

class cDataCodeTextareaWidget cDataCodeTextareaWidget generates a textarea widget for use with the data objects.

« More »

cDataDropdownWidget

class cDataDropdownWidget cDataDropdownWidget generates a dropdown widget for use with the data objects.

« More »

cDataForeignTableDropdownWidget

class cDataForeignTableDropdownWidget cDataForeignTableDropdownWidget generates a dropdown widget out of a foreign table.

« More »

cDataMultiTextboxWidget

class cDataMultiTextboxWidget cDataMultiTextboxWidget generates a multi-line textbox widget

« More »

cDataTextWidget

class cDataTextWidget cDataTextWidget generates a textbox widget for use with the data objects.

« More »

cDataTextareaWidget

class cDataTextareaWidget cDataTextareaWidget generates a textarea widget for use with the data objects.

« More »

cDatatype

« More »

cDatatypeCurrency

« More »

cDatatypeDateTime

« More »

cDatatypeNumber

« More »

cDateChooser

HTML Textbox

« More »

cDatefield

HTML Textbox

« More »

cDropdownDateSelect

« More »

cFoldingRow

Base class for all Contenido HTML classes

« More »

cHTML

Base class for all Contenido HTML classes

« More »

cHTMLAlignmentTable

Table Element

« More »

cHTMLButton

HTML Button class

« More »

cHTMLCheckbox

HTML Checkbox

« More »

cHTMLDiv

Div Element

« More »

cHTMLForm

Base class for all Contenido HTML classes

« More »

cHTMLFormElement

HTML Form element class

« More »

cHTMLHiddenField

HTML Hidden Field

« More »

cHTMLIFrame

IFrame element

« More »

cHTMLImage

Image Element

« More »

cHTMLInputSelectElement

HTML Select Element

« More »

cHTMLLabel

HTML Label for form elements

« More »

cHTMLOptionElement

HTML Select Option Element

« More »

cHTMLPasswordbox

HTML Password Box

« More »

cHTMLRadiobutton

HTML Radio Button

« More »

cHTMLScript

Table Head Element

« More »

cHTMLSelectElement

HTML Select Element

« More »

cHTMLSpan

SPAN Element

« More »

cHTMLTable

Table Element

« More »

cHTMLTableBody

Table Body Element

« More »

cHTMLTableData

Table Data Element

« More »

cHTMLTableHead

Table Head Element

« More »

cHTMLTableHeader

Table Head Element

« More »

cHTMLTableRow

Table Row Element

« More »

cHTMLTextarea

HTML Form element class

« More »

cHTMLTextbox

HTML Textbox

« More »

cHTMLUpload

HTML File upload box

« More »

cHTMLValidator

« More »

cIterator

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

« More »

cMetaObject

« More »

cModuleLog

« More »

cNewPageLeftTopMultiPane

Predefined page for use in frame 1 with a multipane

« More »

cNewsletterJob

Single NewsletterJob Item

« More »

cNewsletterJobCollection

Collection management class

« More »

cNewsletterLog

Single NewsletterLog Item

« More »

cNewsletterLogCollection

Collection management class

« More »

cNominalCurrencyField

HTML Textbox

« More »

cNominalNumberField

HTML Textbox

« More »

cObjectPager

Base class for all Contenido HTML classes

« More »

cPage

Regular page

« More »

cPageLeftTop

Predefined page for use in frame 1

« More »

cPageLeftTopMultiPane

Predefined page for use in frame 1 with a multipane

« More »

cPager

cPager Basic pager class without presentation logic

« More »

cScrollList

Class ScrollableList Class for scrollable backend lists

« More »

cSwitchableDateChooser

HTML Textbox

« More »

cTableView

Contenido Table view

« More »

cTree

class cTree

« More »

cTreeItem

class cTreeItem

« More »

cViewAdvancedMenu

« More »

cViewItems

IFrame element

« 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

class cWidgetTreeView cWidgetTreeView is a visual representation of a cTree.

« More »

frontendlogic_category

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

« More »

gdbDriver

« More »

gdbMySQL

« More »

mpClassMapFileCreator

Class to create a PHP file which contains a assoziative PHP array.

« More »

mpClassMapFileCreatorContenido

Class to create a PHP file which contains a assoziative PHP array.

« More »

mpClassTypeFinder

Class to find class type tokens

« 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_STRIPSLASHES

CONTENIDO_STRIPSLASHES 
 

CON_CHECK_HASH32

CON_CHECK_HASH32 
 

CON_CHECK_INTEGER

CON_CHECK_INTEGER 
 

CON_CHECK_PRIMITIVESTRING

CON_CHECK_PRIMITIVESTRING 
 

CON_CHECK_STRING

CON_CHECK_STRING 
 

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_FRAMEWORK

CON_FRAMEWORK 
 

CON_PHP54

CON_PHP54 
 

DIRECTORY_SEPARATOR

DIRECTORY_SEPARATOR 
 

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 
 

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 
 

PATH_SEPARATOR

PATH_SEPARATOR 
 

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 
 

PHP_EOL

PHP_EOL 
 

PHP_EOL

PHP_EOL 
 

QUESTIONACTION_PROMPT

QUESTIONACTION_PROMPT 
 

QUESTIONACTION_YESNO

QUESTIONACTION_YESNO 
 

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