Re: [SMARTY-DEV] function.html_options.php

From: Date: Thu, 04 Apr 2002 14:25:08 +0000
Subject: Re: [SMARTY-DEV] function.html_options.php
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-18@lists.php.net to get a copy of this message
Hmm, should sorting assigned arrays be a function of the template engine? I would think that the template engine is responsible for the display of the content, but not responsible for the content structure. I'd like to hear some of your thoughts. Monte Roberto Berto wrote:
Hi guys, I change the html.options custom function. Monte, please add to the oficial release. If I has a CVS account I myself could add this, but, I alright requested it. Tell-me, Monte/Andrei, the DocBook documentation is allways up-to-date at CVS or we need send the DocBook changes to someone? Now it have a new attribute called "sort". There are 4 values to sort: keys, rkeys, vals, rvals. The purpose is sort the array options. keys - will sort the array options using the ksort, so the options will be sorted by key.
-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.

« previous php.smarty.dev (#18) next »