WebGUI
      Click here to register.
      
View Cart (0)
Bazaar

View All Tickets
Macro process() documentation error  (#3138)
IssueThe API docs for Macro.pm say that process() receives 2 arguments--session and reference to $html. I don't think this is right from looking at AdminToggle.pm. It receives session then its macro parameters.
Solution Summary
Comments
colink
0
5/2/2007 4:22 pm

WebGUI::Macro->process does take exactly two arguments.  $session and a reference to the HTML to be processed.

Inside of process, it parses out the macros and processes them individually by calling each with a Session variable and all the parameters from the macro instanciation.  The docs are correct.

Closing as not a bug. 

Details
Ticket Status Closed  
Rating0.0 
Submitted Byknowmad 
Date Submitted2007-05-02 
Assigned To unassigned  
Date Assigned2008-10-10 
Assigned By 
Severity Cosmetic (misspelling, formatting problems)  
What's the bug in?  
WebGUI / WRE Version 7.3.15  
URLbugs/tracker/macro-process-documentation-error
Keywords
Ticket History