Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
guyc committed May 23, 2012
1 parent 83f34e1 commit afcbd69
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,14 @@ Foml::RenderInline('templates/report-template.foml', array('var'=$value, ...));
```

```Foml::RenderInline($Template, $ArgsAssocArray)```
### ```Foml::RenderInline($Template, $ArgsAssocArray)```

Expands the FOML document file named by $Template, making the values passed in $ArgsAssocArray available
as local variables during the expansion. Finally the resulting PDF document is streamed inline. Generally
this will cause the PDF to open in the viewers browser window.

```Foml::RenderAttachment($Template,$Filename,$ArgsAssocArray)```
### ```Foml::RenderAttachment($Template,$Filename,$ArgsAssocArray)```

Expands the FOML document file named by $Template, making the values passed in $ArgsAssocArray available
as local variables during the expansion. Finally the resulting PDF document is streamed as an attachment
with the $Filename supplied as the default filename. Generally this will cause browser to prompt the user
Expand Down

0 comments on commit afcbd69

Please sign in to comment.