original_string: public function exportAction()
  	{
  		if( config( 'shop.authorize', true ) ) {
  			$this->authorize( 'admin', [JqadmController::class, ['admin', 'editor']] );
  		}
  
  		$cntl = $this->createAdmin();
  
  		if( ( $html = $cntl->export() ) == '' ) {
  			return $cntl->getView()->response();
  		}
  
  		return $this->getHtml( $html );
  	}
code: public function exportAction()
  	{
  		if( config( 'shop.authorize', true ) ) {
  			$this->authorize( 'admin', [JqadmController::class, ['admin', 'editor']] );
  		}
  
  		$cntl = $this->createAdmin();
  
  		if( ( $html = $cntl->export() ) == '' ) {
  			return $cntl->getView()->response();
  		}
  
  		return $this->getHtml( $html );
  	}
code_tokens: public function exportAction ( ) { if ( config ( 'shop.authorize' , true ) ) { $ this -> authorize ( 'admin' , [ JqadmController :: class , [ 'admin' , 'editor' ] ] ) ; } $ cntl = $ this -> createAdmin ( ) ; if ( ( $ html = $ cntl -> export ( ) ) == '' ) { return $ cntl -> getView ( ) -> response ( ) ; } return $ this -> getHtml ( $ html ) ; }
docstring: Exports the data for a resource object
  
  @return string Generated output
docstring_tokens: Exports the data for a resource object