프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$article | |||
$articleNumber | integer | ||
$days | integer | ||
$id | integer | ||
$language | Newscoop\Entity\Language | ||
$noticeSent | string | ||
$paidDays | integer | ||
$startDate | DateTime | ||
$subscription | Newscoop\Subscription\Subscription |
메소드 | 설명 | |
---|---|---|
__construct ( |
||
getArticle ( ) : string | Get article | |
getArticleNumber ( ) : integer | Get articleNumber | |
getDays ( ) : integer | Get days | |
getExpirationDate ( ) : DateTime | Get expiration date | |
getId ( ) : integer | Get id | |
getLanguage ( ) : Newscoop\Entity\Language | Get language | |
getLanguageId ( ) : integer | Get language id | |
getLanguageName ( ) : string | Get language name | |
getName ( ) : string | Get name | |
getPaidDays ( ) : integer | Get paid days | |
getStartDate ( ) : DateTime | Get start date | |
getSubscription ( ) : Newscoop\Subscription\Subscription | Get subscription | |
hasLanguage ( ) : boolean | Test if has language set | |
setDays ( integer $days ) : Newscoop\Entity\SubscriptionSection | Set days | |
setLanguage ( |
Set language | |
setPaidDays ( integer $paidDays ) : Newscoop\Entity\SubscriptionSection | Set paid days | |
setStartDate ( DateTime $date ) : Newscoop\Entity\SubscriptionSection | Set start date |
public __construct ( |
||
$subscription | ||
$article |
public getLanguage ( ) : Newscoop\Entity\Language | ||
리턴 | Newscoop\Entity\Language |
public getSubscription ( ) : Newscoop\Subscription\Subscription | ||
리턴 | Newscoop\Subscription\Subscription |
public setLanguage ( |
||
$language | ||
리턴 | void |
public setPaidDays ( integer $paidDays ) : Newscoop\Entity\SubscriptionSection | ||
$paidDays | integer | |
리턴 | Newscoop\Entity\SubscriptionSection |
public setStartDate ( DateTime $date ) : Newscoop\Entity\SubscriptionSection | ||
$date | DateTime | |
리턴 | Newscoop\Entity\SubscriptionSection |