Class:SmartestBoolean

From The Smartest Wiki
Jump to: navigation, search

SmartestBoolean is one of Smartest's Basic types. SmartestBoolean objects are wrappers for, as their name suggests, boolean or true/false values.

Offsets

  • value OR bool OR raw - the value as a raw PHP Boolean
  • stored_value OR string - returns 'TRUE' or 'FALSE'
  • english -
  • truefalse
  • int OR numeric
  • cssdisplayblock
  • cssdisplayinline
  • not OR invert

Methods

  • getValue()
  • setValue($value)
  • isPresent()
  • __toString()
  • getStorableFormat()
  • hydrateFromStorableFormat()
  • hydrateFromFormData()
  • getHtmlFormFormat()
  • stdObjectOrScalar()