프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$em | |||
$random |
메소드 | 설명 | |
---|---|---|
__construct ( |
||
findArticleByWebcode ( string $webcode ) : Newscoop\Entity\Article | Find article by webcode | |
getArticleWebcode ( |
Get article webcode | |
setArticleWebcode ( |
Set article webcode |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | Newscoop\Entity\Article |
public getArticleWebcode ( |
||
$article | ||
리턴 | string |
public setArticleWebcode ( |
||
$article | ||
$webcode | string | |
리턴 | void |