Overview

Classes

  • MvcCore\Application
  • MvcCore\Config
  • MvcCore\Controller
  • MvcCore\Controller\AutoInit
  • MvcCore\Debug
  • MvcCore\Environment
  • MvcCore\Ext\Auth
  • MvcCore\Ext\Auths\Basic
  • MvcCore\Ext\Auths\Basics\Controller
  • MvcCore\Ext\Auths\Basics\Role
  • MvcCore\Ext\Auths\Basics\SignInForm
  • MvcCore\Ext\Auths\Basics\SignOutForm
  • MvcCore\Ext\Auths\Basics\User
  • MvcCore\Ext\Auths\Basics\Users\Database
  • MvcCore\Ext\Auths\Basics\Users\SystemConfig
  • MvcCore\Ext\Auths\User
  • MvcCore\Ext\Auths\Users\Database
  • MvcCore\Ext\Auths\Users\SystemConfig
  • MvcCore\Ext\Cache
  • MvcCore\Ext\Caches\Redis
  • MvcCore\Ext\Configs\Cached
  • MvcCore\Ext\Configs\Yaml
  • MvcCore\Ext\Debugs\Tracy
  • MvcCore\Ext\Debugs\Tracys\AuthPanel
  • MvcCore\Ext\Debugs\Tracys\IncludePanel
  • MvcCore\Ext\Debugs\Tracys\MvcCorePanel
  • MvcCore\Ext\Debugs\Tracys\RoutingPanel
  • MvcCore\Ext\Debugs\Tracys\SessionPanel
  • MvcCore\Ext\Form
  • MvcCore\Ext\Forms\Field
  • MvcCore\Ext\Forms\Fields\Button
  • MvcCore\Ext\Forms\Fields\ButtonInput
  • MvcCore\Ext\Forms\Fields\Checkbox
  • MvcCore\Ext\Forms\Fields\CheckboxGroup
  • MvcCore\Ext\Forms\Fields\Color
  • MvcCore\Ext\Forms\Fields\CountrySelect
  • MvcCore\Ext\Forms\Fields\DataList
  • MvcCore\Ext\Forms\Fields\Date
  • MvcCore\Ext\Forms\Fields\DateTime
  • MvcCore\Ext\Forms\Fields\Email
  • MvcCore\Ext\Forms\Fields\File
  • MvcCore\Ext\Forms\Fields\Hidden
  • MvcCore\Ext\Forms\Fields\Image
  • MvcCore\Ext\Forms\Fields\LocalizationSelect
  • MvcCore\Ext\Forms\Fields\Month
  • MvcCore\Ext\Forms\Fields\Number
  • MvcCore\Ext\Forms\Fields\Password
  • MvcCore\Ext\Forms\Fields\RadioGroup
  • MvcCore\Ext\Forms\Fields\Range
  • MvcCore\Ext\Forms\Fields\ResetButton
  • MvcCore\Ext\Forms\Fields\ResetInput
  • MvcCore\Ext\Forms\Fields\Search
  • MvcCore\Ext\Forms\Fields\Select
  • MvcCore\Ext\Forms\Fields\SubmitButton
  • MvcCore\Ext\Forms\Fields\SubmitInput
  • MvcCore\Ext\Forms\Fields\Tel
  • MvcCore\Ext\Forms\Fields\Text
  • MvcCore\Ext\Forms\Fields\Textarea
  • MvcCore\Ext\Forms\Fields\Time
  • MvcCore\Ext\Forms\Fields\Url
  • MvcCore\Ext\Forms\Fields\Week
  • MvcCore\Ext\Forms\FieldsGroup
  • MvcCore\Ext\Forms\Validator
  • MvcCore\Ext\Forms\Validators\Color
  • MvcCore\Ext\Forms\Validators\CompanyIdEu
  • MvcCore\Ext\Forms\Validators\CompanyVatIdEu
  • MvcCore\Ext\Forms\Validators\CreditCard
  • MvcCore\Ext\Forms\Validators\Date
  • MvcCore\Ext\Forms\Validators\DateTime
  • MvcCore\Ext\Forms\Validators\Email
  • MvcCore\Ext\Forms\Validators\Files
  • MvcCore\Ext\Forms\Validators\Files\Validations\BombScanners\GzArchive
  • MvcCore\Ext\Forms\Validators\Files\Validations\BombScanners\PngImage
  • MvcCore\Ext\Forms\Validators\Files\Validations\BombScanners\RarArchive
  • MvcCore\Ext\Forms\Validators\Files\Validations\BombScanners\ZipArchive
  • MvcCore\Ext\Forms\Validators\FloatNumber
  • MvcCore\Ext\Forms\Validators\Hex
  • MvcCore\Ext\Forms\Validators\Iban
  • MvcCore\Ext\Forms\Validators\IntNumber
  • MvcCore\Ext\Forms\Validators\Ip
  • MvcCore\Ext\Forms\Validators\MinMaxLength
  • MvcCore\Ext\Forms\Validators\MinMaxOptions
  • MvcCore\Ext\Forms\Validators\Month
  • MvcCore\Ext\Forms\Validators\Number
  • MvcCore\Ext\Forms\Validators\Password
  • MvcCore\Ext\Forms\Validators\Pattern
  • MvcCore\Ext\Forms\Validators\Range
  • MvcCore\Ext\Forms\Validators\SafeString
  • MvcCore\Ext\Forms\Validators\Tel
  • MvcCore\Ext\Forms\Validators\Time
  • MvcCore\Ext\Forms\Validators\Url
  • MvcCore\Ext\Forms\Validators\ValueInOptions
  • MvcCore\Ext\Forms\Validators\Week
  • MvcCore\Ext\Forms\Validators\ZipCode
  • MvcCore\Ext\Forms\View
  • MvcCore\Ext\Models\Db\Attrs\Column
  • MvcCore\Ext\Models\Db\Attrs\Connection
  • MvcCore\Ext\Models\Db\Attrs\Format
  • MvcCore\Ext\Models\Db\Attrs\KeyPrimary
  • MvcCore\Ext\Models\Db\Attrs\KeyUnique
  • MvcCore\Ext\Models\Db\Attrs\Table
  • MvcCore\Ext\Models\Db\Connection
  • MvcCore\Ext\Models\Db\Models\MySql
  • MvcCore\Ext\Models\Db\Models\PgSql
  • MvcCore\Ext\Models\Db\Models\Resource
  • MvcCore\Ext\Models\Db\Models\SQLite
  • MvcCore\Ext\Models\Db\Models\SqlSrv
  • MvcCore\Ext\Models\Db\Providers\Connections\MySql
  • MvcCore\Ext\Models\Db\Providers\Connections\PgSql
  • MvcCore\Ext\Models\Db\Providers\Connections\SQLite
  • MvcCore\Ext\Models\Db\Providers\Connections\SqlSrv
  • MvcCore\Ext\Models\Db\Providers\Resource
  • MvcCore\Ext\Models\Db\Providers\Resources\MySql
  • MvcCore\Ext\Models\Db\Providers\Resources\PgSql
  • MvcCore\Ext\Models\Db\Providers\Resources\SQLite
  • MvcCore\Ext\Models\Db\Providers\Resources\SqlSrv
  • MvcCore\Ext\Models\Db\Reader
  • MvcCore\Ext\Models\Db\Readers\Execution
  • MvcCore\Ext\Models\Db\Readers\Multiple
  • MvcCore\Ext\Models\Db\Readers\Single
  • MvcCore\Ext\Models\Db\Readers\Stream
  • MvcCore\Ext\Models\Db\Readers\Streams\Iterator
  • MvcCore\Ext\Models\Db\Statement
  • MvcCore\Ext\Models\Model
  • MvcCore\Ext\Routers\Localization
  • MvcCore\Ext\Routers\Localizations\Route
  • MvcCore\Ext\Routers\Media
  • MvcCore\Ext\Routers\MediaAndLocalization
  • MvcCore\Ext\Routers\Module
  • MvcCore\Ext\Routers\ModuleLocalization
  • MvcCore\Ext\Routers\ModuleMedia
  • MvcCore\Ext\Routers\ModuleMediaAndLocalization
  • MvcCore\Ext\Routers\Modules\Route
  • MvcCore\Ext\Tools\Image
  • MvcCore\Ext\Tools\Images\Gd
  • MvcCore\Ext\Tools\Images\Gds\ApplyMask
  • MvcCore\Ext\Tools\Images\Gds\RoundCorners
  • MvcCore\Ext\Tools\Images\Gds\UnsharpMask
  • MvcCore\Ext\Tools\Images\Imagick
  • MvcCore\Ext\Tools\Locale
  • MvcCore\Ext\Tools\Locales\FloatParser
  • MvcCore\Ext\Tools\MimeTypesExtensions
  • MvcCore\Ext\Views\Helpers\AbstractHelper
  • MvcCore\Ext\Views\Helpers\Assets
  • MvcCore\Ext\Views\Helpers\CssHelper
  • MvcCore\Ext\Views\Helpers\DataUrlHelper
  • MvcCore\Ext\Views\Helpers\FormatDateHelper
  • MvcCore\Ext\Views\Helpers\FormatMoneyHelper
  • MvcCore\Ext\Views\Helpers\FormatNumberHelper
  • MvcCore\Ext\Views\Helpers\InternationalizedHelper
  • MvcCore\Ext\Views\Helpers\JsHelper
  • MvcCore\Ext\Views\Helpers\LineBreaksHelper
  • MvcCore\Ext\Views\Helpers\TruncateHelper
  • MvcCore\Ext\Views\Helpers\WriteByJsHelper
  • MvcCore\Model
  • MvcCore\Request
  • MvcCore\Response
  • MvcCore\Route
  • MvcCore\Router
  • MvcCore\Session
  • MvcCore\Tool
  • MvcCore\View

