Webenq_Model_AnswerPossibilityGroup class definition

This class has been auto-generated by the Doctrine ORM Framework

package Webenq_Models
author Bart Huttinga
subpackage
version SVN: $Id: Builder.php,v 1.2 2011/07/12 13:39:03 bart Exp $

 Methods

addAnswerPossibility()

addAnswerPossibility($answerText, $language) 

Parameters

$answerText

$language

Creates a new group of answer possibilities based on the provided set of answer answers

createByAnswerValues(array $values, string $language) : \Webenq_Model_AnswerPossibilityGroup
Static
fluent This method is part of a fluent interface and will return the same instance

Parameters

$values

array

$language

string

Returns

Creates a new group of answer possibilities based on the provided set of unique answers

createByUniqueValues(array $uniqueValues, $language) : \Webenq_Model_AnswerPossibilityGroup
Static
fluent This method is part of a fluent interface and will return the same instance

Parameters

$uniqueValues

array

$language

Returns

findAnswerPossibility()

findAnswerPossibility($answerText, $currentLanguage) 

Parameters

$answerText

$currentLanguage

Finds an existing group of answer possibilities, based on a set of answer values.

findByAnswerValues(array $values, string $language) : \Webenq_Model_AnswerPossibilityGroup
Static

Parameters

$values

array

$language

string

Returns

Finds an existing group of answer possibilities, based on a set of unique values.

findByUniqueValues(array $uniqueValues, string $language) : \Webenq_Model_AnswerPossibilityGroup
Static

Parameters

$uniqueValues

array

$language

string

Returns

Gets all groups for use as multioptions in a form

getAll() : array
Static

Returns

array

Returns the answer possibilities for the current group, ordered by value and label

getAnswerPossibilities() : \Doctrine_Collection

Returns

\Doctrine_Collection

setTableDefinition()

setTableDefinition() 
Inherited
inherited_from \Webenq_Model_Base_AnswerPossibilityGroup::setTableDefinition()

setUp()

setUp() 
Inherited
inherited_from \Webenq_Model_Base_AnswerPossibilityGroup::setUp()