This is the code documentation for the SproutCMS project
| Search documentation | class LinkSpecDocument
 Functions
 public getAttrsarray $LinkSpecDocument->getAttrs (  mixed $specdata  ); Get any extra html attributes to use for a given link public getEditFormunknown $LinkSpecDocument->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 $LinkSpecDocument->getUrl (  mixed $specdata  ); Get the URL for a given link public isValidunknown $LinkSpecDocument->isValid (  mixed $specdata  ); Validate the submission, for instances where certain constraints apply public loadNeedsvoid $LinkSpecDocument->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: Monday, 3rd April, 2023 at 02:59 pm |   |