[ 'validations' => 'required|integer', 'fieldname' => 'projectmedewerker' ], 'hourdate' => [ 'validations' => 'date', 'fieldname' => 'datum' ], 'hours' => [ 'validations' => 'number', 'fieldname' => 'uren' ] ]; public function __construct() { parent::__construct(); $this->ci =& get_instance(); } }