class CheckboxPrivate (View source)

The checkbox component to make a page private.

Methods

static string
render(string $key, string $private = false)

Create a checkbox to make a page private.

Details

static string render(string $key, string $private = false)

Create a checkbox to make a page private.

Parameters

string $key
string $private

Return Value

string The HTML for the private input field