More ResponseJSON refactoring.

Finished refactoring nextQuestions()
Added recordedResponses sub
Added getTemplatedText sub
Added sectionId, questionId, answerId, sIndex, qIndex, aIndexes
abstraction subs
This commit is contained in:
Patrick Donelan 2009-02-06 05:15:26 +00:00
parent 306502465c
commit fa6976fb40
2 changed files with 211 additions and 36 deletions

View file

@ -1290,6 +1290,7 @@ sub answer {
=head2 sIndex ($address)
Convenience sub to extract the section index from a standard $address parameter. See L<"Address Parameter">.
This method exists purely to improve code readability.
=cut
@ -1301,6 +1302,7 @@ sub sIndex {
=head2 qIndex ($address)
Convenience sub to extract the question index from a standard $address parameter. See L<"Address Parameter">.
This method exists purely to improve code readability.
=cut
@ -1312,6 +1314,7 @@ sub qIndex {
=head2 aIndex ($address)
Convenience sub to extract the answer index from a standard $address parameter. See L<"Address Parameter">.
This method exists purely to improve code readability.
=cut