| <!DOCTYPE html> |
| <html> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| <meta name="generator" content="ApiGen 2.8.0" /> |
| |
| <title>Class LoggerConfigurationAdapterPHP | Apache log4php</title> |
| |
| <script type="text/javascript" src="resources/combined.js?238209907"></script> |
| <script type="text/javascript" src="elementlist.js?4055067042"></script> |
| <link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" /> |
| |
| <script type="text/javascript"> |
| var _gaq = _gaq || []; |
| _gaq.push(['_setAccount', "UA-26177991-1"]); |
| _gaq.push(['_trackPageview']); |
| |
| (function() { |
| var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; |
| ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; |
| var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); |
| })(); |
| </script> |
| </head> |
| |
| <body> |
| <div id="left"> |
| <div id="menu"> |
| <a href="index.html" title="Overview"><span>Overview</span></a> |
| |
| |
| <div id="groups"> |
| <h3>Packages</h3> |
| <ul> |
| <li class="active"><a href="package-log4php.html">log4php<span></span></a> |
| <ul> |
| <li><a href="package-log4php.appenders.html">appenders</a> |
| </li> |
| <li class="active"><a href="package-log4php.configurators.html">configurators</a> |
| </li> |
| <li><a href="package-log4php.filters.html">filters</a> |
| </li> |
| <li><a href="package-log4php.helpers.html">helpers</a> |
| </li> |
| <li><a href="package-log4php.layouts.html">layouts</a> |
| </li> |
| <li><a href="package-log4php.pattern.html">pattern</a> |
| </li> |
| <li><a href="package-log4php.renderers.html">renderers</a> |
| </li> |
| </ul></li> |
| </ul> |
| </div> |
| |
| <hr /> |
| |
| |
| <div id="elements"> |
| <h3>Classes</h3> |
| <ul> |
| <li><a href="class-LoggerConfigurationAdapterINI.html">LoggerConfigurationAdapterINI</a></li> |
| <li class="active"><a href="class-LoggerConfigurationAdapterPHP.html">LoggerConfigurationAdapterPHP</a></li> |
| <li><a href="class-LoggerConfigurationAdapterXML.html">LoggerConfigurationAdapterXML</a></li> |
| </ul> |
| |
| <h3>Interfaces</h3> |
| <ul> |
| <li><a href="class-LoggerConfigurationAdapter.html">LoggerConfigurationAdapter</a></li> |
| </ul> |
| |
| |
| |
| |
| </div> |
| </div> |
| </div> |
| |
| <div id="splitter"></div> |
| |
| <div id="right"> |
| <div id="rightInner"> |
| <form id="search"> |
| <input type="hidden" name="cx" value="" /> |
| <input type="hidden" name="ie" value="UTF-8" /> |
| <input type="text" name="q" class="text" /> |
| <input type="submit" value="Search" /> |
| </form> |
| |
| <div id="navigation"> |
| <ul> |
| <li> |
| <a href="index.html" title="Overview"><span>Overview</span></a> |
| </li> |
| <li> |
| <a href="package-log4php.configurators.html" title="Summary of log4php\configurators"><span>Package</span></a> |
| </li> |
| <li class="active"> |
| <span>Class</span> </li> |
| </ul> |
| <ul> |
| <li> |
| <a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a> |
| </li> |
| </ul> |
| <ul> |
| </ul> |
| </div> |
| |
| <div id="content" class="class"> |
| <h1>Class LoggerConfigurationAdapterPHP</h1> |
| |
| |
| <div class="description"> |
| |
| <p>Converts PHP configuration files to a PHP array.</p> |
| |
| <p>The file should only hold the PHP config array preceded by "return".</p> |
| |
| <p>Example PHP config file:</p> |
| |
| <pre> |
| <span class="xlang"><?php</span> |
| <span |
| class="php-keyword1">return</span> <span |
| class="php-keyword1">array</span>( |
| <span |
| class="php-quote">'rootLogger'</span> => <span |
| class="php-keyword1">array</span>( |
| <span |
| class="php-quote">'level'</span> => <span |
| class="php-quote">'info'</span>, |
| <span |
| class="php-quote">'appenders'</span> => <span |
| class="php-keyword1">array</span>(<span |
| class="php-quote">'default'</span>) |
| ), |
| <span |
| class="php-quote">'appenders'</span> => <span |
| class="php-keyword1">array</span>( |
| <span |
| class="php-quote">'default'</span> => <span |
| class="php-keyword1">array</span>( |
| <span |
| class="php-quote">'class'</span> => <span |
| class="php-quote">'LoggerAppenderEcho'</span>, |
| <span |
| class="php-quote">'layout'</span> => <span |
| class="php-keyword1">array</span>( |
| <span |
| class="php-quote">'class'</span> => <span |
| class="php-quote">'LoggerLayoutSimple'</span> |
| ) |
| ) |
| ) |
| ) |
| <span |
| class="xlang">?></span> |
| </pre> |
| |
| </div> |
| |
| <dl class="tree"> |
| <dd style="padding-left:0px"> |
| <b><span>LoggerConfigurationAdapterPHP</span></b> |
| implements |
| <a href="class-LoggerConfigurationAdapter.html"><span>LoggerConfigurationAdapter</span></a> |
| |
| |
| </dd> |
| </dl> |
| |
| |
| |
| |
| |
| |
| |
| |
| <div class="info"> |
| |
| |
| |
| <b>Package:</b> <a href="package-log4php.html">log4php</a>\<a href="package-log4php.configurators.html">configurators</a><br /> |
| |
| <b>License:</b> |
| <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a><br /> |
| <b>Version:</b> |
| $Revision: 1343601 $<br /> |
| <b>Since:</b> |
| 2.2<br /> |
| <b>Located at</b> <a href="source-class-LoggerConfigurationAdapterPHP.html#21-83" title="Go to source code">configurators/LoggerConfigurationAdapterPHP.php</a><br /> |
| </div> |
| |
| |
| |
| <table class="summary" id="methods"> |
| <caption>Methods summary</caption> |
| <tr data-order="convert" id="_convert"> |
| |
| <td class="attributes"><code> |
| public |
| |
| |
| </code> |
| </td> |
| |
| <td class="name"><div> |
| <a class="anchor" href="#_convert">#</a> |
| <code><a href="source-class-LoggerConfigurationAdapterPHP.html#54-82" title="Go to source code">convert</a>( <span>mixed <var>$url</var></span> )</code> |
| |
| <div class="description short"> |
| |
| <p>Converts the configuration file to PHP format usable by the configurator.</p> |
| |
| </div> |
| |
| <div class="description detailed hidden"> |
| |
| <p>Converts the configuration file to PHP format usable by the configurator.</p> |
| |
| |
| |
| |
| |
| |
| |
| |
| <h4>Implementation of</h4> |
| <div class="list"><code><a href="class-LoggerConfigurationAdapter.html#_convert">LoggerConfigurationAdapter::convert()</a></code></div> |
| </div> |
| </div></td> |
| </tr> |
| </table> |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| </div> |
| |
| <div id="footer"> |
| Apache log4php API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a> |
| </div> |
| </div> |
| </div> |
| </body> |
| </html> |