Interfaces

  • MvcCore\Application\IConstants
  • MvcCore\Controller\IConstants
  • MvcCore\Debug\IConstants
  • MvcCore\Environment\IConstants
  • MvcCore\Ext\Auths\Basics\IController
  • MvcCore\Ext\Auths\Basics\IDatabaseUser
  • MvcCore\Ext\Auths\Basics\IForm
  • MvcCore\Ext\Auths\Basics\IRole
  • MvcCore\Ext\Auths\Basics\IUser
  • MvcCore\Ext\Auths\IBasic
  • MvcCore\Ext\Form\IConstants
  • MvcCore\Ext\Forms\Fields\IAlwaysValidate
  • MvcCore\Ext\Forms\Fields\IChecked
  • MvcCore\Ext\Forms\Fields\IDataList
  • MvcCore\Ext\Forms\Fields\IFile
  • MvcCore\Ext\Forms\Fields\IFormat
  • MvcCore\Ext\Forms\Fields\ILabel
  • MvcCore\Ext\Forms\Fields\IMinMaxLength
  • MvcCore\Ext\Forms\Fields\IMinMaxOptions
  • MvcCore\Ext\Forms\Fields\IMinMaxStepDates
  • MvcCore\Ext\Forms\Fields\IMinMaxStepNumbers
  • MvcCore\Ext\Forms\Fields\IMultiple
  • MvcCore\Ext\Forms\Fields\IOptions
  • MvcCore\Ext\Forms\Fields\IPattern
  • MvcCore\Ext\Forms\Fields\ISubmit
  • MvcCore\Ext\Forms\Fields\IVisibleField
  • MvcCore\Ext\Forms\IError
  • MvcCore\Ext\Forms\IField
  • MvcCore\Ext\Forms\IFieldsGroup
  • MvcCore\Ext\Forms\IValidator
  • MvcCore\Ext\Forms\IView
  • MvcCore\Ext\Forms\Validators\Files\Validations\IBombScanner
  • MvcCore\Ext\Forms\Validators\IFiles
  • MvcCore\Ext\ICache
  • MvcCore\Ext\IForm
  • MvcCore\Ext\Models\Db\IConnection
  • MvcCore\Ext\Models\Db\IModel
  • MvcCore\Ext\Models\Db\IReader
  • MvcCore\Ext\Models\Db\IStatement
  • MvcCore\Ext\Models\Db\Model\IConstants
  • MvcCore\Ext\Models\Db\Models\MySqls\IConstants
  • MvcCore\Ext\Models\Db\Models\PgSqls\IConstants
  • MvcCore\Ext\Models\Db\Models\SqlSrvs\IConstants
  • MvcCore\Ext\Models\Db\Readers\IExecution
  • MvcCore\Ext\Models\Db\Readers\IMultiple
  • MvcCore\Ext\Models\Db\Readers\ISingle
  • MvcCore\Ext\Models\Db\Readers\IStream
  • MvcCore\Ext\Models\Db\Readers\Streams\IIterator
  • MvcCore\Ext\Routers\IExtended
  • MvcCore\Ext\Routers\ILocalization
  • MvcCore\Ext\Routers\IMedia
  • MvcCore\Ext\Routers\IModule
  • MvcCore\Ext\Routers\Modules\IRoute
  • MvcCore\Ext\Tools\Images\IAdapter
  • MvcCore\Ext\Tools\Images\IComposite
  • MvcCore\Ext\Tools\Images\IFormat
  • MvcCore\Ext\Tools\Images\IImage
  • MvcCore\Ext\Tools\Images\Imagicks\IComposite
  • MvcCore\Ext\Tools\Images\IOrientation
  • MvcCore\Ext\Views\Helpers\IHelper
  • MvcCore\IApplication
  • MvcCore\IConfig
  • MvcCore\IController
  • MvcCore\IDebug
  • MvcCore\IEnvironment
  • MvcCore\IModel
  • MvcCore\IRequest
  • MvcCore\IResponse
  • MvcCore\IRoute
  • MvcCore\IRouter
  • MvcCore\ISession
  • MvcCore\ITool
  • MvcCore\IView
  • MvcCore\Model\IConstants
  • MvcCore\Request\IConstants
  • MvcCore\Response\IConstants
  • MvcCore\Route\IConstants
  • MvcCore\Router\IConstants
  • MvcCore\Session\IConstants
  • MvcCore\View\IConstants

