Index

(misc)

o2format

string o2format(mix $value, string $model)

Returns passed value as a string formatted according with model.
Model must be defined for the application.


Parameters:
  1. $value
  2. Value to format
  3. $model
  4. Model name to format value with
Related functions:

o2val

o2pre

o2zero

o2par