RE: RE: RE: RE: AW: [SMARTY] Paging
| From: | Ben Phillips | Date: | Thu, 12 Dec 2002 13:19:19 +0000 |
| Subject: | RE: RE: RE: RE: AW: [SMARTY] Paging | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6757@lists.php.net to get a copy of this message | ||
> By submitting a query for it? i.e. mypage.php?perpage=20, or
> by creating a form with a "perpage" field ... this way, any
> safety and defaults you implement for your arguments, for the
> end user, shield the designer from the mechanics as well ...
but this would allow the end user to change the settings as well, which
could be an unwanted feature.
the designer is hidden from the mechanics, all they have to do is put
one line of smarty code to call the plugin. then they loop through the
results as if they had been set by the php programmer. what else do they
need shielding from?
benji.