Previous Page
locale()

Solar_Sql_Model_Related_HasOne
newSelect()

Next Page
setNativeModel()

newSelect()

public Solar_Sql_Select newSelect ( mixed $spec )

Creates a new selection object for records on this relationship.

Inherited from Solar_Sql_Model_Related.

Parameters

  • (mixed) $spec: If an array, treated as params for a select statement (where, group, having, etc) for finding the native-model IDs. If a Record object, the record's primary-key is used for the native- model ID.

Returns

  • (Solar_Sql_Select)

Description

Creates a new selection object for records on this relationship.