This is the API documentation for concrete5 version 5.6 and earlier. View Current API Documentation

Class Concrete5_Controller_Block_FormMinisurvey

Direct known subclasses

MiniSurvey

Package: Blocks\Form
Copyright: Copyright (c) 2003-2012 Concrete5. (http://www.concrete5.org)
License: MIT License
Author: Tony Trupp tony@concrete5.org
Author: Andrew Embler andrew@concrete5.org
Located at core/controllers/blocks/form_minisurvey.php

Methods summary

public
public
# addEditQuestion( $values, $withOutput = 1 )
public
# getQuestionInfo( $qsID, $qID )
public
# deleteQuestion( $qsID, $msqID )
public
# loadQuestions( $qsID, $bID = 0, $showPending = 0 )
public static
# getAnswerCount( $qsID )
public
# loadSurvey( $qsID, $showEdit = false, $bID = 0, $hideQIDs = array(), $showPending = 0, $forPreview = false )
public
# loadInputType( $questionData, $showEdit, $required = false )
public
public
public
# reorderQuestions( $qsID, $qIDs )
public
# limitRange( $val, $min, $max )
public static
# questionCleanup( $qsID = 0, $bID = 0 )

Properties summary

public string $btTable
# 'btForm'
public string $btQuestionsTablename
# 'btFormQuestions'
public string $btAnswerSetTablename
# 'btFormAnswerSet'
public string $btAnswersTablename
# 'btFormAnswers'
public integer $lastSavedMsqID
# 0
public integer $lastSavedqID
# 0