Subversion Repositories pageflip

[/] [modules/] [pageflip/] [show.php] - Blame information for rev 1

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1 bartman3000
<?php
2
 
3
$Module = $Params['Module'];
4
$nodeID = $Params['NodeID'];
5
$contentObject  = eZContentObject::fetchByNodeId( $nodeID );
6
 
7
$tpl = eZTemplate::factory();
8
$tpl->setVariable( 'node', $contentObject->mainNode() );
9
$templateResult = $tpl->fetch( 'extension/pageflip/design/standard/override/templates/pageflip/show.tpl');
10
 
11
$Result = array();
12
$Result['content'] = $templateResult;
13
$Result['pagelayout'] = false;
14
 
15
?>