AndyB
Well-known member
I would like to extend the XF\Pub\View\Attachment\View.
My PHP code:
	
	
	
		
Trying to add the class extensions:

This is the error message when I click Save:

What am I doing incorrectly?
				
			My PHP code:
		PHP:
	
	<?php
namespace Andy\OpenPDF\XF\Pub\View\Attachment;
class View extends XFCP_View
{
    public function renderRaw()
    {
    }
}Trying to add the class extensions:

This is the error message when I click Save:

What am I doing incorrectly?
 
 
		 
 
		 
 
		

 
 
		 
 
		

 
 
		 
 
		 
 
		