Changeset 9505
- Timestamp:
- Dec 8, 2008, 6:20:11 PM (14 years ago)
- Location:
- OpenPNE3/trunk
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE3/trunk/apps/pc_frontend/modules/member/actions/actions.class.php
r9500 r9505 70 70 $this->form = new $formClass($this->getUser()->getMember()); 71 71 72 if ($request->isMethod('post')) { 72 if ($request->isMethod('post')) 73 { 73 74 $this->form->bind($request->getParameter('member_config')); 74 if ($this->form->isValid()) { 75 if ($this->form->isValid()) 76 { 75 77 $this->form->save($this->getUser()->getMemberId()); 76 $this->redirect('member/config ');78 $this->redirect('member/config?category='.$this->categoryName); 77 79 } 78 80 } -
OpenPNE3/trunk/config/schema.yml
r9478 r9505 15 15 is_friend: { type: boolean } 16 16 is_friend_pre: { type: boolean } 17 is_access_block: { type: boolean } 17 18 _uniques: 18 19 member_id_to_from: [ member_id_to, member_id_from ] -
OpenPNE3/trunk/lib/config/config/member_config.yml
r9502 r9505 46 46 IsRequired: true 47 47 IsConfirm: true 48 49 accessBlock: 50 access_block: 51 Name: "access_block" 52 Caption: "アクセスブロック" 53 FormType: "increased_input" 54 ValueType: "pass" 55 IsRegist: false 56 IsConfig: true 57 IsUnique: false 58 IsRequired: false 59 IsConfirm: false -
OpenPNE3/trunk/lib/form/OpenPNEFormAutoGenerate.class.php
r9503 r9505 44 44 $params['month_format'] = 'number'; 45 45 $obj = new opWidgetFormDate($params); 46 break; 47 case 'increased_input': 48 $obj = new opWidgetFormInputIncreased($params); 46 49 break; 47 50 default: … … 117 120 $obj = new sfValidatorPassword($option); 118 121 break; 122 case 'pass': 123 $obj = new sfValidatorPass($option); 124 break; 119 125 default: 120 126 $obj = new sfValidatorString($option); -
OpenPNE3/trunk/lib/model/MemberRelationship.php
r9060 r9505 11 11 { 12 12 private $toInstance; 13 14 public function save(PropelPDO $con = null) 15 { 16 if ($this->isSelf()) 17 { 18 throw new LogicException('Cannot save an object because member_id_to is equal to member_id_from'); 19 } 20 21 return parent::save($con); 22 } 13 23 14 24 public function isFriend()
Note: See TracChangeset
for help on using the changeset viewer.