CheckIfMetaTagExists(array | mixed $arrMetatags, string $sCheckForMetaTag) : int
array
mixed
List of metatags or not a list
string
The metatag to check
int
Position 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
string
article 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 |
bool
Redirect Yes/No
buildArticleSelect(String $sName, String $iIdCat, $sValue) : String
String
Name of the SelectBox
String
Value of the SelectBox
String
HTMLbuildCategorySelect(String $sName, String $sValue, Integer $sLevel, String $sStyle) : String
String
Name of the SelectBox
String
Value of the SelectBox
Integer
Value of highest level that should be shown
String
Optional style informations for select
String
HTMLbuildCategorySelectRights() : String
String
HTMLbuildHeapTable(string $sHeapTable, \DB_Contenido $db) : void
string
Table name
\DB_Contenido
Database 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
\none
cInitializeArrayKey($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.
string
The path to the image (relative to the frontend)
int
The maximum size in x-direction
int
The maximum size in y-direction
boolean
If true, the image is cropped and not scaled.
boolean
If true, the image is expanded (e.g. really scaled). If false, the image will only be made smaller.
int
The number of minutes to cache the image, use 0 for unlimited
boolean
If true, try to force high quality mode
int
The quality of the output file
boolean
If true and a png file is source, output file is also png
string
!!!URL!!! to the resulting image (http://...)string
Path to the resulting imagecapiImgScaleGetMD5CacheFile($sImg, $iMaxX, $iMaxY, $bCrop, $bExpand) : string
string
Path 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.
string
The path to the image (relative to the frontend)
int
The maximum size in x-direction
int
The maximum size in y-direction
boolean
If true, the image is cropped and not scaled.
boolean
If true, the image is expanded (e.g. really scaled). If false, the image will only be made smaller.
int
The number of minutes to cache the image, use 0 for unlimited
int
The quality of the output file
boolean
If 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.
string
The path to the image (relative to the frontend)
int
The maximum size in x-direction
int
The maximum size in y-direction
boolean
If true, the image is cropped and not scaled.
boolean
If true, the image is expanded (e.g. really scaled). If false, the image will only be made smaller.
int
The number of minutes to cache the image, use 0 for unlimited
int
The quality of the output file
boolean
If 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.
string
The path to the image (relative to the frontend)
int
The maximum size in x-direction
int
The maximum size in y-direction
boolean
If true, the image is cropped and not scaled.
boolean
If true, the image is expanded (e.g. really scaled). If false, the image will only be made smaller.
int
The number of minutes to cache the image, use 0 for unlimited
int
The quality of the output file
boolean
If 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
string
The 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)
string
The 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
string
The 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
string
The 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)
string
The 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
int
The 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
array
integer
array
object
boolean
- status (if language id corresponds to list of clients true otherwise false)checkLinks()
checkMySQLConnectivity()
checkPathInformation(string $strConUrl, string $strBrowserUrl) : string
must be done
string
contenido fullhtmlPath
string
current browser string
string
status 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 |
int
Category Id
int
Template 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 |
int
ID of the starting category
string
Seperation string
string
Category location string (by reference)
boolean
create location string with links
string
stylesheet class for the links
integer
first navigation level location string should be printed out (first level = 0!!)
string
location stringconDeeperCategoriesArray($idcat_start) : array
author | Olaf Niemann <olaf.niemann@4fb-de> Jan Lengowski <jan.lengowski@4fb.de> |
---|---|
copyright | four for business AG |
array
Array with all deeper categoriesconDeleteart(int $idart)
author | Olaf Niemann <olaf.niemann@4fb-de> Jan Lengowski <jan.lengowski@4fb.de> |
---|---|
copyright | four for business AG |
int
Article 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 |
mixed
many
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 |
mixed
many
int
Id 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 |
int
Id of category
int
Id of article
int
Id of language
int
Id of client
int
Layout-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 |
int
Category ID
conGenerateCodeForAllArtsUsingTemplate(int $idtpl)
author | Jan Lengowski <Jan.Lengowski@4fb.de> |
---|---|
copyright | four for business AG 2003 |
int
Template-Id
conGenerateCodeForAllartsUsingLayout(int $idlay)
author | Jan Lengowski <Jan.Lengowski@4fb.de> |
---|---|
copyright | four for business AG 2003 |
int
Layout-ID
conGenerateCodeForAllartsUsingMod(int $idmod)
author | Jan Lengowski <Jan.Lengowski@4fb.de> |
---|---|
copyright | four for business AG 2003 |
int
Module id
conGenerateCodeForArtInAllCategories(int $idart)
author | Jan Lengowski <Jan.Lengowski@4fb.de> |
---|---|
copyright | four for business AG 2003 |
int
Article 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
\idart
int Article ID
\db
object Optional; if specified, uses the given db object
array
Flat 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)
array
Array 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
string
conLock(int $idart, \ing $lang)
int
Article Id
\ing
Language 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 |
int
id of the category
int
id of the language
int
status 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 |
int
Article Id
\ing
Language 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 |
int
int
Article 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 |
int
Idcatart 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 |
integer
idartlang of the article
string
Type of content element
integer
Serial number of the content element
string
Content
conSetCodeFlag(int $idcatart)
author | Jan Lengowski <Jan.Lengowski@4fb.de> |
---|---|
copyright | four for business AG 2003 |
int
Contenido 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
\none
copyRightsForElement(string $area, int $iditem, int $newiditem, int $idlang)
author | Martin Horwath |
---|---|
copyright | dayside.net |
string
main area name
int
ID of element to copy
int
ID of the new element
int
ID of lang parameter
createFile(string $filename, string $path) : \(void | \bool)
Exits the script, if filename is not valid or creation (touch or chmod) fails!
string
The file to create
string
Path to the file
\(void
\bool)
Either true on success or nothingcreateNewWorkflow()
createRandomName($nameLength) : string
Example: echo createRandomName(8);
Length of the generated string
string
random namecreateRightsForElement(string $area, int $iditem, int $idlang)
author | Martin Horwath |
---|---|
copyright | dayside.net |
string
main area name
int
ID of new element
int
ID 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
integer
article specification id
deleteRightsForElement(string $area, int $iditem, int $idlang)
author | Martin Horwath |
---|---|
copyright | dayside.net |
string
main area name
int
ID of new element
int
ID of lang parameter
deleteSystemProperty(string $type, string $name)
string
The type of the item
string
The 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 |
---|
string
returns message if clearing was successfull or notendAndLogTiming(\uuid $uuid)
\uuid
int 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 |
string
String var by reference
fakeheader($time)
fileEdit(string $filename, string $sCode, string $path) : \(string | \void)
Exits the script, if file could not opened!
string
The file to write the content
string
File content to write
string
Path 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!
string
The filename to validate
bool
Flag 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?
\Generated
field 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
\Generated
field 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) |
---|
string
int
string
- 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
mixed
idartlang of the article or false if nothing was foundgetArtspec() : array
array
list 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 |
int
Language specific ID of the arcticle
getCanonicalDay(integer $iDay) : string
integer
the day number of date(w)
string
Dayname of current languagegetCanonicalMonth($month)
getCatLang($idcat, $idlang)
getCategoryName($cat_id, $db)
getCategoryPath($cat_id, $level, $reverse, $db)
getClientName($idclient) : string
string
client 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.
string
The type of the item
string
The name of the item
string
Optional default value
mixed
boolean 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.
array
ValuegetEncodingByLanguage(\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
string
getExpandCollapseButton($item, $catName)
getExpandCollapseButton($item)
getFileContent(string $filename, string $path) : \(string | \void)
Exits the script, if file could not opened!
string
The file to get the content
string
Path to the file
\(string
\void)
Either content of file o nothinggetFileExtension(string $filename) : \extension
string
Name of the file
\extension
on success, false if no extension could be extracted.getFileInformation(integer $iIdClient, string $sFilename, string $sType, object $oDb) : array
author | Timo Trautmann |
---|
integer
string
string
object
array
Indexes:
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
string
The file to get the type
string
FiletypegetFiles($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
string
Canonical 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 |
---|
array
see above for examplegetPostValue($aProperty)
getProtectedSubCategories($parent_id, $db)
getProtectedSubTree($idcat_start, $db) : array
copyright | four for business AG |
---|
array
Array with all deeper categoriesgetSubCategories($parent_id, $db)
getSubTree($idcat_start, $db) : array
copyright | four for business AG |
---|
array
Array 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; |
---|
boolean
bGetPropId - if true special mode is activated which generates for each property a third array, which also contains idsystemprop value
array
getSystemPropertiesByType($sType) : array
array
ValuegetSystemProperty(string $type, string $name) : mixed
string
The type of the item
string
The name of the item
mixed
boolean 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
string
Returns the translationi18nEmulateGettext($string, $domain) : string
Emulates GNU gettext
string The string to translate
string The domain to look up
string
Returns the translationi18nGetAvailableLanguages() : array
Returns the available_languages array to prevent globals.
array
All available languagesi18nInit($localePath, $langCode) : string
Initializes the i18n stuff.
string Path to the locales
string Language code to set
string
Returns the translationi18nMatchBrowserAccept($accept) : string
Tries to match the language given by $accept to one of the languages in the system.
string
The 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
string
Returns 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
array
Array with the short form of the accept languagesincludePlugins($entity)
Example: includePlugins("frontendusers");
Name of the directory to scan
isAnimGif(string $sFile) : boolean
string
file path
boolean
true (gif is animated)/ false (single frame gif)isCurrentEditor($uid)
isGroup($uid)
isIPv4(string $strHostAdress) : boolean
string
ip adress
boolean
if string is a valid ip or notisImageMagickAvailable() : boolean
boolean
true if ImageMagick is availableisParent($parentid, $catid, $db)
isRunningFromWeb() : boolean
boolean
true 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
Mixed
Value to test
Bool
[Use german Umlaute] Optional
Bool
Value 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 |
string
Name 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 |
int
Id of the Layout
string
Name of the Layout
string
Description of the Layout
string
Layout 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 |
int
Which menuitem to mark
bool
Return 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
\none
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 |
int
ID of the starting category
string
Seperation string
string
Category location string (by reference)
boolean
create location string with links
string
stylesheet class for the links
integer
first navigation level location string should be printed out (first level = 0!!)
string
location 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
integer
Closest 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
integer
Closest 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 |
---|
integer
string
string
object
renameFile(string $sOldFile, string $sNewFile, string $path) : \(void | \string)
Exits the script, if new filename is not valid or renaming fails!
string
Old filename
string
New filename
string
Path 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
string
client 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 |
---|
string
returns 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
array
global cfg-array
int
global 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
integer
article specification id
setArtspecOnline(integer $idartspec, integer $online) : void
flag to switch if an article specification should be shown the frontend or not
integer
article specification id
integer
0/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 |
---|
string
The type of the item
string
The name of the item
string
The value of the item
int
The 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
\function
string Name of the function
\parameters
array All parameters for the function to measure
int
uuid for this measure processstatCreateLocationString(int $idcat, string $seperator, string $cat_str) : void
Performs a recursive call, if parent category doesn't matches to 0
int
The category id
string
Separator for location string
string
The location string variable (reference)
statDisplayTopChooser(\none $default) : string
author | Timo A. Hummel <Timo.Hummel@4fb.de> |
---|---|
copyright | four for business AG |
\none
string
Returns a drop down stringstatDisplayYearlyTopChooser(\none $default) : string
author | Timo A. Hummel <Timo.Hummel@4fb.de> |
---|---|
copyright | four for business AG |
\none
string
Returns a drop down stringstatGetAvailableMonths(mixed $year, $client, $lang) : array
author | Timo A. Hummel <Timo.Hummel@4fb.de> |
---|---|
copyright | four for business AG |
mixed
many
array
Array of strings with months.statGetAvailableYears(mixed $client, $lang) : array
author | Timo A. Hummel <Timo.Hummel@4fb.de> |
---|---|
copyright | four for business AG |
mixed
many
array
Array of strings with years.statResetStatistic(int $client) : void
int
Id of client
statReturnCanonicalMonth(int $month) : string
Wrapper for function getCanonicalMonth()
int
The digit representation of a month
string
Textual representation of a monthstatsArchive($yearmonth) : \none
String with the desired archive date (YYYYMM)
\none
statsDisplayInfo(int $id, string $type, int $x, int $y, int $w, int $h) : string
int
Either article or directory id
string
The type
int
Style top position
int
Style left position
int
Style width
int
Style height
string
Composed 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
\none
statsOverviewTop($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
\none
statsOverviewTopYear($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
\none
statsOverviewYear($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
\none
strCopyCategory(int $idcat, int $destidcat, bool $remakeTree, bool $bUseCopyLabel) : void
int
Id of category to copy
int
Id of destination category
bool
Flag to rebuild category tree
bool
Flag to add copy label to the new categories
strCopyTree(int $idcat, int $destcat, bool $remakeTree, bool $bUseCopyLabel) : void
int
Id of category to copy
int
Id of destination category
bool
Flag to rebuild category tree
bool
Flag to add copy label to the new categories
strDeeperCategoriesArray(int $idcat_start) : Array
int
the start category
Array
contains 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!
int
Id of category to delete
strHasArticles(int $tmp_idcat) : bool
int
ID of category
bool
strHasStartArticle(int $idcat, int $idlang) : bool
int
Id of category
int
The language id
bool
strMakePublic(int $idcat, int $lang, int $public) : void
int
Category id
int
Language id
int
Public status
strMakeVisible(int $idcat, int $lang, int $visible) : void
int
Category id
int
Language id
int
Visible status
strMoveCatTargetallowed(int $idcat, int $source) : bool
int
Id of category to move
int
Id of source category
bool
strMoveDownCategory(int $idcat) : void
int
Id of category to move downwards
strMoveSubtree(int $idcat, int $parentid_new) : void
int
Id of category
int
Id of destination parent category
strMoveUpCategory(int $idcat) : void
int
Id of category to move upwards
strNewCategory(int $tmp_parentid, string $catname, bool $remakeTree, string $catalias, bool $bVisible, bool $bPublic, int $iIdtplcfg) : \(int | \void)
int
Id of parent category
string
The category name
bool
Flag to rebuild category tree structure
string
Alias of category
bool
Flag about visible status
bool
Flag about public status
int
Id 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)
string
The category name
string
Alias of category
bool
Flag about visible status
bool
Flag about public status
int
Id 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
int
Category id
int
Language id
string
New category name
string
New category alias
strShowTreeTable() : void
strSyncCategory(int $idcatParam, int $sourcelang, int $targetlang, bool $bMultiple) : void
int
Id of category to synchronize
int
Id of source language
int
Id of target language
bool
Flag 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
string
Processed 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
string
Processed 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
string
Processed 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 |
---|
integer
client id
boolean
wether 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 |
int
ID of the template to duplicate
\$new_idtpl
ID of the duplicated templatetplDuplicateTemplate(int $idtpl) : \$new_idtpl
author | Jan Lengowski <Jan.Lengowski@4fb.de> |
---|---|
copyright | four for business AG |
int
ID of the template to duplicate
\$new_idtpl
ID 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
int
Container number
array
Allowed container typestplGetContainerMode($idlay, int $container) : string
int
Container number
string
Container nametplGetContainerName($idlay, int $container) : string
int
Container number
string
Container nametplGetContainerTypes($idlay, int $container) : array
int
Container number
array
Allowed container typestplGetInUsedData(int $idtpl) : array
author | Munkh-Ulzii Balidar |
---|---|
copyright | four for business AG |
int
Template ID
array
- category name, article nametplIsTemplateInUse(int $idtpl) : bool
author | Jan Lengowski <Jan.Lengowski@4fb.de> |
---|---|
copyright | four for business AG |
int
Template ID
bool
is template in usetplPreparseLayout($idlay) : \none
\none
tplcfgDuplicate(int $idtplcfg) : int
int
Template Configuration ID
int
new template configuration IDtrans($string) : string
gettext wrapper (for future extensions). Usage: trans("Your text which has to be translated");
string The string to translate
string
Returns the translationtrim_array(array $array) : array
array
Array to trim
array
Trimmed 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 |
---|
integer
string
string
string
string
object
string
uplCreateFriendlyName($filename)
uplDirectoryListRecursive($currentdir, $startdir, $files, $depth, $pathstring)
uplGetDirectoriesToExclude() : array
g. from directory listings.
array
uplGetFileExtension($sFile)
uplGetFileIcon($file) : \Icon
Filename to retrieve the extension for
\Icon
for the file typeuplGetFileTypeDescription($extension) : \Text
Extension to use
\Text
for 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)
string
Specifies the path to scan
uplSyncDirectoryDBFS(string $path)
string
Specifies 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 |
---|
string
returns 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