Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-04-15 18:26:38

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

[wiki] How to present default limit value?

Trivial question…

I assume that if a txp function (tag) contains this for the limit attribute:

'limit'    => 0,

it means ‘all’, or ‘unset’. I noticed it should be corrected in one or two tag pages, but does anyone see an advantage in using ‘all’ over ‘unset’, or the other way around?

Offline

#2 2009-04-16 08:54:57

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,821
Website GitHub

Re: [wiki] How to present default limit value?

Els wrote:

does anyone see an advantage in using ‘all’ over ‘unset’, or the other way around?

Hmmm, good question. What about something like Default: 0 (no limit)? Or is that confusing?

Last edited by Bloke (2009-04-16 08:55:22)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB