Package bscw ::
Package api ::
Package poll ::
Module ap_pollparams
|
|
Module ap_pollparams
edit a poll object
returns id of new poll
API definition::
API = (('object_id', 'ASCII string', 1),
('heading', 'Unicode string', 0),
('public', 'boolean', 0),
('numbering', 'boolean', 0),
('store_responses', 'boolean', 0),
('width', 'int', 0),
('view_result', 'int', 0),
('vote_start', 'dateTime.iso8601', 0),
('vote_end', 'dateTime.iso8601', 0),
('template', 'Unicode string', 0),
('stylesheet', 'Unicode string', 0))
(c) Fraunhofer FIT, 2004
|
param_def()
return the parameter definition |
|
|
|
do_it(request,
object_id,
heading=None,
public=False,
numbering=False,
store_responses=True,
width=400,
view_result=3,
vote_start=None,
vote_end=None,
template='
' ,
stylesheet='
' ) |
|
|
|
handle_it(request,
object,
heading=None,
public=False,
numbering=False,
store_responses=True,
width=400,
view_result=3,
vote_start=None,
vote_end=None,
template='
' ,
stylesheet='
' ) |
|
|
|
set_if_necessary(object,
attr,
val) |
|
|
|
exec_it(request,
object,
heading=None,
public=False,
numbering=False,
store_responses=True,
width=400,
view_result=3,
vote_start=None,
vote_end=None,
template='
' ,
stylesheet='
' ) |
|
|
|
__package__ = ' bscw.api.poll '
|