Line | |
---|
1 | <?php |
---|
2 | // auto-generated by sfFilterConfigHandler |
---|
3 | // date: 2009/07/01 13:11:09 |
---|
4 | |
---|
5 | |
---|
6 | list($class, $parameters) = (array) sfConfig::get('sf_rendering_filter', array('sfRenderingFilter', array ( |
---|
7 | ))); |
---|
8 | $filter = new $class(sfContext::getInstance(), $parameters); |
---|
9 | $this->register($filter); |
---|
10 | |
---|
11 | // does this action require security? |
---|
12 | if ($actionInstance->isSecure()) |
---|
13 | { |
---|
14 | |
---|
15 | list($class, $parameters) = (array) sfConfig::get('sf_security_filter', array('sfBasicSecurityFilter', array ( |
---|
16 | ))); |
---|
17 | $filter = new $class(sfContext::getInstance(), $parameters); |
---|
18 | $this->register($filter); |
---|
19 | } |
---|
20 | |
---|
21 | list($class, $parameters) = (array) sfConfig::get('sf_common_filter', array('sfCommonFilter', null)); |
---|
22 | $filter = new $class(sfContext::getInstance(), $parameters); |
---|
23 | $this->register($filter); |
---|
24 | |
---|
25 | list($class, $parameters) = (array) sfConfig::get('sf_execution_filter', array('sfExecutionFilter', array ( |
---|
26 | ))); |
---|
27 | $filter = new $class(sfContext::getInstance(), $parameters); |
---|
28 | $this->register($filter); |
---|
29 | |
---|
Note: See
TracBrowser
for help on using the repository browser.