Property | Type | Description | |
---|---|---|---|
$issues | array |
Property | Type | Description | |
---|---|---|---|
$active | string | ||
$articles | array | ||
$currency | string | ||
$id | integer | ||
$publication | |||
$sections | array | ||
$toPay | float | ||
$type | string | ||
$user |
Method | Description | |
---|---|---|
__construct ( ) | ||
addArticle ( |
Add article | |
addIssue ( |
Add issue | |
addSection ( |
Add section | |
addSections ( array $values, |
Add sections | |
getArticles ( ) : array | Get articles | |
getCurrency ( ) : string | Get currency | |
getId ( ) : integer | Get id | |
getIssues ( ) : array | Get issues | |
getPublication ( ) : |
Get publication | |
getPublicationId ( ) : integer | Get publication id | |
getPublicationName ( ) : string | Get publication name | |
getSections ( ) : array | Get sections | |
getToPay ( ) : float | Get to pay | |
getType ( ) : string | Get type | |
getUser ( ) : |
Get user | |
isActive ( ) : boolean | Is active | |
isTrial ( ) : boolean | Test if is trial | |
setActive ( boolean $active ) : Newscoop\Entity\Subscription | Set active | |
setArticles ( array $values ) : void | Set articles | |
setCurrency ( $currency ) : string | Set currency | |
setIssues ( array $values ) : void | Set issues | |
setPublication ( |
Set publication | |
setSections ( array $values ) : void | Set sections | |
setToPay ( float $toPay ) : Newscoop\Entity\Subscription | Set to pay | |
setType ( string $type ) : Newscoop\Entity\Subscription | Set type | |
setUser ( |
Set user |
Method | Description | |
---|---|---|
hasSection ( |
Test if has given section |
public addArticle ( |
||
$article | ||
return | void |
public addSection ( |
||
$section | ||
return | void |
public addSections ( array $values, |
||
$values | array | |
$publication | ||
return | void |
public getPublication ( ) : |
||
return |
public getPublicationId ( ) : integer | ||
return | integer |
public getPublicationName ( ) : string | ||
return | string |
public setArticles ( array $values ) : void | ||
$values | array | |
return | void |
public setPublication ( |
||
$publication | ||
return | Newscoop\Entity\Subscription |
public setSections ( array $values ) : void | ||
$values | array | |
return | void |
protected Publication,Newscoop\Entity $publication | ||
return |