for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace dameter\abstracts\models;
use dameter\abstracts\TypeModel;
/**
* Class QuestionTypeGroup
* @package dameter\abstracts\models
* @author Tõnis Ormisson <[email protected]>
*/
class QuestionTypeGroup extends TypeModel
{
const TYPE_SINGLE = 1;
* {@inheritdoc}
public function modelsAttributes()
return [
self::TYPE_SINGLE => [
'id' => self::TYPE_SINGLE,
'order' => 0,
'label' => \Yii::t('dmadmin', "Single choice questions"),
],
];
}