/** * @see wcf\page\IPage::readData() */ public function readData() { parent::readData(); if (!count($_POST)) { $this->className = $this->cronjob->className; $this->description = $this->cronjob->description; $this->startMinute = $this->cronjob->startMinute; $this->startHour = $this->cronjob->startHour; $this->startDom = $this->cronjob->startDom; $this->startMonth = $this->cronjob->startMonth; $this->startDow = $this->cronjob->startDow; } }
/** * @see \wcf\page\IPage::readData() */ public function readData() { parent::readData(); if (empty($_POST)) { I18nHandler::getInstance()->setOptions('description', $this->cronjob->packageID, $this->cronjob->description, 'wcf.acp.cronjob.description.cronjob\\d+'); $this->className = $this->cronjob->className; $this->description = $this->cronjob->description; $this->startMinute = $this->cronjob->startMinute; $this->startHour = $this->cronjob->startHour; $this->startDom = $this->cronjob->startDom; $this->startMonth = $this->cronjob->startMonth; $this->startDow = $this->cronjob->startDow; } }