Property | Type | Description | |
---|---|---|---|
$days | integer | ||
$id | integer | ||
$language | Newscoop\Entity\Language | ||
$noticeSent | string | ||
$paidDays | integer | ||
$sectionNumber | integer | ||
$startDate | DateTime | ||
$subscription | Newscoop\Subscription\Subscription |
Method | Description | |
---|---|---|
__construct ( |
||
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 | |
getSectionNumber ( ) : string | Get section number | |
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 | |
setNoticeSent ( string $noticeSent ) | Set noticeSent | |
setPaidDays ( integer $paidDays ) : Newscoop\Entity\SubscriptionSection | Set paid days | |
setStartDate ( DateTime $date ) : Newscoop\Entity\SubscriptionSection | Set start date |
public __construct ( |
||
$subscription | ||
$sectionNumber | integer |
public getExpirationDate ( ) : DateTime | ||
return | DateTime |
public getLanguage ( ) : Newscoop\Entity\Language | ||
return | Newscoop\Entity\Language |
public getSectionNumber ( ) : string | ||
return | string |
public getSubscription ( ) : Newscoop\Subscription\Subscription | ||
return | Newscoop\Subscription\Subscription |
public hasLanguage ( ) : boolean | ||
return | boolean |
public setLanguage ( |
||
$language | ||
return | void |
public setNoticeSent ( string $noticeSent ) | ||
$noticeSent | string |
public setPaidDays ( integer $paidDays ) : Newscoop\Entity\SubscriptionSection | ||
$paidDays | integer | |
return | Newscoop\Entity\SubscriptionSection |
public setStartDate ( DateTime $date ) : Newscoop\Entity\SubscriptionSection | ||
$date | DateTime | |
return | Newscoop\Entity\SubscriptionSection |
protected Newscoop\Entity\Language $language | ||
return | Newscoop\Entity\Language |