$uses
$uses : array
use model
QuizAnswersController
Add your application-wide methods in the class below, your controllers will inherit them.
isAbleTo(array $quiz) : boolean
isAbleTo Whether access to survey of the specified ID Forced URL hack guard And against the authority of the state of the specified questionnaire respondents put a guard It is not in the public state Out of period Stopped Repeatedly answer You are not logged in to not forgive other than member
array | $quiz | 対象となる小テスト |
test_mode() : void
test_mode
テストモード回答のとき、一番最初に表示するページ 一覧表示画面で「テスト」ボタンがここへ誘導するようになっている。 どのようなアンケートであるのかの各種属性設定をわかりやすくまとめて表示する表紙的な役割を果たす。
あくまで作成者の便宜のために表示しているものであるので、最初のページだったら必ずここを表示といったような 強制的redirectなどは設定しない。なので強制URL-Hackしたらこの画面をスキップすることだって可能。 作成者への「便宜」のための親切心ページなのでスキップしたい人にはそうさせてあげるのでよいと考える。