protected function _init() { parent::_init(); // Overrule the names of the Roles and User_Token model to the Site_... version $this->_fields = array('id' => new Sprig_Field_Auto(), 'array' => new Sprig_Field_BelongsTo(array('model' => 'Array')), 'key' => new Sprig_Field_Char(array('empty' => TRUE, 'unique' => TRUE)), 'val' => new Sprig_Field_Char(array('empty' => TRUE, 'unique' => FALSE))); }
protected function _init() { parent::_init(); // Overrule the names of the Roles and User_Token model to the Site_... version $this->_fields = array('id' => new Sprig_Field_Auto(), 'refclass' => new Sprig_Field_Char(array('empty' => TRUE, 'unique' => TRUE)), 'refid' => new Sprig_Field_Char(array('empty' => TRUE, 'unique' => TRUE)), 'arraydatas' => new Sprig_Field_HasMany(array('model' => 'Arraydata'))); }