Traits

  • MvcCore\Application\Dispatching
  • MvcCore\Application\GettersSetters
  • MvcCore\Application\Helpers
  • MvcCore\Application\Props
  • MvcCore\Config\Environment
  • MvcCore\Config\IniDump
  • MvcCore\Config\IniProps
  • MvcCore\Config\IniRead
  • MvcCore\Config\MagicMethods
  • MvcCore\Config\PropsGettersSetters
  • MvcCore\Config\ReadWrite
  • MvcCore\Controller\Dispatching
  • MvcCore\Controller\GettersSetters
  • MvcCore\Controller\Props
  • MvcCore\Controller\Rendering
  • MvcCore\Debug\Handlers
  • MvcCore\Debug\Initializations
  • MvcCore\Debug\Props
  • MvcCore\Environment\Detection
  • MvcCore\Environment\Instancing
  • MvcCore\Environment\PropsGettersSetters
  • MvcCore\Ext\Auths\Basic\Handling
  • MvcCore\Ext\Auths\Basic\PropsGettersSetters
  • MvcCore\Ext\Auths\Basics\Controller\Base
  • MvcCore\Ext\Auths\Basics\Form\Base
  • MvcCore\Ext\Auths\Basics\Form\SignIn
  • MvcCore\Ext\Auths\Basics\Form\SignOut
  • MvcCore\Ext\Auths\Basics\Role\Base
  • MvcCore\Ext\Auths\Basics\Role\Features
  • MvcCore\Ext\Auths\Basics\User\Auth
  • MvcCore\Ext\Auths\Basics\User\Base
  • MvcCore\Ext\Auths\Basics\User\Features
  • MvcCore\Ext\Auths\Basics\User\Roles
  • MvcCore\Ext\Auths\Basics\UserAndRole\Base
  • MvcCore\Ext\Auths\Basics\UserAndRole\Permissions
  • MvcCore\Ext\Configs\Yamls\YamlDump
  • MvcCore\Ext\Configs\Yamls\YamlProps
  • MvcCore\Ext\Configs\Yamls\YamlRead
  • MvcCore\Ext\Form\AddMethods
  • MvcCore\Ext\Form\Assets
  • MvcCore\Ext\Form\ConfigProps
  • MvcCore\Ext\Form\Csrf
  • MvcCore\Ext\Form\FieldMethods
  • MvcCore\Ext\Form\GetMethods
  • MvcCore\Ext\Form\InternalProps
  • MvcCore\Ext\Form\Rendering
  • MvcCore\Ext\Form\Session
  • MvcCore\Ext\Form\SetMethods
  • MvcCore\Ext\Form\Submitting
  • MvcCore\Ext\Forms\Field\Getters
  • MvcCore\Ext\Forms\Field\Props
  • MvcCore\Ext\Forms\Field\Props\AccessKey
  • MvcCore\Ext\Forms\Field\Props\AutoComplete
  • MvcCore\Ext\Forms\Field\Props\AutoFocus
  • MvcCore\Ext\Forms\Field\Props\Checked
  • MvcCore\Ext\Forms\Field\Props\DataList
  • MvcCore\Ext\Forms\Field\Props\Disabled
  • MvcCore\Ext\Forms\Field\Props\Files
  • MvcCore\Ext\Forms\Field\Props\Format
  • MvcCore\Ext\Forms\Field\Props\FormAttrs
  • MvcCore\Ext\Forms\Field\Props\GroupLabelAttrs
  • MvcCore\Ext\Forms\Field\Props\GroupLabelCssClasses
  • MvcCore\Ext\Forms\Field\Props\InputMode
  • MvcCore\Ext\Forms\Field\Props\Label
  • MvcCore\Ext\Forms\Field\Props\MinMaxLength
  • MvcCore\Ext\Forms\Field\Props\MinMaxOptions
  • MvcCore\Ext\Forms\Field\Props\MinMaxStepDates
  • MvcCore\Ext\Forms\Field\Props\MinMaxStepNumbers
  • MvcCore\Ext\Forms\Field\Props\Multiple
  • MvcCore\Ext\Forms\Field\Props\NullOptionText
  • MvcCore\Ext\Forms\Field\Props\Options
  • MvcCore\Ext\Forms\Field\Props\Pattern
  • MvcCore\Ext\Forms\Field\Props\PlaceHolder
  • MvcCore\Ext\Forms\Field\Props\ReadOnly
  • MvcCore\Ext\Forms\Field\Props\Required
  • MvcCore\Ext\Forms\Field\Props\RowsColsWrap
  • MvcCore\Ext\Forms\Field\Props\Size
  • MvcCore\Ext\Forms\Field\Props\SpellCheck
  • MvcCore\Ext\Forms\Field\Props\Submit
  • MvcCore\Ext\Forms\Field\Props\TabIndex
  • MvcCore\Ext\Forms\Field\Props\VisibleField
  • MvcCore\Ext\Forms\Field\Props\WidthHeight
  • MvcCore\Ext\Forms\Field\Props\Wrapper
  • MvcCore\Ext\Forms\Field\Rendering
  • MvcCore\Ext\Forms\Field\Setters
  • MvcCore\Ext\Forms\Validators\Files\CheckRequirements
  • MvcCore\Ext\Forms\Validators\Files\CompleteFiles
  • MvcCore\Ext\Forms\Validators\Files\ReadAccept
  • MvcCore\Ext\Forms\Validators\Files\Validations\Bomb
  • MvcCore\Ext\Forms\Validators\Files\Validations\FileAndSize
  • MvcCore\Ext\Forms\Validators\Files\Validations\MimeTypeAndExtension
  • MvcCore\Ext\Forms\Validators\Files\Validations\NameAndExtension
  • MvcCore\Ext\Models\Db\Model\Connection
  • MvcCore\Ext\Models\Db\Model\DataMethods
  • MvcCore\Ext\Models\Db\Model\Features
  • MvcCore\Ext\Models\Db\Model\Manipulation
  • MvcCore\Ext\Models\Db\Model\MetaData
  • MvcCore\Ext\Models\Db\Model\Parsers
  • MvcCore\Ext\Models\Db\Model\Props
  • MvcCore\Ext\Models\Db\Model\ProviderResource
  • MvcCore\Ext\Models\Db\Models\MySqls\Features
  • MvcCore\Ext\Models\Db\Models\MySqls\ProviderResource
  • MvcCore\Ext\Models\Db\Models\PgSqls\Features
  • MvcCore\Ext\Models\Db\Models\PgSqls\ProviderResource
  • MvcCore\Ext\Models\Db\Models\Resources\Features
  • MvcCore\Ext\Models\Db\Models\SQLites\Features
  • MvcCore\Ext\Models\Db\Models\SQLites\ProviderResource
  • MvcCore\Ext\Models\Db\Models\SqlSrvs\Features
  • MvcCore\Ext\Models\Db\Models\SqlSrvs\ProviderResource
  • MvcCore\Ext\Models\Db\Providers\Resources\Manipulation
  • MvcCore\Ext\Models\Db\Providers\Resources\PgSqls\Manipulation
  • MvcCore\Ext\Routers\Extended
  • MvcCore\Ext\Routers\Extendeds\Preparing
  • MvcCore\Ext\Routers\Extendeds\PropsGettersSetters
  • MvcCore\Ext\Routers\Extendeds\Redirect
  • MvcCore\Ext\Routers\Extendeds\RedirectHelpers
  • MvcCore\Ext\Routers\Extendeds\Url
  • MvcCore\Ext\Routers\Localization\Preparing
  • MvcCore\Ext\Routers\Localization\PreRouting
  • MvcCore\Ext\Routers\Localization\PropsGettersSetters
  • MvcCore\Ext\Routers\Localization\RedirectSections
  • MvcCore\Ext\Routers\Localization\RewriteRouting
  • MvcCore\Ext\Routers\Localization\RewriteRoutingChecks
  • MvcCore\Ext\Routers\Localization\Routing
  • MvcCore\Ext\Routers\Localization\UrlByRoute
  • MvcCore\Ext\Routers\Localization\UrlByRouteSections
  • MvcCore\Ext\Routers\Localization\UrlByRouteSectionsLocalization
  • MvcCore\Ext\Routers\Localizations\Route\Instancing
  • MvcCore\Ext\Routers\Localizations\Route\InternalInits
  • MvcCore\Ext\Routers\Localizations\Route\Matching
  • MvcCore\Ext\Routers\Localizations\Route\PropsGettersSetters
  • MvcCore\Ext\Routers\Localizations\Route\UrlBuilding
  • MvcCore\Ext\Routers\Media\Preparing
  • MvcCore\Ext\Routers\Media\PreRouting
  • MvcCore\Ext\Routers\Media\PropsGettersSetters
  • MvcCore\Ext\Routers\Media\RedirectSections
  • MvcCore\Ext\Routers\Media\Routing
  • MvcCore\Ext\Routers\Media\UrlByRoute
  • MvcCore\Ext\Routers\Media\UrlByRouteSections
  • MvcCore\Ext\Routers\Media\UrlByRouteSectionsMedia
  • MvcCore\Ext\Routers\MediaAndLocalization\RedirectSections
  • MvcCore\Ext\Routers\MediaAndLocalization\Routing
  • MvcCore\Ext\Routers\MediaAndLocalization\UrlByRoute
  • MvcCore\Ext\Routers\MediaAndLocalization\UrlByRouteSections
  • MvcCore\Ext\Routers\Module\Canonical
  • MvcCore\Ext\Routers\Module\DomainRouteSetUp
  • MvcCore\Ext\Routers\Module\DomainRouting
  • MvcCore\Ext\Routers\Module\PreAndPostRouting
  • MvcCore\Ext\Routers\Module\Props
  • MvcCore\Ext\Routers\Module\Redirect
  • MvcCore\Ext\Routers\Module\RewriteRoutingChecks
  • MvcCore\Ext\Routers\Module\RouteMethods
  • MvcCore\Ext\Routers\Module\UrlByQuery
  • MvcCore\Ext\Routers\Module\UrlByRoute
  • MvcCore\Ext\Routers\Module\UrlByRouteSections
  • MvcCore\Ext\Routers\Module\UrlDomain
  • MvcCore\Ext\Routers\ModuleLocalization\DomainRouteSetUp
  • MvcCore\Ext\Routers\ModuleLocalization\Redirect
  • MvcCore\Ext\Routers\ModuleLocalization\RewriteRoutingChecks
  • MvcCore\Ext\Routers\ModuleLocalization\UrlByRoute
  • MvcCore\Ext\Routers\ModuleMedia\DomainRouteSetUp
  • MvcCore\Ext\Routers\ModuleMedia\Redirect
  • MvcCore\Ext\Routers\ModuleMediaAndLocalization\DomainRouteSetUp
  • MvcCore\Ext\Routers\ModuleMediaAndLocalization\Redirect
  • MvcCore\Ext\Routers\Modules\Route\Instancing
  • MvcCore\Ext\Routers\Modules\Route\Matching
  • MvcCore\Ext\Routers\Modules\Route\PropsGettersSetters
  • MvcCore\Ext\Routers\Modules\Route\UrlBuilding
  • MvcCore\Model\Comparers
  • MvcCore\Model\Config
  • MvcCore\Model\Connection
  • MvcCore\Model\Converters
  • MvcCore\Model\DataMethods
  • MvcCore\Model\MagicMethods
  • MvcCore\Model\MetaData
  • MvcCore\Model\Parsers
  • MvcCore\Model\Props
  • MvcCore\Model\Resource
  • MvcCore\Request\CollectionsMethods
  • MvcCore\Request\GettersSetters
  • MvcCore\Request\Instancing
  • MvcCore\Request\InternalInits
  • MvcCore\Request\Props
  • MvcCore\Response\Content
  • MvcCore\Response\Cookies
  • MvcCore\Response\Headers
  • MvcCore\Response\Instancing
  • MvcCore\Response\PropsGettersSetters
  • MvcCore\Route\GettersSetters
  • MvcCore\Route\Instancing
  • MvcCore\Route\InternalInits
  • MvcCore\Route\Matching
  • MvcCore\Route\Props
  • MvcCore\Route\UrlBuilding
  • MvcCore\Router\Canonical
  • MvcCore\Router\GettersSetters
  • MvcCore\Router\Instancing
  • MvcCore\Router\Props
  • MvcCore\Router\Redirecting
  • MvcCore\Router\RewriteRouting
  • MvcCore\Router\RouteMethods
  • MvcCore\Router\Routing
  • MvcCore\Router\UrlBuilding
  • MvcCore\Router\UrlByQuery
  • MvcCore\Router\UrlByRoutes
  • MvcCore\Session\Closing
  • MvcCore\Session\MagicMethods
  • MvcCore\Session\MetaData
  • MvcCore\Session\NamespaceMethods
  • MvcCore\Session\Props
  • MvcCore\Session\Starting
  • MvcCore\Tool\Helpers
  • MvcCore\Tool\Json
  • MvcCore\Tool\Reflection
  • MvcCore\Tool\StringConversions
  • MvcCore\View\DirectoryMethods
  • MvcCore\View\Escaping
  • MvcCore\View\GettersSetters
  • MvcCore\View\LocalMethods
  • MvcCore\View\MagicMethods
  • MvcCore\View\Props
  • MvcCore\View\Rendering
  • MvcCore\View\UrlHelpers
  • MvcCore\View\ViewHelpers

