<?php
return array(
    '*' => 'trim',
    'id' => array(
        'type' => 'hidden'
    ),
    'name',
    'path' => new validator_path(),
    'part',
    'price',
    'feature' => array(
        'type' => 'textarea',
        'class' => 'feature'
    ),
    'category_id' => array(
        'type' => 'hidden'
    ),
    'content' => array(
        'type' => 'textarea',
        //'class' => 'wysiwyg',
        'cols' => '80',
        'rows' => '10',
        'id' => 'editor1',
        'label' => 'Long Description'
    ),
    'description' => array(
        'type' => 'textarea',
        //'class' => 'wysiwyg',
        'cols' => '40',
        'rows' => '7',
        'id' => 'editor2',
        'label' => 'Short Description'
    )
);