Actions

Question object types: Difference between revisions

From LimeSurvey Manual

(Created page with "Question object types is about making question in LS more object-oriented. === Use-cases === * Colour picker - user click on a picture with colours, and the position in the...")
 
No edit summary
Line 1: Line 1:
Question object types is about making question in LS more object-oriented.
Question object types is about making questions in LS more object-oriented.
 
Basically, every place in the which is doing a switch on question type should be replaced by a polymorphic call to an object, e.g. <code>$object->renderFrontend();</code>


=== Use-cases ===
=== Use-cases ===

Revision as of 14:31, 11 April 2016

Question object types is about making questions in LS more object-oriented.

Basically, every place in the which is doing a switch on question type should be replaced by a polymorphic call to an object, e.g. $object->renderFrontend();

Use-cases

  • Colour picker - user click on a picture with colours, and the position in the picture defines the colour.

Features

TODO

Current implementation in development branch (LS3)

TODO