admin/jqadm/src/Admin/JQAdm/Catalog/Standard.php
public function search()
	{
		$view = $this->getView();
		$context = $this->getContext();

		try
		{
			$view->item = \Aimeos\MShop::create( $context, 'catalog' )->createItem();
			$view->itemRootId = $this->getRootId();
			$view->itemBody = '';
		}
		catch( \Aimeos\MShop\Exception $e )
		{
			$error = array( 'catalog-item' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
			$view->errors = $view->get( 'errors', [] ) + $error;
			$this->logException( $e );
		}
		catch( \Exception $e )
		{
			$error = array( 'catalog-item' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
			$view->errors = $view->get( 'errors', [] ) + $error;
			$this->logException( $e );
		}

		return $this->render( $view );
	}
public function search()
	{
		$view = $this->getView();
		$context = $this->getContext();

		try
		{
			$view->item = \Aimeos\MShop::create( $context, 'catalog' )->createItem();
			$view->itemRootId = $this->getRootId();
			$view->itemBody = '';
		}
		catch( \Aimeos\MShop\Exception $e )
		{
			$error = array( 'catalog-item' => $context->getI18n()->dt( 'mshop', $e->getMessage() ) );
			$view->errors = $view->get( 'errors', [] ) + $error;
			$this->logException( $e );
		}
		catch( \Exception $e )
		{
			$error = array( 'catalog-item' => $e->getMessage() . ', ' . $e->getFile() . ':' . $e->getLine() );
			$view->errors = $view->get( 'errors', [] ) + $error;
			$this->logException( $e );
		}

		return $this->render( $view );
	}
public function search ( ) { $ view = $ this -> getView ( ) ; $ context = $ this -> getContext ( ) ; try { $ view -> item = \ Aimeos \ MShop :: create ( $ context , 'catalog' ) -> createItem ( ) ; $ view -> itemRootId = $ this -> getRootId ( ) ; $ view -> itemBody = '' ; } catch ( \ Aimeos \ MShop \ Exception $ e ) { $ error = array ( 'catalog-item' => $ context -> getI18n ( ) -> dt ( 'mshop' , $ e -> getMessage ( ) ) ) ; $ view -> errors = $ view -> get ( 'errors' , [ ] ) + $ error ; $ this -> logException ( $ e ) ; } catch ( \ Exception $ e ) { $ error = array ( 'catalog-item' => $ e -> getMessage ( ) . ', ' . $ e -> getFile ( ) . ':' . $ e -> getLine ( ) ) ; $ view -> errors = $ view -> get ( 'errors' , [ ] ) + $ error ; $ this -> logException ( $ e ) ; } return $ this -> render ( $ view ) ; }
Returns the catalog root node

@return string HTML output
Returns the catalog root node