Methods
The Cms_Date object constructor, initializes class variables
__construct(\{string} $sContent, \{integer} $iNumberOfCms, \{integer} $iIdArtLang, \{string} $sEditLink, \{Object} $aCfg, \{Object} $aDB, $iTotalCount, $sContenidoLang)
Parameters
$sContent
\{string}
$iNumberOfCms
\{integer}
$iIdArtLang
\{integer}
$sEditLink
\{string}
$aCfg
\{Object}
$aDB
\{Object}
$iTotalCount
$sContenidoLang
This functions given all js-script, what we need for calendar.
getJsScript() : \(String)
Set all js-script here
Returns
\(String)
js-script
This function builds a Contenido CMS Widget.
getEditingField() : \(String)
A Editing Field or input field what we use for calendar.
Returns
\(String)
Editing Field widget
This function gives formatted current language shortcut
getLanguageContenido() : \(String)Current
Returns
\(String)Current
Language of Contenidos
This function builds a Contenido CMS Widget.
getSelectBox() : \(String)Select-Box
A Select-Box what is given date formats.
In auoFill we use the function getDateFormats:
For edit or add formats modified this function.
Returns
\(String)Select-Box
widget
Properties
The contenido global
$aCfg
The contenido global
$iIdArtLang
The the static variable, controlls howmuch object exists
$iNumOutput
The number of cms_date[?] parameter
$iNumberOfCms
Total count of cms_date
$iTotalCount
The contenido database object
$oDB
The CmsDate object for call cmsDate functions
$sCalName
Language of contenido
$sContenidoLang
Contains user input of cms_type
$sContent
the id of Div Element select box
$sDivSelectId
Input Field Id
$sEditAreaId
The contenido Edit link
$sEditLink
The output javascript
$sJS
The id of select box
$sSelectId