Milkyway\SS\Core\Extensions\DBField
Synopsis
class DBField
extends Extension
{
- // methods
- public mixed Nice()
- public mixed Parse()
- public false|string FullCountry()
- public string HTMLID()
- public string CLASSNAME()
- public string nl2br()
- public string nl2list()
- public mixed nl2numbered()
- public string CMSBoolean()
- public string debugView()
- public string FormatOrUnknown()
- public string FormatOrNot()
- public string CleanDecimal()
- public void Trim()
- public void Contains()
- public void Replace()
- public void In()
Hierarchy
Extends
- Extension
Methods
public
- CLASSNAME() — Convert value to an appropriate class name
- CMSBoolean() — Convert value to a boolean suitable within the CMS
- CleanDecimal() — Format a clean decimal (no additional zeros)
- Contains()
- FormatOrNot() — Format a field or return as cms false
- FormatOrUnknown() — Format a field or return as unknown
- FullCountry() — Convert value to a full country name if found
- HTMLID() — Convert value to an appropriate HTML ID
- In()
- Nice() — Add a default Nice method
- Parse() — Allow any db field to be parsed (specifically for templates)
- Replace()
- Trim()
- debugView() — A simple debug view for the value of this field
- nl2br() — Convert new lines to brs on output
- nl2list() — Convert new lines to a list
- nl2numbered() — Convert new lines to an ordered list