SproutCMS

This is the code documentation for the SproutCMS project

function render()

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'.

Usage

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

Arguments

  1. string $val
    The current value of the attribute
  2. string $attr_name
    The name of the attribute