<?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.
*/
/**
* See DFactory
*
* @package pwp
* @subpackage DFactory
* @author Victor Rad'
*/
class DFactory_Resume extends DFactory
{
public function getBuilder($indexBy = null)
{
// parepare data
$reqInstanceModel = 'DBuilder_Model_'.$this->getNameInstance();
// create instances
$query = new DBuilder_Query();
$instanceModel = new $reqInstanceModel($query, $indexBy);
return $instanceModel;
}
}