[ 'validations' => 'required|integer', 'fieldname' => 'project' ], 'invoicedate' => [ 'validations' => 'date', 'fieldname' => 'factuurdatum' ], 'forecastdate' => [ 'validations' => 'date', 'fieldname' => 'prognosedatum' ], 'invoiceamount' => [ 'validations' => 'number', 'fieldname' => 'factuurbedrag' ], 'forecastamount' => [ 'validations' => 'number', 'fieldname' => 'prognosebedrag' ] ]; public function __construct() { parent::__construct(); $this->ci =& get_instance(); } }