This is the code documentation for the SproutCMS project
Search documentation |
class LinkSpecInternal
Functions
public getAttrsarray $LinkSpecInternal->getAttrs ( mixed $specdata ); Get any extra html attributes to use for a given link public getEditFormunknown $LinkSpecInternal->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 getUrlunknown $LinkSpecInternal->getUrl ( mixed $specdata ); Get the URL for a given link public isValidunknown $LinkSpecInternal->isValid ( mixed $specdata ); Validate the submission, for instances where certain constraints apply public loadNeeds (from LinkSpec)void $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 |
|