1
0
qswiki/dynamic/dynamiccontentincludepage.cpp

13 linhas
281 B
C++
Em bruto Vista normal Histórico

#include "dynamiccontentincludepage.h"
#include "../parser.h"
std::string DynamicContentIncludePage::render()
{
auto revisionDao = this->database->createRevisionDao();
auto rev = revisionDao->getCurrentForPage(this->argument);
if(rev)
{
return rev->content;
}
return {};
}