code/Core/Extensions/DBField.php
public function FormatOrNot($format = 'Nice') {
        return $this->owner->value && $this->owner->value != '0000-00-00 00:00:00' ? $this->owner->$format() : '<span class="ui-button-icon-primary ui-icon btn-icon-decline"></span>';
    }
public function FormatOrNot($format = 'Nice') {
        return $this->owner->value && $this->owner->value != '0000-00-00 00:00:00' ? $this->owner->$format() : '<span class="ui-button-icon-primary ui-icon btn-icon-decline"></span>';
    }
public function FormatOrNot ( $ format = 'Nice' ) { return $ this -> owner -> value && $ this -> owner -> value != '0000-00-00 00:00:00' ? $ this -> owner -> $ format ( ) : '<span class="ui-button-icon-primary ui-icon btn-icon-decline"></span>' ; }
Format a field or return as cms false

@param string $format
@return string
Format a field or return as cms false