Zikula_Template_Plugins
[ class tree: Zikula_Template_Plugins ] [ index: Zikula_Template_Plugins ] [ all elements ]

Source for file outputfilter.multihook.php

Documentation is available at outputfilter.multihook.php

  1. <?php
  2. /**
  3.  * Zikula Application Framework
  4.  *
  5.  * @copyright (c) 2004, Zikula Development Team
  6.  * @link http://www.zikula.org
  7.  * @version $Id: outputfilter.pagevars.php 19743 2006-08-20 20:13:38Z landseer $
  8.  * @license GNU/GPL - http://www.gnu.org/copyleft/gpl.html
  9.  * @package Zikula_Template_Plugins
  10.  * @subpackage Filters
  11.  */
  12.  
  13. /**
  14.  * Smarty outputfilter to add the invisible MultiHook divs just before the
  15.  * closing </body> tag. Security check is done in the MultiHook function called here
  16.  *
  17.  * @author    Frank Schummertz
  18.  * @param     string 
  19.  * @param     Smarty 
  20.  */
  21. function smarty_outputfilter_multihook($text&$smarty)
  22. {
  23.     $mhhelper pnModAPIFunc('MultiHook''theme''helper');
  24.     $mhhelper $mhhelper '</body>';
  25.     $text str_replace('</body>'$mhhelper$text);
  26.     // return the modified source   
  27.     return $text;
  28.     
  29. }

Documentation generated on Fri, 18 Jul 2008 21:48:02 +0200 by phpDocumentor 1.4.1