mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-22 17:32:18 +00:00
1st preview
This commit is contained in:
@@ -10,6 +10,9 @@ class TestUDF extends VileSci_Controller
|
||||
|
||||
// Loads the widget library
|
||||
$this->load->library('WidgetLib');
|
||||
|
||||
//
|
||||
$this->load->model('person/Person_model', 'PersonModel');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -17,7 +20,11 @@ class TestUDF extends VileSci_Controller
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
$data = array();
|
||||
$person = $this->PersonModel->load(1);
|
||||
|
||||
$data = array(
|
||||
'udfs' => $this->PersonModel->getUDFs()
|
||||
);
|
||||
|
||||
$this->load->view('system/testudf', $data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user