[ 'validations' => 'required|integer', 'fieldname' => 'project' ], 'external_id' => [ 'validations' => 'required|integer', 'fieldname' => 'externe' ], 'date' => [ 'validations' => 'date', 'fieldname' => 'datum' ], 'costs' => [ 'validations' => 'number', 'fieldname' => 'kosten' ] ]; public function __construct() { parent::__construct(); $this->ci =& get_instance(); } }