프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$config | array | ||
$em | |||
$getArticleActions | array | ||
$postArticleActions | array |
메소드 | 설명 | |
---|---|---|
__construct ( array $config, |
||
createBlog ( string $title, Section $section ) : Article | Create blog article | |
getBlogInfo ( |
Get blog info article | |
getSection ( |
Get blog section for given user | |
isAllowed ( Zend_Controller_Request_Abstract $request, |
Test if blogger is allowed to perform action | |
isBlogAuthor ( Author $author, Article $blogInfo ) : boolean | Test if author is blog author | |
isBlogger ( |
Test if user is blogger | |
isUsersArticle ( Article $article, |
Test if given article is from users blog |
메소드 | 설명 | |
---|---|---|
isRequestedArticleEditable ( Zend_Controller_Request_Abstract $request, |
Test if requested article is editable by user |
public __construct ( array $config, |
||
$config | array | |
$em |
public createBlog ( string $title, Section $section ) : Article | ||
$title | string | |
$section | Section | |
리턴 | Article |
public getBlogInfo ( |
||
$user | ||
리턴 | Article | null |
public getSection ( |
||
$user | ||
리턴 | Section | null |
public isBlogAuthor ( Author $author, Article $blogInfo ) : boolean | ||
$author | Author | |
$blogInfo | Article | |
리턴 | boolean |
public isUsersArticle ( Article $article, |
||
$article | Article | |
$user | ||
리턴 | boolean |