Exceptions

  • MvcCore\Ext\Models\Db\Exception
  • Throwable

Functions

  • MvcCore\Ext\Models\Db\FuncHelpers\Columns
  • MvcCore\Ext\Models\Db\FuncHelpers\Table
  • Overview
  • Class
  • Tree
  • Todo
  • Deprecated
  • Download

Class Locale

Responsibility - properly set and get system locale settings by PHP setlocale(); across any system platform. - Set system locale settings by given category, lang code, territory code, encoding (and euro sign). - Get system locale settings by given category parsed into \stdClass object with all info above.

Namespace: MvcCore\Ext\Tools
See: http://php.net/manual/en/function.setlocale.php
See: https://msdn.microsoft.com/en-us/library/x99tb11d.aspx
See: https://msdn.microsoft.com/en-us/library/cc233982.aspx
See: https://docs.moodle.org/dev/Table_of_locales
See: https://stackoverflow.com/questions/3191664/list-of-all-locales-and-their-short-codes
Located at ext-tool-locale/src/MvcCore/Ext/Tools/Locale.php
Methods summary
public static
# StaticInit( )

Static class initialization to initialize windows platform boolean.

Static class initialization to initialize windows platform boolean.

public static string
# SetLocale( integer $category = LC_ALL, string|array $locale = 'en_US.UTF-8@euro' )

Set locale information on non-windows platforms as it is, set locale information on windows platforms with $locale specific conversion implemented inside this class to set locale properly.

Set locale information on non-windows platforms as it is, set locale information on windows platforms with $locale specific conversion implemented inside this class to set locale properly.

Parameters

$category

Named constant specifying the category of the functions affected by the locale setting: LC_ALL For all of the below. LC_COLLATE For string comparison, see strcoll(). LC_CTYPE For character classification and conversion, for example strtoupper(). LC_MONETARY For localeconv(). LC_NUMERIC For decimal separator (See also localeconv()). LC_TIME For date and time formatting with strftime(). LC_MESSAGES For system responses (available if PHP was compiled with libintl).

$locale

Returns

string
Returns the new current locale, or FALSE if the locale functionality is not implemented on your platform, the specified locale does not exist or the category name is invalid.
public static stdClass|stdClass[]|null
# GetLocale( integer $category = LC_ALL )

Return currently set system locale value by given single locale category as parsed \stdClass object or return currently set system locale values for all categories by category LC_ALL as parsed \stdClass object(s), indexed by categories. Returned parsed locale value \stdClass object has fields: - lang (string) - Language code, lower case ("en" | "de" ...). - locale (string|NULL) - Teritory code, upper case ("US" | "GB" ...). - script (string|NULL) - Script code ("Latn" | "Cyrl" ...). - encoding (string|NULL) - System encoding name ("UTF-8" | "WINDOWS-1250" | "CP936"...). - euro (string|NULL) - "euro" if there is Euro support or NULL otherwise. - system (string|NULL) - True system value used by calling PHP setlocale() ("en_GB.UTF-8" for UNIX or "English_United Kingdom.WINDOWS-1250" for Windows).

Return currently set system locale value by given single locale category as parsed \stdClass object or return currently set system locale values for all categories by category LC_ALL as parsed \stdClass object(s), indexed by categories. Returned parsed locale value \stdClass object has fields: - lang (string) - Language code, lower case ("en" | "de" ...). - locale (string|NULL) - Teritory code, upper case ("US" | "GB" ...). - script (string|NULL) - Script code ("Latn" | "Cyrl" ...). - encoding (string|NULL) - System encoding name ("UTF-8" | "WINDOWS-1250" | "CP936"...). - euro (string|NULL) - "euro" if there is Euro support or NULL otherwise. - system (string|NULL) - True system value used by calling PHP setlocale() ("en_GB.UTF-8" for UNIX or "English_United Kingdom.WINDOWS-1250" for Windows).

Parameters

$category

Named constant specifying the category of the functions affected by the locale setting: LC_ALL For all of the below. LC_COLLATE For string comparison, see strcoll(). LC_CTYPE For character classification and conversion, for example strtoupper(). LC_MONETARY For localeconv(). LC_NUMERIC For decimal separator (See also localeconv()). LC_TIME For date and time formatting with strftime(). LC_MESSAGES For system responses (available if PHP was compiled with libintl).

Returns

stdClass|stdClass[]|null
protected static stdClass
# parseLocale( string $locale = 'en_US.UTF-8@euro' )

Parse given application or system locale value into \stdClass object with records: - lang (string) - Language code (or with language name on windows). - locale (string|NULL) - Teritory code (or with territory name on windows). - script (string|NULL) - Script code. - encoding (string|NULL) - System encoding name (or with system encoding number on windows). - euro (string|NULL) - "euro" if there is Euro support or NULL otherwise. - system (string|NULL) - true system value used by calling PHP setlocale().

Parse given application or system locale value into \stdClass object with records: - lang (string) - Language code (or with language name on windows). - locale (string|NULL) - Teritory code (or with territory name on windows). - script (string|NULL) - Script code. - encoding (string|NULL) - System encoding name (or with system encoding number on windows). - euro (string|NULL) - "euro" if there is Euro support or NULL otherwise. - system (string|NULL) - true system value used by calling PHP setlocale().

Parameters

$locale

Returns

stdClass
protected static stdClass
# completeParsedLocaleSystemValue( stdClass $parsedLocale, boolean $withEuro = TRUE )

Complete parsed locale system record (optionally with euro sign or without euro sign).

Complete parsed locale system record (optionally with euro sign or without euro sign).

Parameters

$parsedLocale
$withEuro

Returns

stdClass
protected static stdClass
# translateParsedLocaleToAppValue( stdClass $parsedLocale )

Translate parsed system locale value into application locale value. Do not translate anything on non-windows plaforms, but translate windows system locale value language, terotiry and encoding combination into standard application values.

Translate parsed system locale value into application locale value. Do not translate anything on non-windows plaforms, but translate windows system locale value language, terotiry and encoding combination into standard application values.

Parameters

$parsedLocale

Returns

stdClass
protected static string
# translateParsedLocaleToSystemValue( stdClass $parsedLocale )

Translate application locale value into proper system locale value. Do not change anything and return $parsedLocale->system immediately on non-windows platforms. But return translated $parsedLocale->system value on windows platforms into proper string with language and territory combination.

