This commit is contained in:
2026-05-27 11:44:10 -04:00
commit 414f85ad05
31452 changed files with 3580409 additions and 0 deletions

View File

@ -0,0 +1,17 @@
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Form_fields_model extends CI_Model
{
protected $table = 'form_fields';
public function get_active_fields($form_key)
{
return $this->db
->where('form_key', $form_key)
->where('active', 1)
->order_by('field_order', 'ASC')
->get($this->table)
->result_array();
}
}