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

Edit and View all Widgets. This function is calling in edit mode

getAllWidgetEdit() : \the

Returns

\theall widgets

This function modified cms_content before it is displayed in frontend.

getAllWidgetView() : \Returns

In this case this function is a dummy.

Returns

\Returnsuser input of cms_type

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.

getCalendarButton() : \(String)calendar

A Button for Calendar.

Returns

\(String)calendarButton widget

This function set the date format for select-box.

getDateFormats() : \the

Function displays current day format. For edit or add formats modified this function.

Returns

\theformat as an array

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)CurrentLanguage of Contenidos

This function builds a Contenido CMS Widget.

getOkButton() : \(String)Ok

A Button for Submit (OK-Button).

Returns

\(String)OkButton widget

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

 Properties

 

The contenido global

$aCfg 

access private
 

The format value for the calendar

$aFormat 

access private
 

The contenido global

$iIdArtLang 

access private
 

The the static variable, controlls howmuch object exists

$iNumOutput 

access private
 

The number of cms_date[?] parameter

$iNumberOfCms 

access private
 

Total count of cms_date

$iTotalCount 

access private
 

The contenido database object

$oDB 

access private
 

The CmsDate object for call cmsDate functions

$sCalName 

access private
 

Language of contenido

$sContenidoLang 

access private
 

Contains user input of cms_type

$sContent 

access private
 

the id of Div Element select box

$sDivSelectId 

access private
 

Input Field Id

$sEditAreaId 

access private
   

The output javascript

$sJS 

access private
 

The id of select box

$sSelectId 

access private