Solar_Sql_Model_Related_HasManyThrough::save()
public
void
Solar_Sql_Model_Related_HasManyThrough::save
( Solar_Sql_Model_Record $native
)
Saves the related "through" collection and the foreign collection from a native record.
Parameters
(Solar_Sql_Model_Record)
$native
: The native record to save from.
Returns
(void)
Description
Saves the related "through" collection and the foreign collection from a native record.
Ensures the "through" collection has an entry for each foreign record, and adds/removes entried in the "through" collection as needed.