i make a simple module and i want to get all products of category and pass these products to my layout file. as well as i want to get products of a specific category and display these to my layout or view. for this i have to make seperate model or i can use build in functionality. here is some code it write i my controller.
class Saqi_Builder_IndexController extends Mage_Core_Controller_Front_Action
{
public function indexAction(){
$this->loadLayout(array('default'));
$this->renderLayout();
}
}