public function __construct($entityType, $entityId) { parent::__construct($entityType, $entityId); $this->setTemplate(OW::getPluginManager()->getPlugin("base")->getMobileCmpViewDir() . "flag.html"); }