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:39:15 UTC
svn commit: r771198 -
/incubator/log4php/trunk/src/main/php/config/LoggerPropertySetter.php
Author: grobmeier
Date: Mon May 4 06:39:13 2009
New Revision: 771198
URL: http://svn.apache.org/viewvc?rev=771198&view=rev
Log:
added todo
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=771198&r1=771197&r2=771198&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:39:13 2009
@@ -73,6 +73,7 @@
* @param string $prefix Only keys having the specified prefix will be set.
* @static
*/
+ // TODO: check, if this is really useful
public static function setPropertiesByObject(&$obj, $properties, $prefix) {
$pSetter = new LoggerPropertySetter($obj);
return $pSetter->setProperties($properties, $prefix);
@@ -86,6 +87,7 @@
* @param array $properties An array containing keys and values.
* @param string $prefix Only keys having the specified prefix will be set.
*/
+ // TODO: check, if this is really useful
function setProperties($properties, $prefix) {
$len = strlen($prefix);
while(list($key,) = each($properties)) {