application/controllers/Reporting.php
/**
	 * Initialize a screen report
	 *
	 * @return array
	 */
Initialize a screen report
@return array
Initialize a screen report @return array
protected function initScreenReport()
	{
		$data = [
			'applicationName' => 'Komatsu NA Maintenance Log',
			'title' => 'Komatsu NA Maintenance Log',
			'assetDirectory' => $this->appDir . '/assets/',
			'assetDirectoryCustom' => $this->appDir . '/assets/templates/komatsuna/'
		];
		$this->load->library('template');
		$data['flashdata'] = $this->session->flashdata();
		$this->load->model('Report_model');
		return $data;
	}
protected function initScreenReport ( ) { $ data = [ 'applicationName' => 'Komatsu NA Maintenance Log' , 'title' => 'Komatsu NA Maintenance Log' , 'assetDirectory' => $ this -> appDir . '/assets/' , 'assetDirectoryCustom' => $ this -> appDir . '/assets/templates/komatsuna/' ] ; $ this -> load -> library ( 'template' ) ; $ data [ 'flashdata' ] = $ this -> session -> flashdata ( ) ; $ this -> load -> model ( 'Report_model' ) ; return $ data ; }
Initialize a screen report
 @return array
Initialize a screen report @return array