Translate application locale value into proper system locale value. Do not change anything and return $parsedLocale->system immediately on non-windows platforms. But return translated $parsedLocale->system value on windows platforms into proper string with language and territory combination.

Parameters

$parsedLocale

Returns

string
protected static
# prepareWinConfigOppositeArrays( )

Prepare static configuration arrays to read and translate windows system locale value into application locale value. Create from values keys and from keys values for: - static::$langs => static::$LANGS - static::$locales => static::$LOCALES - static::$scripts => static::$SCRIPTS - static::$exceptions => static::$EXCEPTIONS (keys by lang and locale)

Prepare static configuration arrays to read and translate windows system locale value into application locale value. Create from values keys and from keys values for: - static::$langs => static::$LANGS - static::$locales => static::$LOCALES - static::$scripts => static::$SCRIPTS - static::$exceptions => static::$EXCEPTIONS (keys by lang and locale)

Constants summary
string VERSION

MvcCore - version: Comparison by PHP function version_compare();.

MvcCore - version: Comparison by PHP function version_compare();.

See

http://php.net/manual/en/function.version-compare.php
# '5.0.0'
Properties summary
protected static string[] $langs

All possible language codes and names supported on windows platforms.

All possible language codes and names supported on windows platforms.

# [ 'aa' => 'Afar', 'af' => 'Afrikaans', 'agq' => 'Aghem', 'ak' => 'Akan', 'am' => 'Amharic', 'ar' => 'Arabic', 'arn' => 'Mapudungun', 'as' => 'Assamese', 'asa' => 'Asu', 'ast' => 'Asturian', 'ba' => 'Bashkir', 'bas' => 'Basaa', 'be' => 'Belarusian', 'bem' => 'Bemba', 'bez' => 'Bena', 'bg' => 'Bulgarian', 'bn' => 'Bangla', 'bo' => 'Tibetan', 'br' => 'Breton', 'brx' => 'Bodo', 'byn' => 'Blin', 'ca' => 'Catalan', 'cd' => 'Chechen', 'cgg' => 'Chiga', 'co' => 'Corsican', 'cs' => 'Czech', 'cu' => 'Church Slavic', 'cy' => 'Welsh', 'da' => 'Danish', 'dav' => 'Taita', 'de' => 'German', 'dje' => 'Zarma', 'dsb' => 'Lower Sorbian', 'dua' => 'Duala', 'dv' => 'Divehi', 'dyo' => 'Jola-Fonyi', 'dz' => 'Dzongkha', 'ebu' => 'Embu', 'ee' => 'Ewe', 'el' => 'Greek', 'en' => 'English', 'eo' => 'Esperanto', 'es' => 'Spanish', 'et' => 'Estonian', 'eu' => 'Basque', 'ewo' => 'Ewondo', 'fa' => 'Persian', 'ff' => 'Fulah', 'fi' => 'Finnish', 'fil' => 'Filipino', 'fo' => 'Faroese', 'fr' => 'French', 'fur' => 'Friulian', 'fy' => 'Frisian', 'ga' => 'Irish', 'gd' => 'Scottish Gaelic', 'gl' => 'Galician', 'gn' => 'Guarani', 'gsw' => 'Alsatian', 'gu' => 'Gujarati', 'guz' => 'Gusii', 'gv' => 'Manx', 'haw' => 'Hawaiian', 'he' => 'Hebrew', 'hi' => 'Hindi', 'hr' => 'Croatian', 'hsb' => 'Upper Sorbian', 'hu' => 'Hungarian', 'hy' => 'Armenian', 'ia' => 'Interlingua', 'id' => 'Indonesian', 'ig' => 'Igbo', 'ii' => 'Yi', 'is' => 'Icelandic', 'it' => 'Italian', 'ja' => 'Japanese', 'jgo' => 'Ngomba', 'jmc' => 'Machame', 'ka' => 'Georgian', 'kab' => 'Kabyle', 'kam' => 'Kamba', 'kde' => 'Makonde', 'kea' => 'Kabuverdianu', 'khq' => 'Koyra Chiini', 'ki' => 'Kikuyu', 'kk' => 'Kazakh', 'kkj' => 'Kako', 'kl' => 'Greenlandic', 'kln' => 'Kalenjin', 'km' => 'Khmer', 'kn' => 'Kannada', 'ko' => 'Korean', 'kok' => 'Konkani', 'ksb' => 'Shambala', 'ksf' => 'Bafia', 'ksh' => 'Ripuarian', 'ku' => 'Central Kurdish', 'kw' => 'Cornish', 'ky' => 'Kyrgyz', 'lag' => 'Langi', 'lb' => 'Luxembourgish', 'lg' => 'Ganda', 'lkt' => 'Lakota', 'ln' => 'Lingala', 'lo' => 'Lao', 'lrc' => 'Northern Luri', 'lt' => 'Lithuanian', 'lu' => 'Luba-Katanga', 'luo' => 'Luo', 'luy' => 'Luyia', 'lv' => 'Latvian', 'mas' => 'Masai', 'mer' => 'Meru', 'mfe' => 'Morisyen', 'mg' => 'Malagasy', 'mgh' => 'Makhuwa-Meetto', 'mgo' => 'Meta\'', 'mi' => 'Maori', 'ml' => 'Malayalam', 'moh' => 'Mohawk', 'mr' => 'Marathi', 'ms' => 'Malay', 'mt' => 'Maltese', 'mua' => 'Mundang', 'my' => 'Burmese', 'mzn' => 'Mazanderani', 'naq' => 'Nama', 'nb' => 'Norwegian Bokmål', 'nd' => 'North Ndebele', 'nds' => 'Low German', 'ne' => 'Nepali', 'nl' => 'Dutch', 'nmg' => 'Kwasio', 'nn' => 'Norwegian (Nynorsk)', 'nnh' => 'Ngiemboon', 'no' => 'Norwegian (Bokmal)', 'nqo' => 'N\'ko', 'nr' => 'South Ndebele', 'nso' => 'Sesotho sa Leboa', 'nus' => 'Nuer', 'nyn' => 'Nyankole', 'oc' => 'Occitan', 'om' => 'Oromo', 'or' => 'Odia', 'pa' => 'Punjabi', 'pl' => 'Polish', 'prg' => 'Prussian', 'prs' => 'Dari', 'ps' => 'Pashto', 'pt' => 'Portuguese', 'qut' => 'K\'iche', 'quz' => 'Quechua', 'rm' => 'Romansh', 'rn' => 'Rundi', 'ro' => 'Romanian', 'rof' => 'Rombo', 'ru' => 'Russian', 'rw' => 'Kinyarwanda', 'rwk' => 'Rwa', 'sa' => 'Sanskrit', 'sah' => 'Sakha', 'saq' => 'Samburu', 'sbp' => 'Sangu', 'se' => 'Sami (Northern)', 'seh' => 'Sena', 'ses' => 'Koyraboro Senni', 'sg' => 'Sango', 'si' => 'Sinhala', 'sk' => 'Slovak', 'sl' => 'Slovenian', 'sma' => 'Sami (Southern)', 'smj' => 'Sami (Lule)', 'smn' => 'Sami (Inari)', 'sms' => 'Sami (Skolt)', 'so' => 'Somali', 'sq' => 'Albanian', 'ss' => 'Swati', 'ssy' => 'Saho', 'st' => 'Southern Sotho', 'sv' => 'Swedish', 'sw' => 'Kiswahili', 'swc' => 'Congo Swahili', 'syr' => 'Syriac', 'ta' => 'Tamil', 'te' => 'Telugu', 'teo' => 'Teso', 'th' => 'Thai', 'ti' => 'Tigrinya', 'tig' => 'Tigre', 'tk' => 'Turkmen', 'tn' => 'Setswana', 'to' => 'Tongan', 'tr' => 'Turkish', 'ts' => 'Tsonga', 'tt' => 'Tatar', 'twq' => 'Tasawaq', 'ug' => 'Uyghur', 'uk' => 'Ukrainian', 'ur' => 'Urdu', 've' => 'Venda', 'vi' => 'Vietnamese', 'vo' => 'Volapük', 'vun' => 'Vunjo', 'wae' => 'Walser', 'wal' => 'Wolaytta', 'wo' => 'Wolof', 'xh' => 'Xhosa', 'xog' => 'Soga', 'yav' => 'Yangben', 'yo' => 'Yoruba', 'zgh' => 'Standard Moroccan Tamazight', 'zh' => 'Chinese (Simplified)', 'zu' => 'Zulu', ]
protected static string[] $locales

