Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
ShopCurrency
NiceOrEmpty
ShopCurrency::NiceOrEmpty PHP Method
ShopCurrency Class Documentation
Show file
Open project: burnbright/silverstripe-shop
NiceOrEmpty()
public
method
public
NiceOrEmpty
( )
public function NiceOrEmpty() { if ($this->value != 0) { return $this->Nice(); } return ""; }
ShopCurrency
Nice
NiceOrEmpty
TrimCents
forTemplate