PHP 클래스 GiftDAO, ojs

상속: extends PKPGiftDAO
파일 보기 프로젝트 열기: pkp/ojs

공개 메소드들

메소드 설명
__construct ( ) Constructor
_redeemGiftSubscription ( &$gift ) : integer Redeem a gift subscription for a user.
newDataObject ( ) : Gift Construct a new data object corresponding to this DAO.
redeemGift ( $assocType, $assocId, $userId, $giftId ) : integer Redeem a gift for a user.

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( )

_redeemGiftSubscription() 공개 메소드

Redeem a gift subscription for a user.
public _redeemGiftSubscription ( &$gift ) : integer
$gift Gift
리턴 integer Status code indicating whether gift subscription could be redeemed

newDataObject() 공개 메소드

Construct a new data object corresponding to this DAO.
public newDataObject ( ) : Gift
리턴 Gift

redeemGift() 공개 메소드

Redeem a gift for a user.
public redeemGift ( $assocType, $assocId, $userId, $giftId ) : integer
$assocType int
$assocId int
$userId int
$giftId int
리턴 integer Status code indicating whether gift could be redeemed