PHP Class Newscoop\Entity\Webcode

Datei anzeigen Open project: sourcefabric/newscoop Class Usage Examples

Protected Properties

Property Type Description
$article Newscoop\Entity\Article
$webcode string

Public Methods

Method Description
__construct ( string $webcode, Newscoop\Entity\Article $article )
__toString ( ) : string
getArticle ( ) : Newscoop\Entity\Article Get article
getWebcode ( ) : string | null Get webcode

Method Details

__construct() public method

public __construct ( string $webcode, Newscoop\Entity\Article $article )
$webcode string
$article Newscoop\Entity\Article

__toString() public method

public __toString ( ) : string
return string

getArticle() public method

Get article
public getArticle ( ) : Newscoop\Entity\Article
return Newscoop\Entity\Article

getWebcode() public method

Get webcode
public getWebcode ( ) : string | null
return string | null

Property Details

$article protected_oe property

protected Newscoop\Entity\Article $article
return Newscoop\Entity\Article

$webcode protected_oe property

protected string $webcode
return string