Database column interface

This defines the public methods for formatting a Db Column as a string

category Database
package Formaid
author Dieter Adriaenssens
copyright 2006-2013 Dieter Adriaenssens
license GPL
link http://formaid.sourceforge.net/

 Methods

Get formatted Database column list

getDisplayString(bool $withValue, bool $discardEmptyValue) : string

Parameters

$withValue

bool

append value to column (optional, default : true)

$discardEmptyValue

bool

discard columns with empty values (optional, default : false)

Returns

string

Set display mode

setDisplayMode(string $mode, string $separator) : void

Parameters

$mode

string

display mode : list, (binary )logic

$separator

string

string separating columns