Content last modified Monday 6 March 2017
hop to #bottom
Categories:
Author:
About It:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

rah_format_size

This plugin has been superseded by rah_function. Since Textpattern version 4.5.0 r4027 the core has offered it’s own file size formatting function, format_filesize. As there is a general function available for this, rah_function can now be used to do the same and more as the old rah_format_size could.

As of r4027 rah_function can be used to format a numeric byte value:

<txp:rah_function call="format_filesize" bytes="107895" />

You can use the following to calculate a contained statements size using rah_function:

<txp:rah_function call="strlen, format_filesize">
	...contained statement...
</txp:rah_function>
Article Request Count:

Archived [?]: superseded, built-in

Keywords/tags:
Initially released:
2009/12
Posted here:
11 Jan 2010
Article modified:
30 Aug 2012

If there is a comment form at the Information URL, you may want to leave your comments/questions there for quicker feedback. Otherwise, comment away:

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.
Published with Textpattern