<?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 form.
*
* @package form
* @subpackage Portfolio
* @author Victor Rad'
*/
class PortfolioForm extends BasePortfolioForm
{
public function configure()
{
$this->widgetSchema['content'] = new sfWidgetFormTextareaTinyMCE(array(
'width' => 800,
'height' => 350,
//'config' => 'theme_advanced_disable: "anchor,image,cleanup,help"',
));
$this->validatorSchema['url'] = new sfValidatorAnd(array(
$this->validatorSchema['url'],
new sfValidatorString(array('required' => false)),
));
}
}