public function getDateTimeFormatString()
    {
        $format = $this->getDateTimeType() . 'Format';
        $page   = $this->getObjPage();
        if ($page && $page->$format) {
            return $page->$format;
        }

        return Config::get($format);
    }
public function getDateTimeFormatString()
    {
        $format = $this->getDateTimeType() . 'Format';
        $page   = $this->getObjPage();
        if ($page && $page->$format) {
            return $page->$format;
        }

        return Config::get($format);
    }
public function getDateTimeFormatString ( ) { $ format = $ this -> getDateTimeType ( ) . 'Format' ; $ page = $ this -> getObjPage ( ) ; if ( $ page && $ page -> $ format ) { return $ page -> $ format ; } return Config :: get ( $ format ) ; }
Retrieve the selected type or fallback to 'date' if none selected.

@return string
Retrieve the selected type or fallback to date if none selected .