Specialised multiline text input field for page attributes
This is the code documentation for the SproutCMS project
Search documentation |
class AttrEditorMultilineSpecialised multiline text input field for page attributes
Extending this class<?php /** * New class description goes here * * @author Your Name, 2024-11-25 **/ class NewClassName extends AttrEditorMultiline { /** * 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'. **/ public function render (string $val, string $attr_name) { // Method code goes here } } ?> |
Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Monday, 3rd April, 2023 at 02:59 pm |