# Aw::Format

Method | Arguments | Return | Throws Exception
--- | --- | --- | ---
new | ( [event], [format_string] ) | Aw::Format | YES
DESTROY | ( ) | void | NO
assemble | ( [ event ] ) | String | YES
format | ( [ event ] ) ( [ format_string ] ) | String | NO
formatBindVariable | ( index, place_holder_name ) | String | NO
free | ( ) | void | NO
getTokenCount | ( ) | Number | NO
preparse | ( [ format_string ] ) | String | NO
setFormatMode | ( format_option, mode ) | Boolean | NO
Inherited Methods
err | ( ) | Boolean | YES
errmsg | ( ) | String | YES
error | ( ) | Aw::Error | NO
hello | ( ) Returns the string "hello". Useful for debugging. | String | NO
getWarn | ( ) Returns current warn `level`. | Number | NO
setWarn | ( level ) Sets new warn `level`. 0 : No warnings (quiet mode) 1 : Terse (uses awErrorToString) 2 : Verbose (uses awErrorToCompleteString) The Aw extensions must be compiled with AWXS_WARNS defined. | void | NO
warn | ( [string] ) Warn message is `string` if passed, otherwise current err is converted to string. | void | YES