- renamed all settings with dot syntax - refactored Menu->settings() - changed schema of settings table to allow longer setting name and value - added getAll() static method on Setting Model to fetch all settings (with proper unserialize of value)
15 lines
402 B
PHP
15 lines
402 B
PHP
<?php
|
|
namespace MailPoet\Util;
|
|
|
|
class Charsets {
|
|
static function getAll() {
|
|
return array(
|
|
'UTF-8', 'UTF-7', 'BIG5', 'ISO-2022-JP',
|
|
'ISO-8859-1', 'ISO-8859-2', 'ISO-8859-3',
|
|
'ISO-8859-4', 'ISO-8859-5', 'ISO-8859-6',
|
|
'ISO-8859-7', 'ISO-8859-8', 'ISO-8859-9',
|
|
'ISO-8859-10', 'ISO-8859-13', 'ISO-8859-14',
|
|
'ISO-8859-15', 'Windows-1251', 'Windows-1252'
|
|
);
|
|
}
|
|
} |