Just committed.  Thanks!
--Bob

On 9/21/05, Veikko Mäkinen <[EMAIL PROTECTED]> wrote:
> Hey,
>
> Thanks Bob for your quick response about logging ini parsing. I actually
> fixed myself just like you did, but I thought there was some reason to
> handle the entry as reference so unsetting the variable would fix the
> problem :)
>
> To enable layout parameter parsing is an easy hack. Just a few lines of
> code to logging/Layout.class.php and
> config/LoggingConfigHandler.class.php. I don't know how well these diffs
> are going to show in a mail but here goes...
>
>
> $ diff extensions/logging/Layout.class.php agavi/logging/Layout.class.php
> 32,49d31
> <
> <       /**
> <        * Initialize the Layout.
> <        *
> <        * @param array An array of parameters.
> <        *
> <        * @return void
> <        *
> <        * @author Veikko Mäkinen ([EMAIL PROTECTED])
> <        */
> <       public function initialize($params)
> <       {
> <               /*
> <                empty implementation so that an inheriting class doesn't
> <                have to overwrite it if no initialisation is needed.
> <               */
> <       }
> <
>
> $ diff extensions/config/LoggingConfigHandler.class.php
> agavi/config/LoggingConfigHandler.class.php
> 144,150d143
> <
> <                       /* VM 2005-09-20 */
> <                       if (isset($layout['params'])) {
> <                               $str = '$%s->initialize(%s);';
> <                               $data[] = sprintf($str,
> strtolower($name), $layout['params']);
> <                       }
> <                       /* VM */
>
>
> _______________________________________________
> agavi-dev mailing list
> [email protected]
> http://labworkz.com/cgi-bin/mailman/listinfo/agavi-dev
>
_______________________________________________
agavi-dev mailing list
[email protected]
http://labworkz.com/cgi-bin/mailman/listinfo/agavi-dev

Reply via email to