<?php
/*
* This file is part of the pwp package.
* (c) 2009-2010 Victor Rad' <victor.v.rad[at]gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* Portfolio actions
*
* @package pwp
* @subpackage portfolio
* @author Victor Rad'
*/
class portfolioActions extends sfActions
{
/**
* Executes index action
*
* @param sfRequest $request A request object
*/
public function executeIndex(sfWebRequest $request)
{
$this->portfolio = DFactory::get('Portfolio')
->getBuilder()
->jointImages()
->reorganize()
->getQuery()
->execute();
}
/**
* First column on page
*/
public function postExecute()
{
$this->getResponse()->setSlot('colOne', $this->getPartial('colOne'));
}
}