Пример #1
0
	/**
	 * @see	wcf\page\IPage::readParameters()
	 */
	public function readParameters() {
		parent::readParameters();
		
		if (isset($_REQUEST['id'])) $this->cronjobID = intval($_REQUEST['id']);
		$this->cronjob = new Cronjob($this->cronjobID);
		if (!$this->cronjob->cronjobID) {
			throw new IllegalLinkException();
		}
		
		$this->packageID = $this->cronjob->packageID;
	}