[ Index ]
 

Code source de vtiger CRM 5.0.2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/log4php/xml/ -> LoggerDOMConfigurator.php (sommaire)

log4php is a PHP port of the log4j java logging package. <p>This framework is based on log4j (see {@link http://jakarta.apache.org/log4j log4j} for details).</p> <p>Design, strategies and part of the methods documentation are developed by log4j team (Ceki Gülcü as log4j project founder and {@link http://jakarta.apache.org/log4j/docs/contributors.html contributors}).</p>

Poids: 609 lignes (25 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

LoggerDOMConfigurator:: (10 méthodes):
  LoggerDOMConfigurator()
  configure()
  doConfigure()
  doConfigureByString()
  doConfigureDefault()
  parse()
  tagOpen()
  tagClose()
  setter()
  subst()


Classe: LoggerDOMConfigurator  - X-Ref

Use this class to initialize the log4php environment using expat parser.

<p>Read the log4php.dtd included in the documentation directory. Note that
php parser does not validate the document.</p>

<p>Sometimes it is useful to see how log4php is reading configuration
files. You can enable log4php internal logging by setting the <var>debug</var>
attribute in the <var>log4php:configuration</var> element. As in
<pre>
&lt;log4php:configuration <b>debug="true"</b> xmlns:log4php="http://www.vxr.it/log4php/">
...
&lt;/log4php:configuration>
</pre>

<p>There are sample XML files included in the package under <b>tests/</b>
subdirectories.</p>

LoggerDOMConfigurator()   X-Ref
Constructor


configure($url = '')   X-Ref
Configure the default repository using the resource pointed by <b>url</b>.
<b>Url</b> is any valid resurce as defined in {@link PHP_MANUAL#file} function.
Note that the resource will be search with <i>use_include_path</i> parameter
set to "1".

param: string $url

doConfigure($url = '', &$repository)   X-Ref
Configure the given <b>repository</b> using the resource pointed by <b>url</b>.
<b>Url</b> is any valid resurce as defined in {@link PHP_MANUAL#file} function.
Note that the resource will be search with <i>use_include_path</i> parameter
set to "1".

param: string $url
param: LoggerHierarchy &$repository

doConfigureByString($xmlData, &$repository)   X-Ref
Configure the given <b>repository</b> using the configuration written in <b>xmlData</b>.
Do not call this method directly. Use {@link doConfigure()} instead.

param: string $xmlData
param: LoggerHierarchy &$repository

doConfigureDefault(&$repository)   X-Ref

param: LoggerHierarchy &$repository

parse($xmlData, &$repository)   X-Ref

param: string $xmlData

tagOpen($parser, $tag, $attribs)   X-Ref

param: mixed $parser
param: string $tag
param: array $attribs

tagClose($parser, $tag)   X-Ref

param: mixed $parser
param: string $tag

setter(&$object, $name, $value)   X-Ref

param: object $object
param: string $name
param: mixed $value

subst($value)   X-Ref
Pas de description



Généré le : Sun Feb 25 10:22:19 2007 par Balluche grâce à PHPXref 0.7