Specialised file selector input field for page attributes
This is the code documentation for the SproutCMS project
Search documentation |
class AttrEditorFilenameSpecialised file selector input field for page attributes
Functions
public javascriptunknown $AttrEditorFilename->javascript ( mixed $val , mixed $attr_name ); If you have any custom javascript to run, return it using this method. When your script runs, take a look at the $outer variable. public needsvoid $AttrEditorFilename->needs ( ); If your class has script needs, load them in here. This is run on page load, not on ajax request. public renderunknown $AttrEditorFilename->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'. |
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 |