All possible territory codes and names supported on windows platforms.

All possible territory codes and names supported on windows platforms.

# [ '001' => 'World', '029' => 'Caribbean', '150' => 'Europe', '419' => 'Latin America', 'AD' => 'Andorra', 'AE' => 'U.A.E.', 'AF' => 'Afghanistan', 'AG' => 'Antigua and Barbuda', 'AI' => 'Anguilla', 'AL' => 'Albania', 'AM' => 'Armenia', 'AO' => 'Angola', 'AR' => 'Argentina', 'AS' => 'American Samoa', 'AT' => 'Austria', 'AU' => 'Australia', 'AW' => 'Aruba', 'AX' => 'Åland Islands', 'BB' => 'Barbados', 'BD' => 'Bangladesh', 'BE' => 'Belgium', 'BF' => 'Burkina Faso', 'BG' => 'Bulgaria', 'BH' => 'Bahrain', 'BI' => 'Burundi', 'BJ' => 'Benin', 'BL' => 'Saint Barthélemy', 'BM' => 'Bermuda', 'BN' => 'Brunei Darussalam', 'BO' => 'Bolivia', 'BQ' => 'Bonaire, Sint Eustatius and Saba', 'BR' => 'Brazil', 'BS' => 'Bahamas', 'BT' => 'Bhutan', 'BW' => 'Botswana', 'BY' => 'Belarus', 'BZ' => 'Belize', 'CA' => 'Canada', 'CC' => 'Cocos [Keeling] Islands', 'CD' => 'Congo DRC', 'CF' => 'Central African Republic', 'CG' => 'Congo', 'CH' => 'Switzerland', 'CI' => 'Côte d\'Ivoire', 'CK' => 'Cook Islands', 'CL' => 'Chile', 'CM' => 'Cameroon', 'CN' => 'People\'s Republic of China', 'CO' => 'Colombia', 'CR' => 'Costa Rica', 'CU' => 'Cuba', 'CV' => 'Cabo Verde', 'CW' => 'Curaçao', 'CX' => 'Christmas Island', 'CY' => 'Cyprus', 'CZ' => 'Czechia', // 'Czech Republic' for Windows 7 'DE' => 'Germany', 'DJ' => 'Djibouti', 'DK' => 'Denmark', 'DM' => 'Dominica', 'DO' => 'Dominican Republic', 'DZ' => 'Algeria', 'EC' => 'Ecuador', 'EE' => 'Estonia', 'EG' => 'Egypt', 'ER' => 'Eritrea', 'ES' => 'Spain', 'ET' => 'Ethiopia', 'FI' => 'Finland', 'FJ' => 'Fiji', 'FK' => 'Falkland Islands', 'FM' => 'Micronesia', 'FO' => 'Faroe Islands', 'FR' => 'France', 'GA' => 'Gabon', 'GB' => 'United Kingdom', 'GD' => 'Grenada', 'GE' => 'Georgia', 'GF' => 'French Guiana', 'GG' => 'Guernsey', 'GH' => 'Ghana', 'GI' => 'Gibraltar', 'GL' => 'Greenland', 'GM' => 'Gambia', 'GN' => 'Guinea', 'GP' => 'Guadeloupe', 'GQ' => 'Equatorial Guinea', 'GR' => 'Greece', 'GT' => 'Guatemala', 'GU' => 'Guam', 'GW' => 'Guinea-Bissau', 'GY' => 'Guyana', 'HK' => 'Hong Kong', 'HN' => 'Honduras', 'HR' => 'Croatia', 'HT' => 'Haiti', 'HU' => 'Hungary', 'ID' => 'Indonesia', 'IE' => 'Ireland', 'IL' => 'Israel', 'IM' => 'Isle of Man', 'IN' => 'India', 'IO' => 'British Indian Ocean Territory', 'IQ' => 'Iraq', 'IR' => 'Iran', 'IS' => 'Iceland', 'IT' => 'Italy', 'JE' => 'Jersey', 'JM' => 'Jamaica', 'JO' => 'Jordan', 'JP' => 'Japan', 'KE' => 'Kenya', 'KG' => 'Kyrgyzstan', 'KH' => 'Cambodia', 'KI' => 'Kiribati', 'KM' => 'Comoros', 'KN' => 'Saint Kitts and Nevis', 'KP' => 'North Korea', 'KR' => 'Korea', 'KW' => 'Kuwait', 'KY' => 'Cayman Islands', 'KZ' => 'Kazakhstan', 'LA' => 'Lao P.D.R.', 'LB' => 'Lebanon', 'LC' => 'Saint Lucia', 'LI' => 'Liechtenstein', 'LK' => 'Sri Lanka', 'LR' => 'Liberia', 'LS' => 'Lesotho', 'LT' => 'Lithuania', 'LU' => 'Luxembourg', 'LV' => 'Latvia', 'LY' => 'Libya', 'MA' => 'Morocco', 'MC' => 'Principality of Monaco', 'MD' => 'Moldova', 'MF' => 'Saint Martin', 'MG' => 'Madagascar', 'MH' => 'Marshall Islands', 'MK' => 'Macedonia, FYRO', 'ML' => 'Mali', 'MM' => 'Myanmar', 'MO' => 'Macao SAR', 'MP' => 'Northern Mariana Islands', 'MQ' => 'Martinique', 'MR' => 'Mauritania', 'MS' => 'Montserrat', 'MT' => 'Malta', 'MU' => 'Mauritius', 'MV' => 'Maldives', 'MW' => 'Malawi', 'MX' => 'Mexico', 'MY' => 'Malaysia', 'MZ' => 'Mozambique', 'NA' => 'Namibia', 'NC' => 'New Caledonia', 'NE' => 'Niger', 'NF' => 'Norfolk Island', 'NG' => 'Nigeria', 'NI' => 'Nicaragua', 'NL' => 'Netherlands', 'NP' => 'Nepal', 'NR' => 'Nauru', 'NU' => 'Niue', 'NZ' => 'New Zealand', 'OM' => 'Oman', 'PA' => 'Panama', 'PE' => 'Peru', 'PF' => 'French Polynesia', 'PG' => 'Papua New Guinea', 'PH' => 'Philippines', 'PK' => 'Pakistan', 'PL' => 'Poland', 'PM' => 'Saint Pierre and Miquelon', 'PN' => 'Pitcairn Islands', 'PR' => 'Puerto Rico', 'PS' => 'Palestinian Authority', 'PT' => 'Portugal', 'PW' => 'Palau', 'PY' => 'Paraguay', 'QA' => 'Qatar', 'RE' => 'Reunion', 'RO' => 'Romania', 'RU' => 'Russia', 'RW' => 'Rwanda', 'SA' => 'Saudi Arabia', 'SB' => 'Solomon Islands', 'SC' => 'Seychelles', 'SD' => 'Sudan', 'SE' => 'Sweden', 'SG' => 'Singapore', 'SH' => 'St Helena, Ascension, Tristan da Cunha', 'SI' => 'Slovenia', 'SJ' => 'Svalbard and Jan Mayen', 'SK' => 'Slovakia', 'SL' => 'Sierra Leone', 'SM' => 'San Marino', 'SN' => 'Senegal', 'SO' => 'Somalia', 'SR' => 'Suriname', 'SS' => 'South Sudan', 'ST' => 'São Tomé and Príncipe', 'SV' => 'El Salvador', 'SX' => 'Sint Maarten', 'SY' => 'Syria', 'SZ' => 'Swaziland', 'TC' => 'Turks and Caicos Islands', 'TD' => 'Chad', 'TG' => 'Togo', 'TH' => 'Thailand', 'TK' => 'Tokelau', 'TL' => 'Timor-Leste', 'TM' => 'Turkmenistan', 'TN' => 'Tunisia', 'TO' => 'Tonga', 'TR' => 'Turkey', 'TT' => 'Trinidad and Tobago', 'TV' => 'Tuvalu', 'TZ' => 'Tanzania', 'UA' => 'Ukraine', 'UG' => 'Uganda', 'UM' => 'US Minor Outlying Islands', 'US' => 'United States', 'UY' => 'Uruguay', 'VA' => 'Vatican City', 'VC' => 'Saint Vincent and the Grenadines', 'VE' => 'Bolivarian Republic of Venezuela', 'VG' => 'British Virgin Islands', 'VI' => 'US Virgin Islands', 'VN' => 'Vietnam', 'VU' => 'Vanuatu', 'WF' => 'Wallis and Futuna', 'WS' => 'Samoa', 'YE' => 'Yemen', 'YT' => 'Mayotte', 'ZA' => 'South Africa', 'ZM' => 'Zambia', 'ZW' => 'Zimbabwe', ]
protected static string[] $scripts

