Actions

Source Code of This Project

/lib/form/doctrine/ResumeForm.class.php

<?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.
*/

/**
 * Resume form.
 *
 * @package    form
 * @subpackage Resume
 * @author     Victor Rad'
 */
class ResumeForm extends BaseResumeForm
{
    public function configure()
    {
        $this->widgetSchema['content'] = new sfWidgetFormTextareaTinyMCE(array(
                        'width'  => 800,
                        'height' => 350,
                        'config' => '
            theme_advanced_buttons4: "tablecontrols",
            plugins : "safari,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,imagemanager,filemanager",',
                        'theme'   =>  sfConfig::get('app_tinymce_theme','advanced'),
        ));
    }
}