MOON
Server: Apache
System: Linux nserver.cafsindia.com 4.18.0-553.104.1.lve.el8.x86_64 #1 SMP Tue Feb 10 20:07:30 UTC 2026 x86_64
User: cafsindia (1002)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: /home/cafsindia/hrms_patroniss_com/application/controllers/Fandf_base_controller.php
<?php
/**********************************************************
	   Filename: Fandf_base_controller
	Description: FandF Base Controller for f and f process only
		 Author: Jaffer
	 Created on: ‎21 May ‎2019
	Reviewed by:
	Reviewed on:
	Approved by:
	Approved on:
	-------------------------------------------------------
	Modification Details
	Changed by:
	Change Info:
	-------------------------------------------------------
***********************************************************/
if ( ! defined('BASEPATH')) exit('No direct script access allowed');
require_once("Secure_Controller.php");
abstract class Fandf_base_controller extends Secure_Controller{
	
	public function __construct($module_id = NULL){
		parent::__construct($module_id);
	}
	
	// PROVIDE TABLE HEADER INPUT VIEW
	public function get_fandf_tab_info(){
		$fandf_header_query = 'select label_name,view_name,field_type from cw_form_setting where prime_module_id = "employees" and  trans_status = 1';
		$fandf_header_info     = $this->db->query("CALL sp_a_run ('SELECT','$fandf_header_query')");
		$fandf_header_result   = $fandf_header_info->result();
		$fandf_header_info->next_result();
		$this->fandf_header_info = $fandf_header_result;
	}
}
?>