Merge branch '4.1' into 4

This commit is contained in:
Guy Sartorelli 2023-12-18 15:18:17 +13:00
commit 0704d99992
No known key found for this signature in database
GPG Key ID: F313E3B9504D496A
5 changed files with 15 additions and 16 deletions

View File

@ -31,11 +31,11 @@ use SilverStripe\View\Requirements;
/** /**
* Blog Holder * Blog Holder
* *
* @method HasManyList Tags() List of tags in this blog * @method HasManyList<BlogCategory> Categories()
* @method HasManyList Categories() List of categories in this blog * @method ManyManyList<Member> Contributors()
* @method ManyManyList Editors() List of editors * @method ManyManyList<Member> Editors()
* @method ManyManyList Writers() List of writers * @method HasManyList<BlogTag> Tags()
* @method ManyManyList Contributors() List of contributors * @method ManyManyList<Member> Writers()
*/ */
class Blog extends Page implements PermissionProvider class Blog extends Page implements PermissionProvider
{ {

View File

@ -7,11 +7,11 @@ use SilverStripe\ORM\DataObject;
/** /**
* A blog category for generalising blog posts. * A blog category for generalising blog posts.
* *
* @method Blog Blog()
*
* @property string $Title * @property string $Title
* @property string $URLSegment * @property string $URLSegment
* @property int $BlogID * @property int $BlogID
* @method Blog Blog()
* @method SilverStripe\ORM\ManyManyList<BlogPost> BlogPosts()
*/ */
class BlogCategory extends DataObject implements CategorisationObject class BlogCategory extends DataObject implements CategorisationObject
{ {

View File

@ -17,6 +17,8 @@ use SilverStripe\View\Requirements;
/** /**
* This class is responsible for add Blog specific behaviour to Members. * This class is responsible for add Blog specific behaviour to Members.
* *
* @method SilverStripe\ORM\ManyManyList<BlogPost> BlogPosts()
* @method Image BlogProfileImage()
*/ */
class BlogMemberExtension extends DataExtension class BlogMemberExtension extends DataExtension
{ {

View File

@ -31,17 +31,15 @@ use SilverStripe\View\Requirements;
/** /**
* An individual blog post. * An individual blog post.
* *
* @method ManyManyList Categories()
* @method ManyManyList Tags()
* @method ManyManyList Authors()
* @method Blog Parent()
* @method Image FeaturedImage()
*
* @property string $PublishDate * @property string $PublishDate
* @property string $AuthorNames * @property string $AuthorNames
* @property string $Summary * @property string $Summary
* @property int $ParentID * @property int $ParentID
* @property int $FeaturedImageID * @property int $FeaturedImageID
* @method ManyManyList<Member> Authors()
* @method ManyManyList<BlogCategory> Categories()
* @method Image FeaturedImage()
* @method ManyManyList<BlogTag> Tags()
*/ */
class BlogPost extends Page class BlogPost extends Page
{ {

View File

@ -7,12 +7,11 @@ use SilverStripe\ORM\DataObject;
/** /**
* A blog tag for keyword descriptions of a blog post. * A blog tag for keyword descriptions of a blog post.
* *
*
* @method Blog Blog()
*
* @property string $Title * @property string $Title
* @property string $URLSegment * @property string $URLSegment
* @property int $BlogID * @property int $BlogID
* @method Blog Blog()
* @method SilverStripe\ORM\ManyManyList<BlogPost> BlogPosts()
*/ */
class BlogTag extends DataObject implements CategorisationObject class BlogTag extends DataObject implements CategorisationObject
{ {