public function get_all($model_identifier = null, $offset = 0, $limit = 15, $column = '*', $sort_by = '', $descending = false) { if (!$model_identifier) { $model_identifier = $this->model->get_identifier(); } $results = RM_DBManager::get_all($model_identifier, $offset, $limit, $column, $sort_by, $descending); return $results; }
public function add_form() { $forms = RM_DBManager::get_all(RM_Forms::get_identifier(), $offset = 0, $limit = 1000, $column = 'form_name,form_id', $sort_by = '', $descending = false); return $forms; }