ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Ignore:
Timestamp:
Dec 1, 2008, 5:20:13 AM (12 years ago)
Author:
ebihara
Message:

#3030:added some methods for opPluginChannelPackage* models and forms

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/plugins/opPluginsChannelPlugin/trunk/lib/form/base/BaseopPluginChannelPackageForm.class.php

    r9279 r9438  
    1414  {
    1515    $this->setWidgets(array(
    16       'id'         => new sfWidgetFormInputHidden(),
    17       'name'       => new sfWidgetFormInput(),
    18       'license'    => new sfWidgetFormTextarea(),
    19       'summary'    => new sfWidgetFormTextarea(),
    20       'descripton' => new sfWidgetFormTextarea(),
     16      'id'          => new sfWidgetFormInputHidden(),
     17      'name'        => new sfWidgetFormInput(),
     18      'license'     => new sfWidgetFormTextarea(),
     19      'summary'     => new sfWidgetFormTextarea(),
     20      'description' => new sfWidgetFormTextarea(),
    2121    ));
    2222
    2323    $this->setValidators(array(
    24       'id'         => new sfValidatorPropelChoice(array('model' => 'opPluginChannelPackage', 'column' => 'id', 'required' => false)),
    25       'name'       => new sfValidatorString(array('max_length' => 64)),
    26       'license'    => new sfValidatorString(array('required' => false)),
    27       'summary'    => new sfValidatorString(array('required' => false)),
    28       'descripton' => new sfValidatorString(array('required' => false)),
     24      'id'          => new sfValidatorPropelChoice(array('model' => 'opPluginChannelPackage', 'column' => 'id', 'required' => false)),
     25      'name'        => new sfValidatorString(array('max_length' => 64)),
     26      'license'     => new sfValidatorString(array('required' => false)),
     27      'summary'     => new sfValidatorString(array('required' => false)),
     28      'description' => new sfValidatorString(array('required' => false)),
    2929    ));
    3030
Note: See TracChangeset for help on using the changeset viewer.