Forum OpenACS Development: Re: Callbacks

Collapse
5: Re: Callbacks (response to 1)
Posted by Mark Aufflick on
Malte, to give your example callback specification documentation:
ad_proc -public -callback contact::organization_new {
    {-package_id:required}
    {-contact_id:required}
    {-name:required}
} {
      Normal ad_proc style documentation goes here
      
      @param package_id The id of the package
       etc...
} -
As per the ad_proc documentation, the - on the end is effectively a null code block, thus meaning that this is a 3 block style ad_proc and the second block is the documentation block.