Base class for the backend of the extensible link system: Lnk
This is the code documentation for the SproutCMS project
Search documentation |
class LinkSpecBase class for the backend of the extensible link system: Lnk
Functions
public getAttrsarray $LinkSpec->getAttrs ( mixed $specdata ); Get any extra html attributes to use for a given link public getEditFormvoid $LinkSpec->getEditForm ( mixed $field_name , mixed $curr_specdata ); Get the HTML to use for editing a given linkspec The HTML should create a HTML field with the name $field_name If there is a spec currently being edited, the specdata will be provided in $curr_specdata public getUrlvoid $LinkSpec->getUrl ( mixed $specdata ); Get the URL for a given link public isValidvoid $LinkSpec->isValid ( mixed $specdata ); Validate the submission, for instances where certain constraints apply public loadNeedsvoid $LinkSpec->loadNeeds ( ); If there are any Needs calls that the edit form requires, they should be loaded here |
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Wednesday, 5th August, 2026 at 03:31 pm |
|