Relational lazy load?

If i do:

$position = Position::model()->with(array(

				'layouts' => array('condition' => 'layout_id = 1')


Works… but…

$position = Position::model()->findAll();

		$positions = $position->layouts(array('condition'=>'layout_id = 1'));

Fatal error: Call to a member function layouts() on a non-object

Can anybody explain to me how this works?

findAll() returns an array. find() doesn’t


So relational lazy load would never work? if you need more then 1 item?

Something like this should make the error message go away

$position = Position::model()->findAll();

$positions = $position[0]->layouts(array('condition'=>'layout_id = 1'));