SettingsForm
class SettingsForm
Methods
Check for incoming settings post data
Handle incoming settings post data
Emit a properly styled "settings" button
Emit a properly styled "settings" button
Emit a properly styled "settings" link
Return the attributes to add to a tag to connect to activate the settings modal
No description
Finish the form output
Handle a settings selector box
Handle a settings text box
Handle a settings number box
Handle a settings textarea box
Handle a settings checkbox
Get the due data data in an object
Show a due date delta in reasonable units
Emit the text and form fields to support due dates
Emit the text and form fields to support the done option
Details
at line 29
static boolean
isSettingsPost()
Check for incoming settings post data
at line 47
static boolean
handleSettingsPost()
Handle incoming settings post data
at line 74
static
buttonText($right = false)
Emit a properly styled "settings" button
This is just the button, using the pencil icon. Wrap in a span or div tag if you want to move it around
at line 92
static
button($right = false)
Emit a properly styled "settings" button
This is just the button, using the pencil icon. Wrap in a span or div tag if you want to move it around
at line 103
static
link($right = false)
Emit a properly styled "settings" link
This is just the link, using the pencil icon and label.
at line 120
static
attr()
Return the attributes to add to a tag to connect to activate the settings modal
at line 126
static
start()
at line 154
static
end($ajax = false)
Finish the form output
at line 207
static
select(string $name, string $default = false, array $fields = false)
Handle a settings selector box
at line 253
static
text($name, $title = false)
Handle a settings text box
at line 282
static
number($name, $title = false)
Handle a settings number box
at line 311
static
textarea($name, $title = false)
Handle a settings textarea box
at line 339
static
checkbox($name, $title = false)
Handle a settings checkbox
at line 388
static
getDueDate()
Get the due data data in an object
at line 448
static
getDueDateDelta($time)
Show a due date delta in reasonable units
at line 465
static
dueDate()
Emit the text and form fields to support due dates
at line 522
static
done()
Emit the text and form fields to support the done option