src/Common/Service/DateTime.php
public function getAllDateFormatFlat()
    {
        $aOut     = [];
        $aFormats = $this->getAllDateFormat();

        foreach ($aFormats as $oFormat) {
            $aOut[$oFormat->slug] = $oFormat->example;
        }

        return $aOut;
    }
public function getAllDateFormatFlat()
    {
        $aOut     = [];
        $aFormats = $this->getAllDateFormat();

        foreach ($aFormats as $oFormat) {
            $aOut[$oFormat->slug] = $oFormat->example;
        }

        return $aOut;
    }
public function getAllDateFormatFlat ( ) { $ aOut = [ ] ; $ aFormats = $ this -> getAllDateFormat ( ) ; foreach ( $ aFormats as $ oFormat ) { $ aOut [ $ oFormat -> slug ] = $ oFormat -> example ; } return $ aOut ; }
Returns all the date format objects as a flat array

@return array
Returns all the date format objects as a flat array