Class cContentTypeDate
Content type CMS_DATE which allows the editor to select a date from a calendar and a date format. The selected date is then shown in the selected format.
- cContentTypeAbstract
- cContentTypeDate
Package: Core\ContentType
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Bilal Arslan, Timo Trautmann, Simon Sprankel
Located at classes/content_types/class.content.type.date.php
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Bilal Arslan, Timo Trautmann, Simon Sprankel
Located at classes/content_types/class.content.type.date.php
public
|
#
__construct( string $rawSettings, integer $id, array $contentTypes )
Initialises class attributes and handles store events. |
private
string
|
#
_formatDate( string $format, integer $timestamp = null )
Formats the given timestamp according to the given format. Localises the output. |
public
string
|
#
generateViewCode( )
Generates the code which should be shown if this content type is shown in the frontend. |
public
string
|
|
private
string
|
|
private
string
|
|
private
string
|
SETTINGS_TYPE_PLAINTEXT,
SETTINGS_TYPE_XML
|
private
array
|
$_dateFormatsPhp |
|
#
The possible PHP date formats in which the selected date can be displayed. |
$_cfg,
$_cfgClient,
$_client,
$_contentTypes,
$_formFields,
$_id,
$_idArt,
$_idArtLang,
$_idCat,
$_lang,
$_prefix,
$_rawSettings,
$_session,
$_settings,
$_settingsType,
$_type,
$_uploadPath,
$_useXHTML
|