Core class used to store singleton instances.

since 1.0.0
package GlotPress

 Properties

 

Model for administrator permission.

$administrator_permission : \GP_Administrator_Permission

Default

Static
since 1.0.0
 

Singleton for built-in translation errors.

$builtin_translation_errors : \GP_Builtin_Translation_Errors

Default

Static
since 4.0.0
 

Singleton for built-in translation warnings.

$builtin_translation_warnings : \GP_Builtin_Translation_Warnings

Default

Static
since 1.0.0
 

Holds the current route.

$current_route : string | null

Default

null
Static
since 1.0.0
 

Array of available formats.

$formats : array<mixed,\GP_Format>

Default

Static
since 1.0.0
 

Model for glossary.

$glossary : \GP_Glossary

Default

Static
since 1.0.0
 

Model for glossary entry.

$glossary_entry : \GP_Glossary_Entry

Default

Static
since 1.0.0
 

Model for original.

$original : \GP_Original

Default

Static
since 1.0.0
 

Model for permission.

$permission : \GP_Permission

Default

Static
since 1.0.0
 

Model for project.

$project : \GP_Project

Default

Static
since 1.0.0
 

Array of notices.

$redirect_notices : array

Default

array()
Static
since 1.0.0
 

Singleton for router.

$router : \GP_Router

Default

Static
since 1.0.0
 

Array of enqueued scripts.

$scripts : array

Default

array()
Static
since 2.2.0
 

Array of enqueued style sheets.

$styles : array

Default

array()
Static
since 2.2.0
 

Model for translation.

$translation : \GP_Translation

Default

Static
since 1.0.0
 

Singleton for translation errors.

$translation_errors : \GP_Translation_Errors

Default

Static
since 4.0.0
 

Model for transalation set.

$translation_set : \GP_Translation_Set

Default

Static
since 1.0.0
 

Singleton for translation warnings.

$translation_warnings : \GP_Translation_Warnings

Default

Static
since 1.0.0
 

Model for validator permission.

$validator_permission : \GP_Validator_Permission

Default

Static
since 1.0.0