Solar_Sql_Model::_addRelated()
protected
void
Solar_Sql_Model::_addRelated
( string $name
, array $opts
)
Support method for adding relations.
Parameters
(string)
$name
: The relationship name, which will double as a property when records are fetched from the model.(array)
$opts
: Additional options for the relationship.
Returns
(void)
Description
Support method for adding relations.