Project

General

Profile

1
<?php
2
/**
3
 *
4
 * @category        modules
5
 * @package         output_filter
6
 * @copyright       Manuela v.d.Decken <manuela@isteam.de>
7
 * @author          Manuela v.d.Decken <manuela@isteam.de>
8
 * @link            http://websitebaker.org/
9
 * @license         http://www.gnu.org/licenses/gpl.html
10
 * @platform        WebsiteBaker 2.8.3-SP4 and higher
11
 * @requirements    PHP 5.3.6 and higher
12
 *
13
 */
14
/* ****************************************************************** */
15
/**
16
 * execute the frontend output filter
17
 * @param  string $sContent actual content
18
 * @return string modified content
19
 */
20
    function executeFrontendOutputFilter($sContent)
21
    {
22
        if (!function_exists('OutputFilterApi')) {
23
            include __DIR__.'/OutputFilterApi.php';
24
        }
25
        return OutputFilterApi(
26
            array(
27
                'WbLink',
28
                'ReplaceSysvar',
29
                'CssToHead',
30
/* ****************************************************************** */
31
/* *** from here insert ordered requests of individual filters    *** */
32
/* ***                                                            *** */
33
/**/
34
                'ScriptVars',
35
                'LoadOnFly',
36
                'Jquery',
37
                'SnippetJs',
38
                'FrontendJs',
39
                'Droplets',
40
                'Email',
41
                'OpF',
42
/* ***                                                            *** */
43
/* *** end of individual filters                                  *** */
44
/* ****************************************************************** */
45
                'WbLink',
46
                'ReplaceSysvar',
47
                'RelUrl',
48
            ),
49
            $sContent
50
        );
51
    }
(7-7/14)