SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class AttrEditorTextbox

Specialised text input field for page attributes

Functions

NameVisibilityDescription
renderpublicReturn HTML for editing the attribute.

public render

unknown $AttrEditorTextbox->render ( string $val , string $attr_name );

Return HTML for editing the attribute.
Your attribute needs to return HTML for a single input element.
The field name for the element needs to be 'value'.