Locale script codes and names. Commented values are not supported on windows yet.

Locale script codes and names. Commented values are not supported on windows yet.

# [ 'Arab' => 'Perso-Arabic', //'Cans' => 'Syllabics', //'Cher' => 'Cherokee', 'Cyrl' => 'Cyrillic', 'Latn' => 'Latin', //'Hans' => 'Simplified', //'Hant' => 'Traditional', 'Mong' => 'Traditional Mongolian', //'Tfng' => 'Tifinagh', //'Vaii' => 'Vaii', ]
protected static string[] $encodings

All possible system encoding numbers and encoding names supported on windows.

All possible system encoding numbers and encoding names supported on windows.

# [ '874' => 'WINDOWS-874', '932' => 'CP932', '936' => 'CP936', '949' => 'EUC-KR', '950' => 'CP950', '1250' => 'WINDOWS-1250', '1251' => 'WINDOWS-1251', '1252' => 'WINDOWS-1252', '1253' => 'WINDOWS-1253', '1254' => 'WINDOWS-1254', '1255' => 'WINDOWS-1255', '1256' => 'WINDOWS-1256', '1257' => 'WINDOWS-1257', '1258' => 'WINDOWS-1258', //'65001' => '', 'Gaelic' => 'WINDOWS-1252', //'x-iscii-ma' => 'x-iscii-ma', ]
protected static array[] $exceptions

