Tack on the void return type onto the Employee:logout method.

This commit is contained in:
Steve Ireland
2023-03-03 13:37:28 -05:00
committed by jekkos
parent 1d87de6f7d
commit 4798041408
123 changed files with 1270 additions and 937 deletions

View File

@@ -26,6 +26,7 @@ class Secure_Controller extends BaseController
$this->employee = model('Employee');
$this->module = model('Module');
$config = config('OSPOS')->settings;
$validation = \Config\Services::validation();
if(!$this->employee->is_logged_in())
{
@@ -67,11 +68,11 @@ class Secure_Controller extends BaseController
view('viewData', $global_view_data);
}
public function check_numeric()
public function getCheckNumeric()
{
$result = TRUE;
foreach($this->request->getGet(NULL, FILTER_SANITIZE_STRING) as $str)
foreach($this->request->getVar(NULL, FILTER_SANITIZE_STRING) as $str)
{
$result &= parse_decimals($str);
}
@@ -81,9 +82,9 @@ class Secure_Controller extends BaseController
// this is the basic set of methods most OSPOS Controllers will implement
public function getIndex() { return FALSE; }
public function search() { return FALSE; }
public function getSearch() { return FALSE; }
public function suggest_search() { return FALSE; }
public function view(int $data_item_id = -1) { return FALSE; }
public function save(int $data_item_id = -1) { return FALSE; }
public function delete() { return FALSE; }
public function getView(int $data_item_id = -1) { return FALSE; }
public function postSave(int $data_item_id = -1) { return FALSE; }
public function postDelete() { return FALSE; }
}