- Timestamp:
- 10/03/08 12:53:45 (3 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
events/phpframework/rhaco/trunk/library/model/StandBy.php
r14912 r20593 1 1 <?php 2 2 Rhaco::import("model.table.StandByTable"); 3 Rhaco::import('model.Follow'); 3 4 /** 4 5 * 5 6 */ 6 7 class StandBy extends StandByTable{ 7 8 // 相互接続した方がいいのかな? 9 function accept(&$db){ 10 $follow = new Follow(); 11 $follow->setUserId($this->userId); 12 $follow->setFollowId($this->requestId); 13 if($follow->save($db)){ 14 $db->delete($this); 15 return true; 16 } 17 return false; 18 } 19 function deny(&$db){ 20 return $db->delete($this); 21 } 8 22 } 9 23
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)