CheckIfMetaTagExists(array | mixed $arrMetatags, string $sCheckForMetaTag) : int
arraymixedList of metatags or not a list
stringThe metatag to check
intPosition of metatag inside the metatag list or the next
available positionSaveKeywordsforart($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. |
|---|
__cmp($a, $b)
_error_report($error)
addArtspec(string $artspectext, $online) : void
stringarticle specification text
addslashes_deep($value)
array_combine($keys, $values)
array_csort()
array_search_recursive($search, $array, $partial, $strict)
backToMainArea(bool $send)
| author | Jan Lengowski <Jan.Lengowski@4fb.de> |
|---|---|
| copyright | four for business AG |
boolRedirect Yes/No
buildArticleSelect(String $sName, String $iIdCat, $sValue) : String
StringName of the SelectBox
StringValue of the SelectBox
StringHTMLbuildCategorySelect(String $sName, String $sValue, Integer $sLevel, String $sStyle) : String
StringName of the SelectBox
StringValue of the SelectBox
IntegerValue of highest level that should be shown
StringOptional style informations for select
StringHTMLbuildCategorySelectRights() : String
StringHTMLbuildHeapTable(string $sHeapTable, \DB_Contenido $db) : void
stringTable name
\DB_ContenidoDatabase object
buildTree($rootItem, $items)
cCatPerm($widcat, $db)
cDie($file, $line, $message)
File name (use FILE)
Line number (use LINE)
Message to display
cError($file, $line, $message)
File name (use FILE)
Line number (use LINE)
Message to display
cHandler_ItemArea($sName, $aAttribs, $sContent)
cHandler_ItemData($sName, $aAttribs, $sContent)
cHandler_ItemName($sName, $aAttribs, $sContent)
cHandler_ModuleData($sName, $aAttribs, $sContent)
cHandler_Translation($sName, $aAttribs, $sContent)
cIDNADecode($targetEncoding, $string)
cIDNAEncode($sourceEncoding, $string)
cInclude($where, $what, $force) : \none
| see | \global\contenido_include |
|---|
string The area which should be included
string The filename of the include
boolean If true, force the file to be included
\nonecInitializeArrayKey($aArray, $sKey, $mDefault)
cWarning($file, $line, $message)
File name (use FILE)
Line number (use LINE)
Message to display
calcDensity($singlewordcounter, $string, $quantifier)
callPluginStore($entity)
Example: callPluginStore("frontendusers");
Name of the directory to scan
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.
stringThe path to the image (relative to the frontend)
intThe maximum size in x-direction
intThe maximum size in y-direction
booleanIf true, the image is cropped and not scaled.
booleanIf true, the image is expanded (e.g. really scaled). If false, the image will only be made smaller.
intThe number of minutes to cache the image, use 0 for unlimited
booleanIf true, try to force high quality mode
intThe quality of the output file
booleanIf true and a png file is source, output file is also png
string!!!URL!!! to the resulting image (http://...)stringPath to the resulting imagecapiImgScaleGetMD5CacheFile($sImg, $iMaxX, $iMaxY, $bCrop, $bExpand) : string
stringPath to the resulting imagecapiImgScaleHQ(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.
stringThe path to the image (relative to the frontend)
intThe maximum size in x-direction
intThe maximum size in y-direction
booleanIf true, the image is cropped and not scaled.
booleanIf true, the image is expanded (e.g. really scaled). If false, the image will only be made smaller.
intThe number of minutes to cache the image, use 0 for unlimited
intThe quality of the output file
booleanIf true and a png file is source, output file is also png
string!!!URL!!! to the resulting image (http://...)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.
stringThe path to the image (relative to the frontend)
intThe maximum size in x-direction
intThe maximum size in y-direction
booleanIf true, the image is cropped and not scaled.
booleanIf true, the image is expanded (e.g. really scaled). If false, the image will only be made smaller.
intThe number of minutes to cache the image, use 0 for unlimited
intThe quality of the output file
booleanIf true and a png file is source, output file is also png
string!!!URL!!! to the resulting image (http://...)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.
stringThe path to the image (relative to the frontend)
intThe maximum size in x-direction
intThe maximum size in y-direction
booleanIf true, the image is cropped and not scaled.
booleanIf true, the image is expanded (e.g. really scaled). If false, the image will only be made smaller.
intThe number of minutes to cache the image, use 0 for unlimited
intThe quality of the output file
booleanIf true and a png file is source, output file is also png
string!!!URL!!! to the resulting image (http://...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 |
string The string to operate on
string If true, all "unclean" characters are replaced
stringThe resulting stringcapiStrRecodeString($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:
| 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 |
string The string to operate on
string The source encoding (default: ISO-8859-1)
string The target encoding (if false, use source encoding)
stringThe resulting stringcapiStrReplaceDiacritics($sString, $sourceEncoding, $targetEncoding)
capiStrTrimAfterWord($string, $maxlen) : string
Warning: Currently, this function uses a regular ASCII-Whitespace to do the seperation test. If you are using ' ' 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.
string The string to operate on
int The maximum number of characters
stringThe resulting stringcapiStrTrimHard($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.
string The string to operate on
int The maximum number of characters
stringThe resulting stringcapiStrTrimSentence($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.
string The string to operate on
int The approximate number of characters
boolean If true, use a hard limit for the number of characters (default: false)
stringThe resulting stringcapi_cat_getlevelnode($idcat, $minLevel) : int
Example:
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.
int The level to extract
intThe category node on a specific levelcecCreateBaseHref($sCurrentBaseHref)
cecFrontendCategoryAccess($idlang, $idcat, $user)
cecFrontendCategoryAccess_Backend($idlang, $idcat, $user)
checkCatPermission($idcatlang, $public)
checkImageEditingPosibility()
return mixed information about installed image editing extensions/tools
checkLangInClients(array $aClients, integer $iLang, array $aCfg, object $oDb) : boolean
arrayintegerarrayobjectboolean- status (if language id corresponds to list of clients true otherwise false)checkLinks()
checkMySQLConnectivity()
checkPathInformation(string $strConUrl, string $strBrowserUrl) : string
must be done
stringcontenido fullhtmlPath
stringcurrent browser string
stringstatus of path comparementcleanupSessions()
compareUrlStrings($arrConUrl, $arrBrowserUrl, $isIP)
checks two path informations against each other to get potential nonconformities
conChangeTemplateForCat(int $idcat, int $idtpl) : void
| author | Jan Lengowski |
|---|---|
| copyright | four for business AG |
intCategory Id
intTemplate Id
conCopyArtLang($srcidart, $dstidart, $newtitle, $bUseCopyLabel)
conCopyArticle($srcidart, $targetcat, $newtitle, $bUseCopyLabel)
conCopyContainerConf($srcidtplcfg, $dstidtplcfg)
conCopyContent($srcidartlang, $dstidartlang)
conCopyTemplateConfiguration($srcidtplcfg)
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 |
intID of the starting category
stringSeperation string
stringCategory location string (by reference)
booleancreate location string with links
stringstylesheet class for the links
integerfirst navigation level location string should be printed out (first level = 0!!)
stringlocation stringconDeeperCategoriesArray($idcat_start) : array
| author | Olaf Niemann <olaf.niemann@4fb-de> Jan Lengowski <jan.lengowski@4fb.de> |
|---|---|
| copyright | four for business AG |
arrayArray with all deeper categoriesconDeleteart(int $idart)
| author | Olaf Niemann <olaf.niemann@4fb-de> Jan Lengowski <jan.lengowski@4fb.de> |
|---|---|
| copyright | four for business AG |
intArticle Id
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 |
mixedmany
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 |
mixedmany
intId of the new articleconFetchCategoryTree($client, $lang)
conFlagOnOffline()
| author | Timo A. Hummel <Timo.Hummel@4fb.de> |
|---|---|
| copyright | four for business AG 2003 |
conGenerateCode(int $idcat, int $idart, int $lang, int $client, int $layout)
| author | Jan Lengowski |
|---|---|
| copyright | four for business AG |
intId of category
intId of article
intId of language
intId of client
intLayout-ID of alternate Layout (if false, use associated layout)
conGenerateCodeForAllArts()
| author | Jan Lengowski <Jan.Lengowski@4fb.de> |
|---|---|
| copyright | four for business AG 2003 |
conGenerateCodeForAllArtsInCategory(int $idcat)
| author | Jan Lengowski <Jan.Lengowski@4fb.de> |
|---|---|
| copyright | four for business AG 2003 |
intCategory ID
conGenerateCodeForAllArtsUsingTemplate(int $idtpl)
| author | Jan Lengowski <Jan.Lengowski@4fb.de> |
|---|---|
| copyright | four for business AG 2003 |
intTemplate-Id
conGenerateCodeForAllartsUsingLayout(int $idlay)
| author | Jan Lengowski <Jan.Lengowski@4fb.de> |
|---|---|
| copyright | four for business AG 2003 |
intLayout-ID
conGenerateCodeForAllartsUsingMod(int $idmod)
| author | Jan Lengowski <Jan.Lengowski@4fb.de> |
|---|---|
| copyright | four for business AG 2003 |
intModule id
conGenerateCodeForArtInAllCategories(int $idart)
| author | Jan Lengowski <Jan.Lengowski@4fb.de> |
|---|---|
| copyright | four for business AG 2003 |
intArticle ID
conGenerateCodeForClient()
| author | Jan Lengowski <Jan.Lengowski@4fb.de> |
|---|---|
| copyright | four for business AG 2003 |
conGenerateKeywords($client, $lang) : void
| author | Willi Man Created : 12.05.2004 Modified : 13.05.2004 |
|---|---|
| copyright | four for business AG 2003 |
Client
Language of a client
conGetAvailableMetaTagTypes()
| author | Timo A. Hummel <Timo.Hummel@4fb.de> |
|---|---|
| copyright | four for business AG 2003 |
conGetCategoryAssignments(\idart $idart, \db $db) : array
\idartint Article ID
\dbobject Optional; if specified, uses the given db object
arrayFlat array which contains all category id'sconGetContentFromArticle($article_lang) : array
| author | Willi Man Created : 12.05.2004 Modified : 13.05.2004 |
|---|---|
| copyright | four for business AG 2003 |
ArticleLanguageId of an article (idartlang)
arrayArray with content of an article indexed by content-typesconGetHtmlTranslationTable($table, $flags)
conGetMetaValue($idartlang, $idmetatype)
| author | Timo A. Hummel <Timo.Hummel@4fb.de> |
|---|---|
| copyright | four for business AG 2003 |
ID of the article
Metatype-ID
conGetTopmostCat($idcat, $minLevel)
conHtmlEntityDecode($value, $flags, $encoding)
conHtmlSpecialChars($value, $flags, $encoding)
conHtmlentities($value, $flags, $encoding)
conHtmlentities_iso88592(string $sInput) : string
string
stringconLock(int $idart, \ing $lang)
intArticle Id
\ingLanguage Id
conMakeArticleIndex($idartlang, integer $idart)
added by stese removed from function conSaveContentEntry before Touch the article to update last modified date
| see | \global\conSaveContentEntry |
|---|
integer
conMakeCatOnline(int $idcat, int $lang, int $status)
| author | Jan Lengowski |
|---|---|
| copyright | four for business AG |
intid of the category
intid of the language
intstatus of the category
conMakeOnline(int $idart, \ing $lang)
| author | Olaf Niemann <olaf.niemann@4fb-de> Jan Lengowski <jan.lengowski@4fb.de> |
|---|---|
| copyright | four for business AG |
intArticle Id
\ingLanguage Id
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 |
intintArticle Id
conMakeStart(int $idcatart, $is_start) : void
| author | Olaf Niemann <olaf.niemann@4fb-de> Jan Lengowski <jan.lengowski@4fb.de> |
|---|---|
| copyright | four for business AG |
intIdcatart of the article
conMoveArticles()
| author | Timo A. Hummel <Timo.Hummel@4fb.de> |
|---|---|
| copyright | four for business AG 2003 |
conPhp54Check()
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 |
integeridartlang of the article
stringType of content element
integerSerial number of the content element
stringContent
conSetCodeFlag(int $idcatart)
| author | Jan Lengowski <Jan.Lengowski@4fb.de> |
|---|---|
| copyright | four for business AG 2003 |
intContenido Category-Article-ID
conSetMetaValue($idartlang, $idmetatype, $value)
| author | Timo A. Hummel <Timo.Hummel@4fb.de> |
|---|---|
| copyright | four for business AG 2003 |
ID of the article
Metatype-ID
Value of the meta tag
conSyncArticle($idart, $srclang, $dstlang)
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().
string The area which should be included
string The filename of the include
boolean If true, force the file to be included
$string or boolean false if file is not found
\nonecopyRightsForElement(string $area, int $iditem, int $newiditem, int $idlang)
| author | Martin Horwath |
|---|---|
| copyright | dayside.net |
stringmain area name
intID of element to copy
intID of the new element
intID of lang parameter
createFile(string $filename, string $path) : \(void | \bool)
Exits the script, if filename is not valid or creation (touch or chmod) fails!
stringThe file to create
stringPath to the file
\(void\bool)Either true on success or nothingcreateNewWorkflow()
createRandomName($nameLength) : string
Example: echo createRandomName(8);
Length of the generated string
stringrandom namecreateRightsForElement(string $area, int $iditem, int $idlang)
| author | Martin Horwath |
|---|---|
| copyright | dayside.net |
stringmain area name
intID of new element
intID of lang parameter
dbDumpArea($db, $id)
| deprecated | |
|---|---|
| since | 2008-07-11 |
dbDumpAreasAsArray($arrayname, $db)
| deprecated | |
|---|---|
| since | 2008-07-11 |
dbDumpData($table)
| deprecated | |
|---|---|
| since | 2008-07-11 |
dbDumpNavSub($arrayname, $db, $nextidarea)
| deprecated | |
|---|---|
| since | 2008-07-11 |
dbDumpStructure($db, $table, $return)
| deprecated | |
|---|---|
| since | 2008-07-11 |
dbGetColumns($db, $table)
dbGetIndexes($db, $table)
dbGetPrimaryKeyName($db, $table)
dbInsertData($table, $data)
| deprecated | |
|---|---|
| since | 2008-07-11 |
dbTableExists($db, $table)
dbUpdateSequence($sequencetable, $table, $db)
dbUpgradeData($table, $valuesArray)
| deprecated | |
|---|---|
| since | 2008-07-11 |
dbUpgradeTable($db, $table, $field, $type, $null, $key, $default, $extra, $upgradeStatement, $bRemoveIndexes)
decDate($dateArr, $amount, $unit, $PC_debug)
define_if($constant, $value)
deleteArtspec(integer $idartspec) : void
integerarticle specification id
deleteRightsForElement(string $area, int $iditem, int $idlang)
| author | Martin Horwath |
|---|---|
| copyright | dayside.net |
stringmain area name
intID of new element
intID of lang parameter
deleteSystemProperty(string $type, string $name)
stringThe type of the item
stringThe name of the item
displayFiles($aFiles, $aSelected, $oForm, $sCaption, $sField, $sDisabled)
displayPlugin($entity, $form)
doWorkflowAction($idartlang, $action)
domxml_new_doc($version)
domxml_new_xmldoc($version)
domxml_open_file($filename, $mode, $error)
domxml_open_mem($str, $mode, $error)
domxml_xslt_stylesheet($xslstring)
domxml_xslt_stylesheet_doc($dom_document)
domxml_xslt_stylesheet_file($xslfile)
editWorkflowStep($idworkflowitem)
emptyLogFile() : string
clears Contenido standard errorlog.txt
| author | Marco Jahn |
|---|
stringreturns message if clearing was successfull or notendAndLogTiming(\uuid $uuid)
\uuidint UUID which has been used for timing
extractNumber(string $string)
| author | Olaf Niemann <olaf.niemann@4fb-de> Jan Lengowski <jan.lengowski@4fb.de> |
|---|---|
| copyright | four for business AG |
stringString var by reference
fakeheader($time)
fileEdit(string $filename, string $sCode, string $path) : \(string | \void)
Exits the script, if file could not opened!
stringThe file to write the content
stringFile content to write
stringPath to the file
\(string\void)Either content of file o nothingfileValidateFilename(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!
stringThe filename to validate
boolFlag to display notification and to exit further script execution, ifd validation fails
\(void\bool)Either validation result or nothing (depends on second parameter)file_get_contents($filename, $use_include_path)
file_put_contents($filename, $content)
formGenerateCheckbox($name, $value, $checked, $caption) : \Generated
| author | Timo A. Hummel <Timo.Hummel@4fb.de> |
|---|---|
| copyright | four for business AG |
Name of the checkbox
Value of the checkbox
Initially checked?
\Generatedfield codeformGenerateField($type, $name, $initvalue, $width, $maxlen) : \Generated
| author | Timo A. Hummel <Timo.Hummel@4fb.de> |
|---|---|
| copyright | four for business AG |
Either "text", "password" or "textbox"
Name of the field
Init value of the field
Maximum length of the field
\Generatedfield codefrontendusers_valid_from_display()
frontendusers_valid_from_getTitle()
frontendusers_valid_from_store($variables)
frontendusers_valid_from_wantedVariables()
frontendusers_valid_to_display()
frontendusers_valid_to_getTitle()
frontendusers_valid_to_store($variables)
frontendusers_valid_to_wantedVariables()
generateDisplayFilePath(string $sDisplayPath, int $iLimit) : string
| author | Timo Trautmann (4fb) |
|---|
stringintstring- string, which contains short path name and tooltipp if neccessarygetActionSelect($idartlang, $idusersequence)
getArtLang($idart, $idlang) : mixed
| author | Timo A. Hummel <Timo.Hummel@4fb.de> |
|---|---|
| copyright | four for business AG 2003 |
ID of the article
ID of the language
mixedidartlang of the article or false if nothing was foundgetArtspec() : array
arraylist of article specificationsgetAvailableContentTypes(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 |
intLanguage specific ID of the arcticle
getCanonicalDay(integer $iDay) : string
integerthe day number of date(w)
stringDayname of current languagegetCanonicalMonth($month)
getCatLang($idcat, $idlang)
getCategoryName($cat_id, $db)
getCategoryPath($cat_id, $level, $reverse, $db)
getClientName($idclient) : string
stringclient namegetCurrentUserSequence($idartlang, $defaultidworkflow)
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.
stringThe type of the item
stringThe name of the item
stringOptional default value
mixedboolean false if nothing was foundgetEffectiveSettingsByType($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.
arrayValuegetEncodingByLanguage(\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
\DB_Contenido
int
array
stringgetExpandCollapseButton($item, $catName)
getExpandCollapseButton($item)
getFileContent(string $filename, string $path) : \(string | \void)
Exits the script, if file could not opened!
stringThe file to get the content
stringPath to the file
\(string\void)Either content of file o nothinggetFileExtension(string $filename) : \extension
stringName of the file
\extensionon success, false if no extension could be extracted.getFileInformation(integer $iIdClient, string $sFilename, string $sType, object $oDb) : array
| author | Timo Trautmann |
|---|
integerstringstringobjectarrayIndexes:
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 filegetFileType(string $filename) : string
stringThe file to get the type
stringFiletypegetFiles($sPath, $sFileType, $sNoti)
getGroupIDs($db)
getGroupOrUserName($uid)
getIDForArea($area)
getJobFileName($jobname, $PC_writeDir)
getLanguageNamesByClient($client)
getLanguagesByClient($client)
getLastActialRunTime($jobname, $PC_writeDir)
getLastScheduledRunTime($job, $PC_debug)
getLastWorkflowStatus($idartlang)
getLevel($catid, $db)
getLocationString($iStartCat, $level, $seperator, $sLinkStyleClass, $sTextStyleClass, $fullweblink, $reverse, $mod_rewrite, $db)
getNamedFrame($frame) : string
Frame number
stringCanonical name of the framegetParent($preid, $db)
getParentAreaId($area)
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 |
|---|
arraysee above for examplegetPostValue($aProperty)
getProtectedSubCategories($parent_id, $db)
getProtectedSubTree($idcat_start, $db) : array
| copyright | four for business AG |
|---|
arrayArray with all deeper categoriesgetSubCategories($parent_id, $db)
getSubTree($idcat_start, $db) : array
| copyright | four for business AG |
|---|
arrayArray with all deeper categoriesgetSystemProperties(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; |
|---|
booleanbGetPropId - if true special mode is activated which generates for each property a third array, which also contains idsystemprop value
arraygetSystemPropertiesByType($sType) : array
arrayValuegetSystemProperty(string $type, string $name) : mixed
stringThe type of the item
stringThe name of the item
mixedboolean false if nothing was found, orgetTarget($cat_id, $db)
| deprecated |
|---|
getTemplateSelect()
getTimeUnitSelector($listid, $default)
getUsers($listid, $default)
getWorkflowForCat($idcat)
getWorkflowForUserSequence($usersequence)
getWorkflowList()
getWorkflowUsers($idworkflowitem)
get_include_path()
getmicrotime()
html_doc($html_doc, $from_file)
html_doc_file($filename)
htmldecode($string)
human_readable_size($number)
i18n($string, $domain) : string
gettext wrapper (for future extensions). Usage: i18n("Your text which has to be translated");
string The string to translate
string The domain to look up
stringReturns the translationi18nEmulateGettext($string, $domain) : string
Emulates GNU gettext
string The string to translate
string The domain to look up
stringReturns the translationi18nGetAvailableLanguages() : array
Returns the available_languages array to prevent globals.
arrayAll available languagesi18nInit($localePath, $langCode) : string
Initializes the i18n stuff.
string Path to the locales
string Language code to set
stringReturns the translationi18nMatchBrowserAccept($accept) : string
Tries to match the language given by $accept to one of the languages in the system.
stringThe locale key for the given accept stringi18nRegisterDomain($domain, $localePath) : string
Registers a new i18n domain.
string Domain to bind to
string Path to the locales
stringReturns the translationi18nStripAcceptLanguages($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
arrayArray with the short form of the accept languagesincludePlugins($entity)
Example: includePlugins("frontendusers");
Name of the directory to scan
isAnimGif(string $sFile) : boolean
stringfile path
booleantrue (gif is animated)/ false (single frame gif)isCurrentEditor($uid)
isGroup($uid)
isIPv4(string $strHostAdress) : boolean
stringip adress
booleanif string is a valid ip or notisImageMagickAvailable() : boolean
booleantrue if ImageMagick is availableisParent($parentid, $catid, $db)
isRunningFromWeb() : boolean
booleantrue if the script is running from the webisStartArticle($idartlang, $idcat, $idlang, $db)
isValidMail($sEMail, $bStrict)
is_a($object, $className)
is_alphanumeric(Mixed $test, Bool $umlauts) : Bool
MixedValue to test
Bool[Use german Umlaute] Optional
BoolValue is alphanumericis_dbfs($file)
keywordDensity($headline, $text)
lTrimZeros($number)
langActivateDeactivateLanguage($idlang, $active)
| author | Jan Lengowski <Jan.Lengowski@4fb.de> |
|---|---|
| author | Olaf Niemann <Olaf.Niemann@4fb.de> |
| copyright | four for business AG |
langDeleteLanguage($idlang, $idclient)
| author | Jan Lengowski <Jan.Lengowski@4fb.de> |
|---|---|
| author | Olaf Niemann <Olaf.Niemann@4fb.de> |
| copyright | four for business AG |
langDuplicateFromFirstLanguage($client, $idlang)
| author | Jan Lengowski <Jan.Lengowski@4fb.de> |
|---|---|
| author | Olaf Niemann <Olaf.Niemann@4fb.de> |
| copyright | four for business AG |
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 |
langGetTextDirection($idlang, $db)
langNewLanguage(string $name, $client)
| author | Jan Lengowski <Jan.Lengowski@4fb.de> |
|---|---|
| author | Olaf Niemann <Olaf.Niemann@4fb.de> |
| copyright | four for business AG |
stringName of the language
langRenameLanguage($idlang, $name)
| author | Jan Lengowski <Jan.Lengowski@4fb.de> |
|---|---|
| author | Olaf Niemann <Olaf.Niemann@4fb.de> |
| copyright | four for business AG |
layDeleteLayout($idlay)
layEditLayout(int $idlay, string $name, string $description, string $code) : int
| author | Olaf Niemann |
|---|---|
| copryright | four for business AG |
intId of the Layout
stringName of the Layout
stringDescription of the Layout
stringLayout HTML Code
int$idlay Id of the new or edited Layoutlinksort($sErrors)
locale_arsort($locale, $array)
logMessage($msg, $PC_writeDir, $PC_useLog, $PC_debug)
markLastRun($jobname, $lastRun, $PC_writeDir)
markSubMenuItem(int $menuitem, bool $return)
| author | Jan Lengowski <Jan.Lengowski@4fb.de> |
|---|---|
| copyright | four for business AG |
intWhich menuitem to mark
boolReturn or echo script
mi18n($string)
mime_content_type($file)
modDeleteModule($idmod)
modEditModule($idmod, $name, $description, $input, $output, $template, $type)
modTestModule($code, $id, $output)
notifyOnError($errortitle, $errormessage)
parseCronFile($PC_cronTabFile, $PC_debug)
parseElement($element, $targetArray, $numberOfElements)
phpInfoToHtml() : string
pica_ArticleListActions($aActions)
pica_GetCustomTabProperties($sIntName)
pica_RegisterCustomTab()
pica_RenderArticleAction($idcat, $idart, $idartlang, $actionkey)
piworkflowAllowArticleEdit($idlang, $idcat, $idart, $user)
piworkflowCategoryColumns($array)
piworkflowCategoryRenderColumn($idcat, $type)
piworkflowCreateTasksFolder()
piworkflowProcessActions($array)
piworkflowProcessArticleColumns($array)
piworkflowRenderAction($idcat, $idart, $idartlang, $type)
piworkflowRenderColumn($idcat, $idart, $idartlang, $column)
plugin_include($where, $what) : \none
Example: plugin_include("formedit", "classes/class.formedit.php");
string The filename of the include
\noneprCreateURLNameLocationString(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 |
intID of the starting category
stringSeperation string
stringCategory location string (by reference)
booleancreate location string with links
stringstylesheet class for the links
integerfirst navigation level location string should be printed out (first level = 0!!)
stringlocation stringprResolvePathViaCategoryNames($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.
string Path to resolve
integerClosest matching category ID (idcat)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.
string Path to resolve
integerClosest matching category ID (idcat)prepareWorkflowItems()
recCats($aCats, $sInsertQuery, $iNextTreeId, $aAllCats, $iLevel)
recursive_copy($from_path, $to_path)
removeFileInformation(integer $iIdClient, string $sFilename, string $sType, object $oDb) : void
| author | Timo Trautmann |
|---|
integerstringstringobjectrenameFile(string $sOldFile, string $sNewFile, string $path) : \(void | \string)
Exits the script, if new filename is not valid or renaming fails!
stringOld filename
stringNew filename
stringPath to the file
\(void\string)Either new filename or nothingrenderBooleanProperty($sName, $aPossValues, $sValue, $sLabel)
renderLabel($sLabel, $sName, $iWidth, $sSeperator)
renderTextProperty($sName, $sValue, $sLabel)
rereadClients()
restore_include_path()
runJob($job, $PC_jobDir, $PC_writeDir, $PC_useLog, $PC_debug)
saverights()
saverights()
saverightsarea()
saverightsarea()
scanDirectory($sDirectory, $bRecursive)
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!
Name of the directory to scan
stringclient namesearchFrontContentLinks($sValue, $iArt, $sArt, $iCat, $sCat)
searchLinks($sValue, $iArt, $sArt, $iCat, $sCat, $iLang, $sFromtype)
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 |
|---|
stringreturns several server and Contenido settingssendEncodingHeader(\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 |
\DB_Contenido
arrayglobal cfg-array
intglobal language id
sendPostRequest($host, $path, $data, $referer, $port)
Example: sendPostRequest("hostname", "serverpath/test.php", $data);
Hostname or domain
Data to send
Referer (optional)
Port (default: 80)
setArtspecDefault(integer $idartspec) : void
while creating a new article this defined article specification will be default setting
integerarticle specification id
setArtspecOnline(integer $idartspec, integer $online) : void
flag to switch if an article specification should be shown the frontend or not
integerarticle specification id
integer0/1 switch the status between on an offline
setHelpContext($area)
setSystemProperty(string $type, string $name, string $value, int $idsystemprop)
| modified | Timo Trautmann 22.02.2008 Support for editing name and type |
|---|
stringThe type of the item
stringThe name of the item
stringThe value of the item
intThe sysprop id, use optional. If set it allows to modify type name and value
setUserSequence($idartlang, $defaultidworkflow)
set_include_path($path)
set_magic_quotes_gpc($code)
showLocation($area)
showTable($tablename)
showTree($iIdcat, $aWholelist)
sort_pre_post($arr)
startTiming(\function $function, \parameters $parameters) : int
\functionstring Name of the function
\parametersarray All parameters for the function to measure
intuuid for this measure processstatCreateLocationString(int $idcat, string $seperator, string $cat_str) : void
Performs a recursive call, if parent category doesn't matches to 0
intThe category id
stringSeparator for location string
stringThe location string variable (reference)
statDisplayTopChooser(\none $default) : string
| author | Timo A. Hummel <Timo.Hummel@4fb.de> |
|---|---|
| copyright | four for business AG |
\none
stringReturns a drop down stringstatDisplayYearlyTopChooser(\none $default) : string
| author | Timo A. Hummel <Timo.Hummel@4fb.de> |
|---|---|
| copyright | four for business AG |
\none
stringReturns a drop down stringstatGetAvailableMonths(mixed $year, $client, $lang) : array
| author | Timo A. Hummel <Timo.Hummel@4fb.de> |
|---|---|
| copyright | four for business AG |
mixedmany
arrayArray of strings with months.statGetAvailableYears(mixed $client, $lang) : array
| author | Timo A. Hummel <Timo.Hummel@4fb.de> |
|---|---|
| copyright | four for business AG |
mixedmany
arrayArray of strings with years.statResetStatistic(int $client) : void
intId of client
statReturnCanonicalMonth(int $month) : string
Wrapper for function getCanonicalMonth()
intThe digit representation of a month
stringTextual representation of a monthstatsArchive($yearmonth) : \none
String with the desired archive date (YYYYMM)
\nonestatsDisplayInfo(int $id, string $type, int $x, int $y, int $w, int $h) : string
intEither article or directory id
stringThe type
intStyle top position
intStyle left position
intStyle width
intStyle height
stringComposed info layerstatsOverviewAll($yearmonth) : \none
| author | Jan Lengowski <Jan.Lengowski@4fb.de> @modified Timo A. Hummel <Timo.Hummel@4fb.de> |
|---|---|
| copyright | four for business AG |
Specifies the year and month from which to retrieve the statistics, specify "current" to retrieve the current entries
\nonestatsOverviewTop($yearmonth, $top) : \none
| author | Timo A. Hummel <Timo.Hummel@4fb.de> |
|---|---|
| copyright | four for business AG |
Specifies the year and month from which to retrieve the statistics, specify "current" to retrieve the current entries
Specifies the amount of pages to display
\nonestatsOverviewTopYear($year, $top) : \none
| author | Timo A. Hummel <Timo.Hummel@4fb.de> |
|---|---|
| copyright | four for business AG |
Specifies the year from which to retrieve the statistics
Specifies the amount of pages to display
\nonestatsOverviewYear($year) : \none
| author | Jan Lengowski <Jan.Lengowski@4fb.de> @modified Timo A. Hummel <Timo.Hummel@4fb.de> |
|---|---|
| copyright | four for business AG |
Specifies the year to retrieve the statistics for
\nonestrCopyCategory(int $idcat, int $destidcat, bool $remakeTree, bool $bUseCopyLabel) : void
intId of category to copy
intId of destination category
boolFlag to rebuild category tree
boolFlag to add copy label to the new categories
strCopyTree(int $idcat, int $destcat, bool $remakeTree, bool $bUseCopyLabel) : void
intId of category to copy
intId of destination category
boolFlag to rebuild category tree
boolFlag to add copy label to the new categories
strDeeperCategoriesArray(int $idcat_start) : Array
intthe start category
Arraycontains all childs of $idcat_start and $id_cat start itselfstrDeleteCategory(int $idcat) : void
Only categories having no child categories and having no articles will be deleted!
intId of category to delete
strHasArticles(int $tmp_idcat) : bool
intID of category
boolstrHasStartArticle(int $idcat, int $idlang) : bool
intId of category
intThe language id
boolstrMakePublic(int $idcat, int $lang, int $public) : void
intCategory id
intLanguage id
intPublic status
strMakeVisible(int $idcat, int $lang, int $visible) : void
intCategory id
intLanguage id
intVisible status
strMoveCatTargetallowed(int $idcat, int $source) : bool
intId of category to move
intId of source category
boolstrMoveDownCategory(int $idcat) : void
intId of category to move downwards
strMoveSubtree(int $idcat, int $parentid_new) : void
intId of category
intId of destination parent category
strMoveUpCategory(int $idcat) : void
intId of category to move upwards
strNewCategory(int $tmp_parentid, string $catname, bool $remakeTree, string $catalias, bool $bVisible, bool $bPublic, int $iIdtplcfg) : \(int | \void)
intId of parent category
stringThe category name
boolFlag to rebuild category tree structure
stringAlias of category
boolFlag about visible status
boolFlag about public status
intId of template configuration
\(int\void)Id of new generated category or nothing on failurestrNewTree(string $catname, string $catalias, bool $bVisible, bool $bPublic, int $iIdtplcfg) : \(int | \void)
stringThe category name
stringAlias of category
boolFlag about visible status
boolFlag about public status
intId of template configuration
\(int\void)Id of new generated category or nothing on failurestrNextBackwards($tmp_idcat)
strNextDeeper($tmp_idcat, $ignore_lang)
strNextDeeperAll($tmp_idcat, $ignore_lang)
strNextPost($tmp_idcat)
strOrderedPostTreeList($idcat, $poststring)
strRemakeTreeTable() : void
strRemakeTreeTableFindNext($tmp_idcat, $tmp_level)
@deprecated
strRenameCategory(int $idcat, int $lang, string $newcategoryname, string $newcategoryalias) : void
intCategory id
intLanguage id
stringNew category name
stringNew category alias
strShowTreeTable() : void
strSyncCategory(int $idcatParam, int $sourcelang, int $targetlang, bool $bMultiple) : void
intId of category to synchronize
intId of source language
intId of target language
boolFlag to synchronize child languages
str_ireplace($find, $replace, $string)
str_ireplace_once($find, $replace, $subject) : string
Caution: This function only takes strings as parameters, not arrays!
string String to find
string String to replace
string String to process
stringProcessed stringstr_ireplace_once_reverse($find, $replace, $subject) : string
Caution: This function only takes strings as parameters, not arrays!
string String to find
string String to replace
string String to process
stringProcessed stringstr_replace_recursive($array)
str_rpos($haystack, $needle, $start) : string
NOTE: The original strrpos-Function of PHP4 only finds a single character as needle.
string String to search in
string String to search for
integer Offset
stringProcessed stringstripCount($singlewordcounter, $maxKeywords)
stripos($haystack, $needle, $offset)
stripslashes_deep($value)
system_have_perm(integer $client) : boolean
check if the user has a right for a defined client
| author | Marco Jahn |
|---|
integerclient id
booleanwether user has access or nottplAutoFillModules($idtpl)
tplBrowseLayoutForContainers($idlay) : string
| author | Jan Lengowski <Jan.Lengowski@4fb.de> |
|---|---|
| copyright | four for business AG |
string&-seperated String of all containerstplDeleteTemplate(int $idtpl) : \$new_idtpl
| author | Olaf Niemann <Olaf.Niemann@4fb.de> |
|---|---|
| author | Jan Lengowski <Jan.Lengowski@4fb.de> |
| copyright | four for business AG |
intID of the template to duplicate
\$new_idtplID of the duplicated templatetplDuplicateTemplate(int $idtpl) : \$new_idtpl
| author | Jan Lengowski <Jan.Lengowski@4fb.de> |
|---|---|
| copyright | four for business AG |
intID of the template to duplicate
\$new_idtplID of the duplicated templatetplEditTemplate($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 |
tplGetContainerDefault($idlay, int $container) : array
intContainer number
arrayAllowed container typestplGetContainerMode($idlay, int $container) : string
intContainer number
stringContainer nametplGetContainerName($idlay, int $container) : string
intContainer number
stringContainer nametplGetContainerTypes($idlay, int $container) : array
intContainer number
arrayAllowed container typestplGetInUsedData(int $idtpl) : array
| author | Munkh-Ulzii Balidar |
|---|---|
| copyright | four for business AG |
intTemplate ID
array- category name, article nametplIsTemplateInUse(int $idtpl) : bool
| author | Jan Lengowski <Jan.Lengowski@4fb.de> |
|---|---|
| copyright | four for business AG |
intTemplate ID
boolis template in usetplPreparseLayout($idlay) : \none
\nonetplcfgDuplicate(int $idtplcfg) : int
intTemplate Configuration ID
intnew template configuration IDtrans($string) : string
gettext wrapper (for future extensions). Usage: trans("Your text which has to be translated");
string The string to translate
stringReturns the translationtrim_array(array $array) : array
arrayArray to trim
arrayTrimmed arrayupdateFileInformation(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 |
|---|
integerstringstringstringstringobjectstringuplCreateFriendlyName($filename)
uplDirectoryListRecursive($currentdir, $startdir, $files, $depth, $pathstring)
uplGetDirectoriesToExclude() : array
g. from directory listings.
arrayuplGetFileExtension($sFile)
uplGetFileIcon($file) : \Icon
Filename to retrieve the extension for
\Iconfor the file typeuplGetFileTypeDescription($extension) : \Text
Extension to use
\Textfor the file typeuplGetThumbnail($file, $maxsize)
uplHasFiles($dir)
uplHasSubdirs($dir)
uplRecursiveDBDirectoryList($directory, $rootitem, $level)
uplRecursiveDirectoryList($directory, $rootitem, $level, $sParent, $iRenameLevel)
uplRecursiveRmDirIfEmpty($dir)
uplRenameDirectory($oldpath, $newpath, $parent)
uplRender($path, $sortby, $sortmode, $startpage, $thumbnailmode)
uplRender($searchfor, $sortby, $sortmode, $startpage, $thumbnailmode)
uplSearch($searchfor)
uplSyncDirectory(string $sPath)
stringSpecifies the path to scan
uplSyncDirectoryDBFS(string $path)
stringSpecifies the path to scan
upldelete($path, $files)
uplmkdir($path, $name)
url_is_image($sUrl)
url_is_uri($sUrl)
workflowInherit($idcat)
workflowSelect($listid, $default, $idcat)
writeSystemValuesOutput($usage) : string
parse system and Contenido output into a string
| author | Marco Jahn |
|---|
stringreturns a string containing several server and Contenido settingsxmldoc($str)
xmldocfile($filename)
xpath_eval($xpath_context, $eval_str, $contextnode)
xpath_new_context($dom_document)
xpath_register_ns($xpath_context, $prefix, $namespaceURI)
Static CEC Hook class, provides some public methods to process registered chains at CEC (Contenido Extension Chainer).
« More »This abstract class implements interface iConUser and should be user as base class for backend user classes.
« More »Base class for Contenido_Category, Contenido_Categories, Contenido_Category_Language.
« More »Base class for Contenido_Category, Contenido_Categories, Contenido_Category_Language.
« More »Implementation of a Contenido Category for a given Contenido Language.
« More »SMTP is rfc 821 compliant and implements all the rfc 821 SMTP commands except TURN which will always return a not implemented error.
« More »Class WorkflowArtAllocation Class for a single workflow allocation item
« More »Class WorkflowArtAllocations Class for workflow art allocation management
« More »Class WorkflowUserSequences Class for workflow user sequence management
« More »Class ItemCollection Class for database based item collections
« More »Class ItemCollection Class for database based item collections
« More »Class ItemCollection Class for database based item collections
« More »class cApiClickableAction cApiClickableAction is a subclass of cApiAction.
« More »class cApiClickableAction cApiClickableAction is a subclass of cApiAction.
« More »Class ItemCollection Class for database based item collections
« More »Class ItemCollection Class for database based item collections
« More »Class ItemCollection Class for database based item collections
« More »Class ItemCollection Class for database based item collections
« More »class cDataCheckboxWidget cDataCheckboxWidget generates a checkbox for use with the dataobjects
« More »class cDataCodeTextareaWidget cDataCodeTextareaWidget generates a textarea widget for use with the data objects.
« More »class cDataDropdownWidget cDataDropdownWidget generates a dropdown widget for use with the data objects.
« More »class cDataForeignTableDropdownWidget cDataForeignTableDropdownWidget generates a dropdown widget out of a foreign table.
« More »class cDataMultiTextboxWidget cDataMultiTextboxWidget generates a multi-line textbox widget
« More »class cDataTextWidget cDataTextWidget generates a textbox widget for use with the data objects.
« More »class cDataTextareaWidget cDataTextareaWidget generates a textarea widget for use with the data objects.
« More »class cWidgetTreeView cWidgetTreeView is a visual representation of a cTree.
« More »FrontendLogic: This is the base class for all frontend related logic.
« More »Class to create a PHP file which contains a assoziative PHP array.
« More »Todo addslashes to all string db inserts check if default language exists if new entry is added (otherwise)
« More »Todo addslashes to all string db inserts check if default language exists if new entry is added (otherwise)
« More »Todo addslashes to all string db inserts check if default language exists if new entry is added (otherwise)
« More »Todo addslashes to all string db inserts check if default language exists if new entry is added (otherwise)
« More »$constant
CMETAOBJECT_BASE
CMETAOBJECT_PLUGIN
CONTENIDO_STRIPSLASHES
CON_CHECK_HASH32
CON_CHECK_INTEGER
CON_CHECK_PRIMITIVESTRING
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_PHP54
DIRECTORY_SEPARATOR
DOMXML_LOAD_DONT_KEEP_BLANKS
DOMXML_LOAD_PARSING
DOMXML_LOAD_RECOVERING
DOMXML_LOAD_SUBSTITUTE_ENTITIES
DOMXML_LOAD_VALIDATING
NODE_TYPE_COMMENT
NODE_TYPE_DONE
NODE_TYPE_ELEMENT
NODE_TYPE_ENDELEMENT
NODE_TYPE_START
NODE_TYPE_TEXT
PATH_SEPARATOR
PC_CMD
PC_CRONLINE
PC_DOM
PC_DOW
PC_HOUR
PC_MINUTE
PC_MONTH
PHP_EOL
PHP_EOL
QUESTIONACTION_PROMPT
QUESTIONACTION_YESNO
TREEVIEW_BACKGROUND_NONE
TREEVIEW_BACKGROUND_SHADED
TREEVIEW_GRIDLINE_DASHED
TREEVIEW_GRIDLINE_DOTTED
TREEVIEW_GRIDLINE_NONE
TREEVIEW_GRIDLINE_SOLID
TREEVIEW_MOUSEOVER_MARK
TREEVIEW_MOUSEOVER_NONE
XPATH_NODESET
XPATH_UNDEFINED
cDatatypeCurrency_Left
cDatatypeCurrency_Right
cDateTime_Custom
cDateTime_Friday
cDateTime_ISO
cDateTime_Locale
cDateTime_Locale_DateOnly
cDateTime_Locale_TimeOnly
cDateTime_Monday
cDateTime_MySQL
cDateTime_Saturday
cDateTime_Sunday
cDateTime_Thursday
cDateTime_Tuesday
cDateTime_UNIX
cDateTime_Wednesday