/**
  * @see Module::readData()
  */
 public function readData()
 {
     parent::readData();
     // parse text
     require_once WCF_DIR . 'lib/data/message/bbcode/MessageParser.class.php';
     $parser = MessageParser::getInstance();
     $this->getOptions()->getGroup('general')->getOption('content')->setValue($parser->parse($this->getOptions()->getGroup('general')->getOption('content')->getValue(), true, false, true));
 }
 /**
  * @see	AbstractModule::readData()
  */
 public function readData()
 {
     parent::readData();
     if (!$this->noJS) {
         // add additional head contents
         $this->additionalHeadContents = '<script type="text/javascript" src="' . RELATIVE_WCF_DIR . 'js/githubPageModule.js"></script>';
     } else {
         // generate api url
         $this->generateAPIUrl($this->getOptions()->getGroup('general')->getOption('username')->getValue(), $this->getOptions()->getGroup('general')->getOption('repository')->getValue(), $this->getOptions()->getGroup('general')->getOption('branch')->getValue());
         // read commits from api
         $this->readCommits();
     }
 }
 /**
  * @see	AbstractModule::readData()
  */
 public function readData()
 {
     parent::readData();
     // init sidebar factory
     $this->sidebarFactory = new MessageSidebarFactory($this);
     // read cache
     WCF::getCache()->addResource('newsItemsPageModule-' . $this->instanceID, WCF_DIR . 'cache/cache.newsItemsPageModule-' . $this->instanceID . '.php', WCF_DIR . 'lib/system/cache/CacheBuilderNewsPageModule.class.php');
     $this->newsItems = WCF::getCache()->get('newsItemsPageModule-' . $this->instanceID);
     // add items to sidebar factory
     foreach ($this->newsItems as $item) {
         $this->sidebarFactory->create($item);
     }
 }
 /**
  * @see	Module::readData()
  */
 public function readData()
 {
     parent::readData();
     eval($this->getOptions()->getGroup('general')->getOption('code')->getValue());
 }