Classification
MMO\core\attributes · 1 symbole · générée le 30 Nov 2026
Classification
Classification.php:32How sensitive the data of an entity, or of one of its properties, is (ISO/IEC 27001 A.5.12, A.5.13): public, interne (the default), personnel (data about a person: a name, an address, a birth date) or sante (health data: a lesion, a certificate, an occupational disease). Read by tArrayProperties into the classification keyword of the schemas, and answered by Schema::classificationOf (one property) and Schema::getClassification (the entity, its most sensitive property included).
- Espace de noms
MMO\core\attributes
Index
| DEFAULT | the level of what declares none | |
| HEALTH | ||
| INTERNAL | ||
| LEVELS | the levels, from the least sensitive to the most | |
| PERSONAL | ||
| PUBLIC | ||
| level readonly | ||
| Check($level) static | ||
| IsPersonal($level) static | ||
| Marking($level) static | The marking of a document holding data of $level (ISO/IEC 27001 A.5.13): its footer, translated in the current language. | |
| Max($levels) static | ||
| OfClass($class) static | The class-level classification of $class: its own attribute, else its nearest parent's | |
| Rank($level) static | ||
| __construct($level) |
Constantes6
DEFAULT
the level of what declares none
HEALTH
INTERNAL
LEVELS
the levels, from the least sensitive to the most
PERSONAL
PUBLIC
Propriétés1
level
readonly- Type
- string
Méthodes7
Check($level)
staticClassification.php:55IsPersonal($level)
staticClassification.php:89| $level | string | |
| retourne | bool | true for data about a person (personnel and sante): what is masked, logged when read, and marked |
Marking($level)
staticClassification.php:100The marking of a document holding data of $level (ISO/IEC 27001 A.5.13): its footer, translated in the current language. What an export (xlsx, pdf) of a collection prints (RepositoryController::routeGet).
Max($levels)
staticClassification.php:76OfClass($class)
staticClassification.php:115The class-level classification of $class: its own attribute, else its nearest parent's