Exemplo n.º 1
0
 public function faculty_make_add($data)
 {
     $retData = Faculty::add($data);
     $__viewData = array();
     $__viewData['Data']['TableHeader'] = Faculty::$HEADER;
     $__viewData['Data']['TableContent'] = MyDataParser::build_table_view(Faculty::get_list(), Faculty::$HEADER);
     $__viewData['Data']['IsRenderAfterPost'] = true;
     $__viewData['Data']['Error'] = $retData;
     $this->template->__yield__ = View::forge('department/faculty', $__viewData);
 }