You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by gr...@apache.org on 2009/05/04 08:43:15 UTC

svn commit: r771201 - /incubator/log4php/trunk/src/main/php/config/LoggerPropertySetter.php

Author: grobmeier
Date: Mon May  4 06:43:14 2009
New Revision: 771201

URL: http://svn.apache.org/viewvc?rev=771201&view=rev
Log:
added phpdoc

Modified:
    incubator/log4php/trunk/src/main/php/config/LoggerPropertySetter.php

Modified: incubator/log4php/trunk/src/main/php/config/LoggerPropertySetter.php
URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/src/main/php/config/LoggerPropertySetter.php?rev=771201&r1=771200&r2=771201&view=diff
==============================================================================
--- incubator/log4php/trunk/src/main/php/config/LoggerPropertySetter.php (original)
+++ incubator/log4php/trunk/src/main/php/config/LoggerPropertySetter.php Mon May  4 06:43:14 2009
@@ -81,6 +81,12 @@
 	/**
 	 * Set the properites for the object that match the
 	 * <code>prefix</code> passed as parameter.
+	 * 
+	 * Example:
+	 * 
+	 * $arr['xxxname'] = 'Joe';
+ 	 * $arr['xxxmale'] = true;
+	 * and prefix xxx causes setName and setMale.	
 	 *
 	 * @param array $properties An array containing keys and values.
 	 * @param string $prefix Only keys having the specified prefix will be set.