15
15
* This shows the codeviewer page
17
public function show($cid, $category, $subcategory, $example){
18
18
$this->load->model('codeviewer/Codeviewer_model');
20
$editorHTML = $this->Codeviewer_model->getCode($cid, $category, $subcategory, $example);
22
$doc = $this->Codeviewer_model->getDoc($cid, $category, $subcategory, $example);
24
24
// This loads the view. It's stored in application/views/codeviewer/codeviewer.php
25
25
// Do note that application/views should not be in the first argument of view()