Exceptions for windows platforms how to translate language and terotory combination into language and territory name or how to translte names into codes. To get 'language_territory' combination for windows setlocale() call, you have to get exception record by code and then you need to join language name and locale name by data founded in this array: 'exception_code' => array( 0 => lang code, 1 => locale code, 2 => script code, 3 => lang name is between standard langs - 0 - it is between exceptional langs, 1 - i'is between standard langs, 4 => lang index in exception langs or lang code in standard langs, 5 => territory name is between locales - 1 - it is between exceptional teritories, 2 - it's between standard teritories, 6 => territory name or locale code or nothing Commented values are not supported on windows yet.

Exceptions for windows platforms how to translate language and terotory combination into language and territory name or how to translte names into codes. To get 'language_territory' combination for windows setlocale() call, you have to get exception record by code and then you need to join language name and locale name by data founded in this array: 'exception_code' => array( 0 => lang code, 1 => locale code, 2 => script code, 3 => lang name is between standard langs - 0 - it is between exceptional langs, 1 - i'is between standard langs, 4 => lang index in exception langs or lang code in standard langs, 5 => territory name is between locales - 1 - it is between exceptional teritories, 2 - it's between standard teritories, 6 => territory name or locale code or nothing Commented values are not supported on windows yet.

# [ 'az' => ['az', NULL, 'Latn', 0, 1], //'az_Cyrl' => array('az', NULL, 'Cyrl', 0, 0), //'az_Cyrl_AZ' => array('az', 'AZ', 'Cyrl', 0, 0, 0, 0), //'az_Latn' => array('az', NULL, 'Latn', 0, 1), //'az_Latn_AZ' => array('az', 'AZ', 'Latn', 0, 1, 0, 0), //'bm_Latn_ML' => array('bm', 'ML', 'Latn', 0, 2, 1, 'ML'), 'bs' => ['bs', NULL, 'Latn', 0, 4], //'bs_Cyrl' => array('bs', NULL, 'Cyrl', 0, 3), //'bs_Cyrl_BA' => array('bs', 'BA', 'Cyrl', 0, 3, 0, 1), //'bs_Latn' => array('bs', NULL, 'Latn', 0, 4), //'bs_Latn_BA' => array('bs', 'BA', 'Latn', 0, 4, 0, 1), //'ca_ES_valencia'=> array('ca', 'ES', 'valencia',1, 'ca', 1, 'ES'), //'chr_Cher' => array('chr', NULL, 'Cher', 0, 6), //'chr_Cher_US' => array('chr', 'US', 'Cher', 0, 6, 1, 'US'), //'es_ES_tradnl' => array('es', 'ES', 'tradnl', 1, 'es', 1, 'ES'), //'ff_Latn' => array('ff', NULL, 'Latn', 1, 'ff'), //'ff_Latn_SN' => array('ff', 'SN', 'Latn', 1, 'ff', 1, 'SN'), 'ha' => ['ha', NULL, 'Latn', 0, 7], //'ha_Latn' => array('ha', NULL, 'Latn', 0, 7), //'ha_Latn_GH' => array('ha', 'GH', 'Latn', 0, 7, 1, 'GH'), //'ha_Latn_NE' => array('ha', 'NE', 'Latn', 0, 7, 1, 'NE'), //'ha_Latn_NG' => array('ha', 'NG', 'Latn', 0, 7, 1, 'NG'), 'hr_BA' => ['hr', 'BA', 'Latn', 1, 'hr', 0, 1], 'iu' => ['iu', NULL, 'Latn', 0, 8], //'iu_Cans' => array('iu', NULL, 'Cans', 0, 9), //'iu_Cans_CA' => array('iu', 'CA', 'Cans', 0, 9, 1, 'CA'), //'iu_Latn' => array('iu', NULL, 'Latn', 0, 8), //'iu_Latn_CA' => array('iu', 'CA', 'Latn', 0, 8, 1, 'CA'), //'jv_Latn' => array('jv', NULL, 'Latn', 0, 10, 0, 2), //'jv_Latn_ID' => array('jv', 'ID', 'Latn', 0, 10, 1, 'ID'), //'ks_Arab' => array('ks', NULL, 'Arab', 0, 12, 0, 6), //'ks_Arab_IN' => array('ks', 'IN', 'Arab', 0, 12, 1, 'IN'), //'ku_Arab' => array('ku', NULL, 'Arab', 1, 'ku'), //'ku_Arab_IQ' => array('ku', 'IQ', 'Arab', 1, 'ku', 1, 'IQ'), //'ku_Arab_IR' => array('ku', 'IR', 'Arab', 1, 'ku', 1, 'IR'), //'mk_MK' => array('mk', 'MK', NULL, 0, 13, 1, 'MK'), 'mn' => ['mn', NULL, 'Cyrl', 0, 14], //'mn_Cyrl' => array('mn', NULL, 'Cyrl', 0, 14), 'mn_MN' => ['mn', 'MN', 'Cyrl', 0, 14, 0, 3], //'mn_Mong' => array('mn', NULL, 'Mong', 0, 15), //'mn_Mong_CN' => array('mn', 'CN', 'Mong', 0, 15, 1, 'CN'), 'mn_Mong_MN' => ['mn', 'MN', 'Mong', 0, 15, 0, 3], //'nb' => array('nb', NULL, NULL, 1, 'nb'), //'nb_NO' => array('nb', 'NO', NULL, 1, 'nb', 0, 5), 'nn_NO' => ['nn', 'NO', NULL, 1, 'nn', 0, 5], //'os_GE' => array('os', 'GE', NULL, 0, 16, 1, 'GE'), //'os_RU' => array('os', 'RU', NULL, 0, 16, 1, 'RU'), //'pa_Arab' => array('pa', NULL, 'Arab', 1, 'pa'), //'pa_Arab_PK' => array('pa', 'PK', 'Arab', 1, 'pa', 1, 'PK'), //'quc_Latn_GT' => array('quc', 'GT', 'Latn', 0, 11, 1, 'GT'), //'sd_Arab' => array('sd', NULL, 'Arab', 0, 20), //'sd_Arab_PK' => array('sd', 'PK', 'Arab', 0, 20, 1, 'PK'), 'se_FI' => ['se', 'FI', NULL, 1, 'se', 1, 'FI'], 'se_NO' => ['se', 'NO', NULL, 1, 'se', 0, 5], 'se_SE' => ['se', 'SE', NULL, 1, 'se', 1, 'SE'], //'shi_Latn' => array('shi', NULL, 'Latn', 0, 22), //'shi_Latn_MA' => array('shi', 'MA', 'Latn', 0, 22, 1, 'MA'), //'shi_Tfng' => array('shi', NULL, 'Tfng', 0, 21, 0, 11), //'shi_Tfng_MA' => array('shi', 'MA', 'Tfng', 0, 21, 1, 'MA'), 'sma_NO' => ['sma', 'NO', NULL, 1, 'sma', 0, 5], 'sma_SE' => ['sma', 'SE', NULL, 1, 'sma', 1, 'SE'], 'smj_NO' => ['smj', 'NO', NULL, 1, 'smj', 0, 5], 'smj_SE' => ['smj', 'SE', NULL, 1, 'smj', 1, 'SE'], 'smn_FI' => ['smn', 'FI', NULL, 1, 'smn', 1, 'FI'], 'sms_FI' => ['sms', 'FI', NULL, 1, 'sms', 1, 'FI'], //'sn_Latn' => array('sn', NULL, 'Latn', 0, 19, 0, 2), //'sn_Latn_ZW' => array('sn', 'ZW', 'Latn', 0, 19, 1, 'ZW'), 'sr' => ['sr', NULL, 'Latn', 0, 18], //'sr_Cyrl' => array('sr', NULL, 'Cyrl', 0, 17), //'sr_Cyrl_BA' => array('sr', 'BA', 'Cyrl', 0, 17, 0, 1), //'sr_Cyrl_CS' => array('sr', 'CS', 'Cyrl', 0, 17, 0, 8), //'sr_Cyrl_ME' => array('sr', 'ME', 'Cyrl', 0, 17, 0, 4), //'sr_Cyrl_RS' => array('sr', 'RS', 'Cyrl', 0, 17, 0, 7), //'sr_Latn' => array('sr', NULL, 'Latn', 0, 18), //'sr_Latn_BA' => array('sr', 'BA', 'Latn', 0, 18, 0, 1), //'sr_Latn_CS' => array('sr', 'CS', 'Latn', 0, 18, 0, 8), //'sr_Latn_ME' => array('sr', 'ME', 'Latn', 0, 18, 0, 4), //'sr_Latn_RS' => array('sr', 'RS', 'Latn', 0, 18, 0, 7), //'tg_Cyrl' => array('tg', NULL, 'Cyrl', 0, 23), //'tg_Cyrl_TJ' => array('tg', 'TJ', 'Cyrl', 0, 23, 0, 10), //'tzm_Latn' => array('tzm', NULL, 'Latn', 0, 24), //'tzm_Latn_DZ' => array('tzm', 'DZ', 'Latn', 0, 24, 1, 'DZ'), //'tzm_Latn_MA' => array('tzm', 'MA', 'Latn', 0, 5, 1, 'MA'), //'ur_PK' => array('ur', 'PK', NULL, 1, 'ur', 1, 'PK'), 'uz' => ['uz', NULL, 'Latn', 0, 27], //'uz_Arab' => array('uz', NULL, 'Arab', 0, 25, 0, 6), //'uz_Arab_AF' => array('uz', 'AF', 'Arab', 0, 25, 1, 'AF'), //'uz_Cyrl' => array('uz', NULL, 'Cyrl', 0, 26), //'uz_Cyrl_UZ' => array('uz', 'UZ', 'Cyrl', 0, 26, 0, 13), //'uz_Latn' => array('uz', NULL, 'Latn', 0, 27), //'uz_Latn_UZ' => array('uz', 'UZ', 'Latn', 0, 27, 0, 13), //'vai_Latn' => array('vai', NULL, 'Latn', 0, 29), //'vai_Latn_LR' => array('vai', 'LR', 'Latn', 0, 29, 1, 'LR'), //'vai_Vaii' => array('vai', NULL, 'Vaii', 0, 28), //'vai_Vaii_LR' => array('vai', 'LR', 'Vaii', 0, 28, 1, 'LR'), //'zgh_Tfng' => array('zgh', NULL, 'Tfng', 1, 'zgh', 0, 11), //'zgh_Tfng_MA' => array('zgh', 'MA', 'Tfng', 1, 'zgh', 1, 'MA'), 'zh_CN' => ['zh', 'CN', NULL, 1, 'zh', 1, 'CN'], //'zh_Hans' => array('zh', NULL, 'Hans', 1, 'zh'), //'zh_Hant' => array('zh', NULL, 'Hant', 1, 'zh'), //'zh_HK' => array('zh', 'HK', NULL, 1, 'zh', 1, 'HK'), //'zh_MO' => array('zh', 'MO', NULL, 1, 'zh', 1, 'MO'), 'zh_SG' => ['zh', 'SG', NULL, 1, 'zh', 1, 'SG'], 'zh_TW' => ['zh', 'TW', NULL, 1, 'zh', 0, 9], ]
protected static string[] $exceptionsLangs

Exceptional language names without any language codes.

Exceptional language names without any language codes.

# [ //0 => 'Azerbaijani (Cyrillic)', 1 => 'Azerbaijani (Latin)', //2 => 'Bamanankan (Latin)', //3 => 'Bosnian (Cyrillic)', 4 => 'Bosnian (Latin)', //5 => 'Central Atlas Tamazight (Latin)', //6 => 'Cherokee', 7 => 'Hausa (Latin)', 8 => 'Inuktitut (Latin)', //9 => 'Inuktitut (Syllabics)', //10 => 'Javanese', //11 => 'K\'iche', //12 => 'Kashmiri', //13 => 'Macedonian', 14 => 'Mongolian (Cyrillic)', 15 => 'Mongolian (Traditional Mongolian)', //16 => 'Ossetian', //17 => 'Serbian (Cyrillic)', 18 => 'Serbian (Latin)', //19 => 'Shona', //20 => 'Sindhi', //21 => 'Tachelhit', //22 => 'Tachelhit (Latin)', //23 => 'Tajik (Cyrillic)', //24 => 'Tamazight (Latin)', //25 => 'Uzbek', //26 => 'Uzbek (Cyrillic)', 27 => 'Uzbek (Latin)', //28 => 'Vai', //29 => 'Vai (Latin)', ]
protected static string[] $exceptionsLocales

Exceptional territory names without any territory codes.

Exceptional territory names without any territory codes.

# [ //0 => 'Azerbaijan', 1 => 'Bosnia and Herzegovina', //2 => 'Latin', 3 => 'Mongolia', //4 => 'Montenegro', 5 => 'Norway', //6 => 'Perso-Arabic', //7 => 'Serbia', //8 => 'Serbia and Montenegro (Former)', 9 => 'Taiwan', //10 => 'Tajikistan', //11 => 'Tifinagh', //12 => 'Uzbekistan', ]
protected static string[] $LANGS

Opposite array to translate windows system locale value back into application locale value, with keys by windows languages names and with values by languages codes.

Opposite array to translate windows system locale value back into application locale value, with keys by windows languages names and with values by languages codes.

# []
protected static string[] $LOCALES

Opposite array to translate windows system locale value back into application locale value, with keys by windows territory names and with values by territory codes.

Opposite array to translate windows system locale value back into application locale value, with keys by windows territory names and with values by territory codes.

# []
protected static string[] $SCRIPTS

Opposite array to translate windows system locale value back into application locale value, with keys by script names and with values by script codes.

Opposite array to translate windows system locale value back into application locale value, with keys by script names and with values by script codes.

# []
protected static string[] $EXCEPTIONS

Opposite array to translate windows system locale value back into application locale value, with keys by language name and territory name cobination and with values as exception indexes into static::$exceptions array.

Opposite array to translate windows system locale value back into application locale value, with keys by language name and territory name cobination and with values as exception indexes into static::$exceptions array.

# []
protected static boolean $windowsPlatform

TRUE if current platform is any windows system, FALSE otherwise.

TRUE if current platform is any windows system, FALSE otherwise.

# FALSE
protected static string[]|bool[] $rawSystemValues

Cache array with currently set system locale values, indexed by locale categories. (LC_ALL, LC_CTYPE...)

Cache array with currently set system locale values, indexed by locale categories. (LC_ALL, LC_CTYPE...)

# []
protected static stdClass|null $allSystemValues

Cache property with currently set parsed system locale for all categories.

Cache property with currently set parsed system locale for all categories.

# NULL
protected static stdClass[] $parsedSystemValues

Cache array with currently set parsed system locale values, indexed by locale categories. (LC_ALL, LC_CTYPE...)

Cache array with currently set parsed system locale values, indexed by locale categories. (LC_ALL, LC_CTYPE...)

# []
protected static string[] $categories

System locale categories names to parse all set system locale categories properly.

System locale categories names to parse all set system locale categories properly.

# [ 0 => 'LC_CTYPE', 1 => 'LC_NUMERIC', 2 => 'LC_TIME', 3 => 'LC_COLLATE', 4 => 'LC_MONETARY', 5 => 'LC_MESSAGES', 6 => 'LC_ALL', ]
MvcCore API Documentation API documentation generated by ApiGen