Previous Page
_exception()

Solar_Sql_Model_Related_HasMany
_fixRelatedCol()

Next Page
_modSelect()

_fixRelatedCol()

protected void _fixRelatedCol ( array &$opts )

Fixes the related column names in the user-defined options in place.

Parameters

  • (array) &$opts: The user-defined relationship options.

Returns

  • (void)

Description

Fixes the related column names in the user-defined options in place.

The foreign key is stored in the foreign model.