Previous Page
_fixRelatedCol()

Solar_Sql_Model_Related_BelongsTo
_modSelect()

Next Page
_setCols()

_modSelect()

protected void _modSelect ( Solar_Sql_Select $select, Solar_Sql_Select|Solar_Sql_Model_Record $spec )

Modifies the base select statement for the relationship type.

Inherited from Solar_Sql_Model_Related.

Parameters

  • (Solar_Sql_Select) $select: The selection object to modify.
  • (Solar_Sql_Select|Solar_Sql_Model_Record) $spec: If a Solar_Sql_Select, used as an "inner" select to find the correct native IDs. If a Solar_Sql_Model_Record, will find based on the ID of the record.

Returns

  • (void)

Description

Modifies the base select statement for the relationship type.