Overview

Packages

  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Datatype
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob

Classes

  • cDatatype
  • cDatatypeCurrency
  • cDatatypeDateTime
  • cDatatypeNumber
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class cDatatypeCurrency

Currency datatype class.

cDatatype
Extended by cDatatypeNumber
Extended by cDatatypeCurrency
Package: Core\Datatype
Deprecated: 2013-11-17 This class is not longer supported.
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: unknown
Located at classes/datatypes/class.datatype.currency.php
Methods summary
public
# __construct( )

Create new instance.

Create new instance.

Overrides

cDatatypeNumber::__construct()
public string
# getCurrencySymbol( )

Return current currency symbol to display.

Return current currency symbol to display.

Returns

string
public
# setCurrencySymbol( string $sSymbol )

Sets current currency symbol to display.

Sets current currency symbol to display.

Parameters

$sSymbol
string
$sSymbol
public
# setCurrencySymbolLocation( integer $cCurrencyLocation )

Sets current currency symbol location. Can be either cDatatypeCurrency::LEFT or cDatatypeCurrency::RIGHT.

Sets current currency symbol location. Can be either cDatatypeCurrency::LEFT or cDatatypeCurrency::RIGHT.

Parameters

$cCurrencyLocation
integer
$cLocation

Throws

cInvalidArgumentException
if the given location is not one of the constants cDatatypeCurrency::LEFT and cDatatypeCurrency::RIGHT
public
# render( )

(non-PHPdoc)

(non-PHPdoc)

See

cDatatypeNumber::render()

Overrides

cDatatypeNumber::render()
Methods inherited from cDatatypeNumber
get(), getDecimalPointCharacter(), getThousandSeparatorCharacter(), parse(), set(), setDecimalPointCharacter(), setPrecision(), setThousandSeparatorCharacter()
Constants summary
integer LEFT 1
#

Currency symbol is displayed left of value.

Currency symbol is displayed left of value.

integer RIGHT 2
#

Currency symbol is displayed right of value.

Currency symbol is displayed right of value.

Properties summary
protected integer $_cCurrencyLocation
#

Position of currency symbol relative to its value. Can be either cDatatypeCurrency::LEFT or cDatatypeCurrency::RIGHT.

Position of currency symbol relative to its value. Can be either cDatatypeCurrency::LEFT or cDatatypeCurrency::RIGHT.

protected string $_sCurrencySymbol
#

Currency symbol to be displayed.

Currency symbol to be displayed.

Properties inherited from cDatatypeNumber
$_iPrecision, $_sDecimalPointCharacter, $_sThousandSeparatorCharacter
Properties inherited from cDatatype
$_mDisplayedValue, $_mValue
CMS CONTENIDO 4.9.3 API documentation generated by ApiGen 2.8.0