You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I've just installed your bundle to use it. THe changes I've made only allow to display web pages. I haven't tryed to insert, update and remove questions and quizes yet.
If you're interested in, these are changes I add the files:
1.All the *Type.php files :
public function buildForm(FormBuilder $builder, array $options)
must be replaced by
public function buildForm(FormBuilderInterface $builder, array $options)
Egulias\QuizBundle\Entity\Choices.php:
you must implement CHOICELISTINTERFACE and then the class is as follows:
Hi, I've just installed your bundle to use it. THe changes I've made only allow to display web pages. I haven't tryed to insert, update and remove questions and quizes yet.
If you're interested in, these are changes I add the files:
1.All the *Type.php files :
public function buildForm(FormBuilder $builder, array $options)
must be replaced by
public function buildForm(FormBuilderInterface $builder, array $options)
Egulias\QuizBundle\Entity\Choices.php:
you must implement CHOICELISTINTERFACE and then the class is as follows:
/**
*
/
class Choices extends QuestionChoices implements ChoiceListInterface //modif FRO implements...
{
/*
*/
protected $id;
//ajouts FRO pour version SF221 : implémentation des méthodes CHOICELISTINTERFACE
public function getValues(){
}
public function getPreferredViews(){
}
public function getRemainingViews()
{
}
public function getChoices(){
}
/**
*/
public function getValuesForChoices(array $choices) {
// TODO: Auto-generated method stub
}
/**
*/
public function getIndicesForValues(array $values) {
// TODO: Auto-generated method stub
}
/**
*/
public function getIndicesForChoices(array $choices) {
// TODO: Auto-generated method stub
}
/**
*/
public function getChoicesForValues(array $values) {
// TODO: Auto-generated method stub
}
}
The text was updated successfully, but these errors were encountered: