webmcp
view framework/env/slot/put.lua @ 34:e19b0b5c46ba
allow execptions an slot.reset_all()
this is usefull when an error is detected deep into a view where you want redirect
to something usefull, but still save some slots like notice and error slots
this is usefull when an error is detected deep into a view where you want redirect
to something usefull, but still save some slots like notice and error slots
author | Daniel Poelzleithner <poelzi@poelzi.org> |
---|---|
date | Wed Oct 06 16:14:33 2010 +0200 (2010-10-06) |
parents | 9fdfb27f8e67 |
children | b0f5e7955ffd |
line source
1 --[[--
2 slot.put(
3 string1, -- string to be written into the active slot
4 string2, -- another string to be written into the active slot
5 ...
6 )
8 This function is used to write strings into the active slot.
10 -- NOTE: ACCELERATED FUNCTION
11 -- Do not change unless also you also update webmcp_accelerator.c
13 --]]--
15 function slot.put(...)
16 return slot.put_into(slot._active_slot, ...)
17 end