Jump to content


davy_yg

Member Since 13 Jun 2016
Offline Last Active Jun 20 2016 03:08 PM
-----

Topics I've Started

Grocery CRUD

13 June 2016 - 05:32 AM

I try to utillize:

http://www.grocerycr...d/documentation

and I receive this error:

http://127.0.0.1/Com...x....showimages


-------------------------------------

Fatal error: Call to undefined method Cpages::_example_output() in C:\Program Files (x86)\EasyPHP-Devserver-16.1\eds-www\CompanyProfileCI\application\controllers\cpages.php on line 116
A PHP Error was encountered
Severity: Error
Message: Call to undefined method Cpages::_example_output()
Filename: controllers/cpages.php
Line Number: 116
Backtrace:


controllers/cpages.php


 

PHP Code:
 
 
    public function slideshowimages() 
    
        { 
 
    
        $image_crud 
= new image_CRUD();
    
        
$image_crud->set_primary_key_field('id');
        
$image_crud->set_url_field('url');
        
$image_crud->set_title_field('title');
        
$image_crud->set_table('example_4')
        ->
set_ordering_field('priority')
        ->
set_image_path('assets/uploads');
            
        
$output $image_crud->render();
    
        
$this->_example_output($output);
    
        
$this->load->view('slideshow_images'); 
    
        } 


How to fix the error?