⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Grocerycrud Documentation-Corrections and Improvement



itaseski

itaseski
  • profile picture
  • Member

Posted 26 May 2015 - 21:18 PM

Dear ADMIN

 

Correction in Documentation is needed

 

on page

 

http://www.grocerycrud.com/documentation/tutorial_basic_methods

 

 

function:__construct is:

 

function __construct()
{
parent::__construct();
 
$this->load->database();
 
}

 

 

this give a PHP error:

Class 'grocery_CRUD' not found

according to controller Examples, function_construct need to be like this:

 

public function __construct()
{
parent::__construct();
 
$this->load->database();
$this->load->helper('url');
 
$this->load->library('grocery_CRUD');
}

 

 

 

Please, see also your post as replay to member milamber posted on 28 October 2012- 06.17PM 

 

 

Regards,

 

Ilya - Macedonia