예제 #1
0
 /**
  * {@inheritdoc}
  */
 public function getModel()
 {
     return ExtensionModel::getInstance();
 }
예제 #2
0
파일: ThemeModel.php 프로젝트: jivoo/jivoo
 /**
  * Construct model.
  * @param string $name Name of model.
  */
 public function __construct($name = 'Theme')
 {
     parent::__construct($name);
     $this->addField('screenshot', tr('Screenshot'), DataType::string());
 }