Previous Page
_modSelect()

Solar_Sql_Model_Related
_modSelectEager()

Next Page
_setCols()

_modSelectEager()

protected void _modSelectEager ( Solar_Sql_Select $select, array $cols default NULL )

Support method for modSelectEager().

Parameters

  • (Solar_Sql_Select) $select: The SELECT to be modified.
  • (array) $cols: Any columns to add to the SELECT.

Returns

  • (void) The SELECT is modified in place.

Description

Support method for modSelectEager().

This implementation works for belongs_to and has_one (with columns) and has_many (without columns). The "has_many through" relation needs its own implementation.