public function handlePreviousImage(int $id): void
	{
		if ($this->request->isAjax()) {
			$row = $this->getStorage()->getPrevious($id);
			if ($row) {
				$this->template->viewImage = $row;
				$this->redrawControl('image');
			} else {
				throw new AbortException;
			}
		} else {
			throw new AbortException;
		}
	}
public function handlePreviousImage(int $id): void
	{
		if ($this->request->isAjax()) {
			$row = $this->getStorage()->getPrevious($id);
			if ($row) {
				$this->template->viewImage = $row;
				$this->redrawControl('image');
			} else {
				throw new AbortException;
			}
		} else {
			throw new AbortException;
		}
	}
public function handlePreviousImage ( int $ id ) : void { if ( $ this -> request -> isAjax ( ) ) { $ row = $ this -> getStorage ( ) -> getPrevious ( $ id ) ; if ( $ row ) { $ this -> template -> viewImage = $ row ; $ this -> redrawControl ( 'image' ) ; } else { throw new AbortException ; } } else { throw new AbortException ; } }
Zobrazi predchozi obrazek
@param int $id
@secured
@throws AbortException
Zobrazi predchozi obrazek