Compound keys on Base Module

edited June 2015 in Modules
Hi, I have installed latest FuelCms version 1.3 (Jun 2015) and I wanted to know if simple modules (extending Base_module_model) have support for compound keys for example:
protected $key_field = array('user_action_id','rol_id');
I tried that but I got errors (I can post them if you need it).
I do also override function:
function list_items($limit = NULL, $offset = NULL, $col = 'rol_id', $order = 'asc', $just_count = FALSE)
But it is not executed.
Thank you.

Comments

  • edited 10:50AM
    MY_Model does support compound keys for a non-module model, but for a module to work, it needs to have an ID for the record.
Sign In or Register to comment.