API / Minn\Admin / MetaBoxMarkup

MetaBoxMarkup final class

Minn\Admin\MetaBoxMarkup · public/minn/src/Minn/Admin/MetaBoxMarkup.php · 23 lines

A meta box's frame as do_meta_boxes prints it on the reference (probe admin-doubts): a labelled region, its title as a heading the three handle buttons (move up, move down, show or hide) describe, each with its tooltip, then the box's inside, which the caller fills.

Public

staticopen(string $id, string $title, string $classes): string#

The box up to the start of its inside: the region, the header with its title, and the handle buttons.

Internals 1

Private and protected methods: how the class does its work. Not a contract; they change whenever the code is tidied.

privatebutton(string $id, string $class, string $indicator, string $label, string $tip, string $extra): string#

One handle button and its tooltip.