Is this really correct? I found it in database.inc -> define_type('databaserows', -namespace='knop_');
define_tag('onconvert', -description='Output the current record as a plain array of field values'); !local_defined('recordindex') ? local('recordindex'=(self -> 'current_record')); #recordindex < 1 ? #recordindex = 1; if(#recordindex >= 1 && #recordindex <= (self -> 'records_array' -> size)); return(self -> 'records_array' -> get(#recordindex)); /if; /define_tag;
Can't see how the local recordindex ever could be defined since it's not used as a param for the tag. Is that a bug?
HDB Jolle -- ############################################################# This message is sent to you because you are subscribed to the mailing list <knop@lists.montania.se>. To unsubscribe, E-mail to: <knop-off@lists.montania.se> Send administrative queries to <knop-request@lists.montania.se> List archive http://www.nabble.com/Knop-Framework-Discussion-f29076.html Project homepage http://montania.se/projects/knop/ Google Code has the latest downloads at http://code.google.com/p/knop/
Jul 30
Johan Solve Re: Strange tag found in knop_ databaserows
Jul 30, 2010; 20:26
Johan Solve
Re: Strange tag found in knop_ databaserows
Search
Lasso Programming
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!