Свойство | Type | Description | |
---|---|---|---|
$em | |||
$random |
Méthode | Description | |
---|---|---|
__construct ( |
||
findArticleByWebcode ( string $webcode ) : Newscoop\Entity\Article | Find article by webcode | |
getArticleWebcode ( |
Get article webcode | |
setArticleWebcode ( |
Set article webcode |
Méthode | Description | |
---|---|---|
generateWebcode ( ) | Generate webcode | |
getRepository ( ) : Doctrine\ORM\EntityRepository | Get webcode repository | |
isUnique ( string $webcode ) : boolean | Test if webcode is unique |
public __construct ( |
||
$em | ||
$random |
public findArticleByWebcode ( string $webcode ) : Newscoop\Entity\Article | ||
$webcode | string | |
Résultat | Newscoop\Entity\Article |
public getArticleWebcode ( |
||
$article | ||
Résultat | string |
public setArticleWebcode ( |
||
$article | ||
$webcode | string | |
Résultat | void |