Public Member Functions | |
Scaffolding ($db_table) | |
add () | |
insert () | |
view () | |
edit () | |
update () | |
delete () | |
do_delete () | |
Public Attributes | |
$CI | |
$current_table | |
$base_url = '' | |
$lang = array() |
Scaffolding::add | ( | ) |
"Add" Page
Shows a form representing the currently selected DB so that data can be inserted
public
Scaffolding::delete | ( | ) |
Delete Confirmation
public
Scaffolding::do_delete | ( | ) |
Delete
public
Scaffolding::edit | ( | ) |
"Edit" Page
Shows a form representing the currently selected DB so that data can be edited
public
Scaffolding::insert | ( | ) |
Insert the data
public
Scaffolding::Scaffolding | ( | $ | db_table | ) |
Set the current table name This is done when initializing scaffolding: $this->load->scaffolding('table_name')
Set the path to the "view" files We'll manually override the "view" path so that the load->view function knows where to look.
Scaffolding::update | ( | ) |
Update
public
Scaffolding::view | ( | ) |
"View" Page
Shows a table containing the data in the currently selected DB
public
Scaffolding::$base_url = '' |
Scaffolding::$CI |
Scaffolding::$current_table |
Scaffolding::$lang = array() |