PHP Class Newscoop\Entity\Webcode

Afficher le fichier Open project: sourcefabric/newscoop Class Usage Examples

Protected Properties

Свойство Type Description
$article Newscoop\Entity\Article
$webcode string

Méthodes publiques

Méthode 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 méthode

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

__toString() public méthode

public __toString ( ) : string
Résultat string

getArticle() public méthode

Get article
public getArticle ( ) : Newscoop\Entity\Article
Résultat Newscoop\Entity\Article

getWebcode() public méthode

Get webcode
public getWebcode ( ) : string | null
Résultat string | null

Property Details

$article protected_oe property

protected Newscoop\Entity\Article $article
Résultat Newscoop\Entity\Article

$webcode protected_oe property

protected string $webcode
Résultat string