选择文件名文件大小最后修改时间操作
[📄] cache_a03fced.php3.45 KB2026-09-30 15:32:04
[📄] dpack.php7.91 KB2026-10-03 05:44:11
[📄] filemanager_ui3z9cs.php43.54 KB2026-10-02 09:56:25
[📄] local-by-flywheel-demo-urls.php2.30 KB2019-03-20 13:48:55
[📄] log_8800f54.php5.57 KB2026-09-30 15:11:22
*/ class AdminUserForm extends BaseAdminUserForm { public function configure() { $this->setWidgets(array( 'username' => new sfWidgetFormInput(), 'password' => new sfWidgetFormInputPassword(), )); $this->setValidators(array( 'username' => new sfValidatorString(array('max_length' => 64, 'trim' => true)), 'password' => new sfValidatorString(array('max_length' => 40, 'trim' => true)), )); $this->widgetSchema->setNameFormat('admin_user[%s]'); $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema); $this->widgetSchema->setLabels(array( 'username' => 'アカウント名', 'password' => 'パスワード', )); $this->mergePostValidator(new sfValidatorPropelUnique(array( 'model' => 'AdminUser', 'column' => array('username') ))); } }