LLMS_Question::get_choices( string $return = 'choices' )

Retrieve the question’s choices


Description Description


Parameters Parameters

$return

(Optional) Determine how to return the choice data. 'choices' (default) returns an array of LLMS_Question_Choice objects. 'ids' returns an array of LLMS_Question_Choice ids.

Default value: 'choices'


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/models/model.llms.question.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
4.4.0 Don't allow objects when using unserialize().
3.35.0 Escape LIKE clause.
3.30.1 Improve choice sorting to accommodate numeric markers.
3.16.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.