ArticleTranslationForm.class.php 510 Bytes
Newer Older
Яков's avatar
first  
Яков committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

/**
 * ArticleTranslation form.
 *
 * @package    sf
 * @subpackage form
 * @author     Atma
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class ArticleTranslationForm extends BaseArticleTranslationForm
{
    public function configure()
    {
        $this->useFields(array('title', 'description', 'body', 'lang', 'available'));
        $this->widgetSchema['available'] = new sfWidgetFormInputHidden(array(), array('class' => 'available'));
    }
}