示例#1
0
 /**
  * {@inheritdoc}
  */
 public function getModel()
 {
     return ExtensionModel::getInstance();
 }
示例#2
0
 /**
  * Construct model.
  * @param string $name Name of model.
  */
 public function __construct($name = 'Theme')
 {
     parent::__construct($name);
     $this->addField('screenshot', tr('Screenshot'), DataType::string());
 }