Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

Public Member Functions | Public Attributes | List of all members
eZCurrency Class Reference

## Public Member Functions
| __construct ( $value=0)
| value ()
| setValue ( $value)
| isNegative ()

## Public Attributes
| $Value

## Detailed Description

! eZCommon The eCurrency class provides currency functions.

TODO Add support for locale

Add a function importString(); which returns true if the imported string is a local currency format.

Add a function for exporting a localalized currency format.

Definition at line 45 of file ezcurrency.php.

## Constructor & Destructor Documentation

## ◆ __construct()

eZCurrency::__construct | ( |  | $value = `0` | ) |

Constructs a new eZCurrency object.

Definition at line 50 of file ezcurrency.php.

## Member Function Documentation

## ◆ isNegative()

eZCurrency::isNegative | ( |  | ) |

Returns true if the currency is negative, false if not.

Definition at line 76 of file ezcurrency.php.

## ◆ setValue()

eZCurrency::setValue | ( |  | $value | ) |

Sets the currency value.

Definition at line 67 of file ezcurrency.php.

## ◆ value()

eZCurrency::value | ( |  | ) |

Returns the value for the currency.

Definition at line 59 of file ezcurrency.php.

References $Value.

## Member Data Documentation

## ◆ $Value

eZCurrency::$Value

Definition at line 88 of file ezcurrency.php.

Referenced by value().

The documentation for this class was generated from the following file:

- ezcurrency.php

Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.