|
Previous Page |
Solar_Sql_Model_Related_HasMany |
Next Page |
newSelect()
public
Solar_Sql_Select
newSelect (
mixed $spec
)
Creates a new selection object for fetching records from this relation.
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. If a Solar_Sql_Select, used as-is for finding the native- model IDs.
Returns
- (Solar_Sql_Select)
Description
Creates a new selection object for fetching records from this relation.
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- _exception()
- _fixForeignKey()
- _fixRelatedCol()
- _modSelect()
- _modSelectEager()
- _setCols()
- _setForeignClass()
- _setForeignModel()
- _setRelated()
- _setRelatedThrough()
- _setSelect()
- _setType()
- apiVersion()
- dump()
- fetchArray()
- fetchObject()
- getModel()
- load()
- locale()
- modSelectCountPages()
- modSelectEager()
- newSelect()
- setNativeModel()
- toArray()