Skip to content
Corex

ActivitySentences

Corex\Config\Activity\ActivitySentences · class · Config layer

What happened, in a sentence a site owner reads (spec 118, US-OVR-07). The one source of activity wording: the Overview’s recent activity, the Insights security card and the Access audit log all ask it, so the same event reads the same everywhere. The person is named by their display name today, read from WordPress, not the label the record kept (“User #7”); somebody who no longer exists is “A deleted user”. A kind with no sentence yet reads “Something changed in ”, never its key. Where the object of the event can still be opened, the sentence carries a link to it.

refused(string $who, string $screen): string

Section titled “refused(string $who, string $screen): string”

A refusal of a CoreX screen, as the Access audit log and the activity log both say it.

refusedRecords(string $who, string $model): string

Section titled “refusedRecords(string $who, string $model): string”

A refusal of one data model’s records on the Data screen.

A person by their display name now, or that they are gone.