oCriteria new Criteria oCriteria- params array id oInstance Instance f

1
2
3
$oCriteria = new Criteria();
$oCriteria->params = array('id' => 2);
$oInstance = Instance::find($oCriteria);