Welcome Guest, Not a member yet? Register   Sign In
grocerycrud
#4

(This post was last modified: 05-31-2016, 11:41 PM by ciadmin.)

Grocery CRUD is a tool which create a CREAD / READ / UPDATE / DELETE field by using a given table, or some enhancements using the built in callbacks.

To use Grocery CRUD you have to create a controller, and insert something like this in a public function.

$crud = new grocery_CRUD();
$crud->set_table('MYTABLENAME');
$crud->set_subject('MYTABLENAME');
$output = $crud->render();

( note: make sure you've properly made some views etc. )

On how to make your own library, well, it's actually quite well documented in the CI user guide. You can find it at http://www.codeigniter.com/user_guide/ge...aries.html
Reply


Messages In This Thread
grocerycrud - by davy_yg - 05-14-2016, 04:53 AM
RE: grocerycrud - by twpmarketing - 05-14-2016, 03:08 PM
RE: grocerycrud - by Blair2004 - 05-18-2016, 11:31 PM
RE: grocerycrud - by nealsv - 05-31-2016, 11:16 PM



Theme © iAndrew 2016 - Forum software by © MyBB