February 1, 2010

more template changes

Filed under: ZenMagick — DerManoMann @ 4:12 am

I checked in the last batch of changes to templates (and other code) relating to the removal of the $echo parameter that was still left in toolbox methods.

According to the number of vim temp files generated this affected a total of 206 files, 82 within the default theme. I’ve documented all methods affected in the changelog, so it is just a matter of finding all calls and depending on the context where the method is used to:

  • Add echo in front of the method call; for example: echo $net->url('index');
  • If the method is used as part of string concatenation, remove the last false parameter; example: $url = $net->url('index').'?foo=bar';

As some consolation I’d like to add that this is most likely the last major change to templates, unless I’ve missed something. I might still shuffle toolbox classes around a bit and see if things can be merged, perhaps macros and utils? We’ll see.

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.