final public function prepare(PageRequest $request)
	{
		$this->request = $request;
		$this->response = $this->createBlockResponse($request);
		
		$this->properties = $request->getBlockPropertySet()
				->getBlockPropertySet($this->block);

		try {
			$this->doPrepare();
		} catch (\Exception $e) {
			$this->exception = $e;
		}
	}
final public function prepare(PageRequest $request)
	{
		$this->request = $request;
		$this->response = $this->createBlockResponse($request);
		
		$this->properties = $request->getBlockPropertySet()
				->getBlockPropertySet($this->block);

		try {
			$this->doPrepare();
		} catch (\Exception $e) {
			$this->exception = $e;
		}
	}
final public function prepare ( PageRequest $ request ) { $ this -> request = $ request ; $ this -> response = $ this -> createBlockResponse ( $ request ) ; $ this -> properties = $ request -> getBlockPropertySet ( ) -> getBlockPropertySet ( $ this -> block ) ; try { $ this -> doPrepare ( ) ; } catch ( \ Exception $ e ) { $ this -> exception = $ e ; } }
Prepares controller for execution.

This method is final, use doPrepare for defining actions in prepare step.

@param PageRequest $request
Prepares controller for execution .