/**
  * @see	\wcf\page\IPage::readParameters()
  */
 public function readParameters()
 {
     parent::readParameters();
     if (isset($_REQUEST['id'])) {
         $this->fileID = intval($_REQUEST['id']);
     }
     $this->file = new EntryFile($this->fileID);
     if (!$this->file->fileID) {
         throw new IllegalLinkException();
     }
     $this->entry = $this->file->getEntry();
 }
 /**
  * @see	\wcf\page\IPage::readParameters()
  */
 public function readParameters()
 {
     MessageForm::readParameters();
     if (isset($_REQUEST['id'])) {
         $this->fileID = intval($_REQUEST['id']);
     }
     $this->entryFile = new EntryFile($this->fileID);
     if (!$this->entryFile->fileID) {
         throw new IllegalLinkException();
     }
     $this->entry = $this->entryFile->getEntry();
     // get max text length
     $this->maxTextLength = WCF::getSession()->getPermission('user.filebase.maxTextLength');
 }