Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //create pdf file
- $contents.= "</body></html>";
- // Fire event to customoize content
- // onContentPrepare($context, &$article, &$params, $page = 0)
- $article = new stdClass();
- $article->text = $contents;
- $param = null;
- $args = array();
- $args[] = array('com_payplans.invoice', &$article, &$param, 0);
- JPluginHelper::importPlugin('content');
- XiHelperPlugin::trigger('onContentPrepare', $args);
- $contents = $article->text ;
- // Event Done.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement