EduploneExam/interfaces IExamResponse.py,1.9,1.10
Jens Klein <[email protected]>
| Newsgroups | gmane.comp.web.zope.eduplone.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/eduplone/EduploneExam/interfaces
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2254/interfaces
Modified Files:
IExamResponse.py
Log Message:
added response for session storage
Index: IExamResponse.py
===================================================================
RCS file: /cvsroot/eduplone/EduploneExam/interfaces/IExamResponse.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** IExamResponse.py 15 Dec 2004 13:56:03 -0000 1.9
--- IExamResponse.py 16 Dec 2004 11:01:20 -0000 1.10
***************
*** 12,16 ****
#
# GNU General Public Licence (GPL)
! #
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
--- 12,16 ----
#
# GNU General Public Licence (GPL)
! #
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
***************
*** 33,42 ****
class IExamResponse(Base):
'''
!
'''
#Methods
! def setQuestion(questionobject):
'''
--- 33,42 ----
class IExamResponse(Base):
'''
!
'''
#Methods
! def setQuestion(self, questionobject):
'''
***************
*** 46,50 ****
! def getQuestion():
'''
--- 46,50 ----
! def getQuestion(self, instance):
'''
***************
*** 54,58 ****
! def getQuestionTitle():
'''
--- 54,58 ----
! def getQuestionTitle(self):
'''
***************
*** 62,66 ****
! def getQuestionType():
'''
--- 62,66 ----
! def getQuestionType(self):
'''
***************
*** 70,90 ****
! def setContext(contextobject):
'''
!
'''
!
pass
! def getContext():
'''
!
'''
!
pass
! def setScore(score):
'''
--- 70,90 ----
! def setContext(self, contextobject):
'''
!
'''
!
pass
! def getContext(self, instance):
'''
!
'''
!
pass
! def setScore(self, score):
'''
***************
*** 94,98 ****
! def getScore():
'''
--- 94,98 ----
! def getScore(self):
'''
***************
*** 102,106 ****
! def getMaxScore():
'''
--- 102,106 ----
! def getMaxScore(self):
'''
***************
*** 110,114 ****
! def getResponseValues():
'''
--- 110,114 ----
! def getResponseValues(self):
'''
***************
*** 118,122 ****
! def setResponseValues(**kwargs):
'''
kwargs is a dictionary where key is AnswerUID and value is what a
--- 118,122 ----
! def setResponseValues(self, **kwargs):
'''
kwargs is a dictionary where key is AnswerUID and value is what a
***************
*** 127,137 ****
! def __getitem__():
'''
returns a specific response value
'''
!
pass
# end of class IExamResponse
-
--- 127,136 ----
! def __getitem__(self, key):
'''
returns a specific response value
'''
!
pass
# end of class IExamResponse
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/