Solar_Sql_Model_Related_HasOneOrNull::_fixForeignKey()
protected
void
Solar_Sql_Model_Related_HasOneOrNull::_fixForeignKey
( array $$opts
)
Corrects the foreign_key value in the options; uses the native-model table name as singular.
Inherited from Solar_Sql_Model_Related_HasOne.
Parameters
(array)
&$opts
: The user-defined relationship options.
Returns
(void)
Description
Corrects the foreign_key value in the options; uses the native-model table name as singular.