mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
FIX removed @package and @subpackage references
This commit is contained in:
parent
026b64cafb
commit
7c8866d280
@ -9,9 +9,6 @@ use SilverStripe\Forms\GridField\GridField;
|
|||||||
use SilverStripe\Forms\GridField\GridField_ActionProvider;
|
use SilverStripe\Forms\GridField\GridField_ActionProvider;
|
||||||
use SilverStripe\Forms\GridField\GridField_ColumnProvider;
|
use SilverStripe\Forms\GridField\GridField_ColumnProvider;
|
||||||
|
|
||||||
/**
|
|
||||||
* @package blog
|
|
||||||
*/
|
|
||||||
class GridFieldMergeAction implements GridField_ColumnProvider, GridField_ActionProvider
|
class GridFieldMergeAction implements GridField_ColumnProvider, GridField_ActionProvider
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
@ -15,12 +15,6 @@ use SilverStripe\Security\Security;
|
|||||||
use SilverStripe\View\ArrayData;
|
use SilverStripe\View\ArrayData;
|
||||||
use SilverStripe\View\Requirements;
|
use SilverStripe\View\Requirements;
|
||||||
|
|
||||||
/**
|
|
||||||
* Adds a component which allows a user to add a new DataObject by database field.
|
|
||||||
*
|
|
||||||
* @package silverstripe
|
|
||||||
* @subpackage blog
|
|
||||||
*/
|
|
||||||
class GridFieldAddByDBField implements GridField_ActionProvider, GridField_HTMLProvider
|
class GridFieldAddByDBField implements GridField_ActionProvider, GridField_HTMLProvider
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
@ -10,8 +10,6 @@ use SilverStripe\View\Requirements;
|
|||||||
* Provides a component to the {@link GridField} which tells the user whether or not a blog post
|
* Provides a component to the {@link GridField} which tells the user whether or not a blog post
|
||||||
* has been published and when.
|
* has been published and when.
|
||||||
*
|
*
|
||||||
* @package silverstripe
|
|
||||||
* @subpackage blog
|
|
||||||
*/
|
*/
|
||||||
class GridFieldBlogPostState extends GridFieldSiteTreeState
|
class GridFieldBlogPostState extends GridFieldSiteTreeState
|
||||||
{
|
{
|
||||||
|
@ -8,8 +8,6 @@ use SilverStripe\Lumberjack\Forms\GridFieldSiteTreeState;
|
|||||||
/**
|
/**
|
||||||
* GridField config necessary for managing a SiteTree object.
|
* GridField config necessary for managing a SiteTree object.
|
||||||
*
|
*
|
||||||
* @package silverstripe
|
|
||||||
* @subpackage blog
|
|
||||||
*/
|
*/
|
||||||
class GridFieldConfig_BlogPost extends GridFieldConfig_Lumberjack
|
class GridFieldConfig_BlogPost extends GridFieldConfig_Lumberjack
|
||||||
{
|
{
|
||||||
|
@ -33,9 +33,6 @@ use SilverStripe\View\Requirements;
|
|||||||
/**
|
/**
|
||||||
* Blog Holder
|
* Blog Holder
|
||||||
*
|
*
|
||||||
* @package silverstripe
|
|
||||||
* @subpackage blog
|
|
||||||
*
|
|
||||||
* @method HasManyList Tags() List of tags in this blog
|
* @method HasManyList Tags() List of tags in this blog
|
||||||
* @method HasManyList Categories() List of categories in this blog
|
* @method HasManyList Categories() List of categories in this blog
|
||||||
* @method ManyManyList Editors() List of editors
|
* @method ManyManyList Editors() List of editors
|
||||||
|
@ -11,9 +11,7 @@ use SilverStripe\ORM\DataObject;
|
|||||||
/**
|
/**
|
||||||
* A blog category for generalising blog posts.
|
* A blog category for generalising blog posts.
|
||||||
*
|
*
|
||||||
* @package silverstripe
|
*
|
||||||
* @subpackage blog
|
|
||||||
*
|
|
||||||
* @method Blog Blog()
|
* @method Blog Blog()
|
||||||
*
|
*
|
||||||
* @property string $Title
|
* @property string $Title
|
||||||
|
@ -9,10 +9,6 @@ use SilverStripe\ORM\FieldType\DBDatetime;
|
|||||||
use SilverStripe\ORM\PaginatedList;
|
use SilverStripe\ORM\PaginatedList;
|
||||||
use SilverStripe\Security\Member;
|
use SilverStripe\Security\Member;
|
||||||
|
|
||||||
/**
|
|
||||||
* @package silverstripe
|
|
||||||
* @subpackage blog
|
|
||||||
*/
|
|
||||||
class BlogController extends PageController
|
class BlogController extends PageController
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
@ -19,8 +19,6 @@ use SilverStripe\Security\Permission;
|
|||||||
* This class is responsible for filtering the SiteTree when necessary and also overlaps into
|
* This class is responsible for filtering the SiteTree when necessary and also overlaps into
|
||||||
* filtering only published posts.
|
* filtering only published posts.
|
||||||
*
|
*
|
||||||
* @package silverstripe
|
|
||||||
* @subpackage blog
|
|
||||||
*/
|
*/
|
||||||
class BlogFilter extends Lumberjack
|
class BlogFilter extends Lumberjack
|
||||||
{
|
{
|
||||||
|
@ -16,8 +16,6 @@ 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.
|
||||||
*
|
*
|
||||||
* @package silverstripe
|
|
||||||
* @subpackage blog
|
|
||||||
*/
|
*/
|
||||||
class BlogMemberExtension extends DataExtension
|
class BlogMemberExtension extends DataExtension
|
||||||
{
|
{
|
||||||
@ -53,7 +51,7 @@ class BlogMemberExtension extends DataExtension
|
|||||||
if ($this->owner->URLSegment && !$this->owner->isChanged('FirstName') && !$this->owner->isChanged('Surname')) {
|
if ($this->owner->URLSegment && !$this->owner->isChanged('FirstName') && !$this->owner->isChanged('Surname')) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->owner->URLSegment = $this->generateURLSegment();
|
$this->owner->URLSegment = $this->generateURLSegment();
|
||||||
|
|
||||||
while (!$this->validURLSegment()) {
|
while (!$this->validURLSegment()) {
|
||||||
|
@ -15,8 +15,6 @@ use SilverStripe\View\Parsers\URLSegmentFilter;
|
|||||||
/**
|
/**
|
||||||
* An object shared by BlogTag and BlogCategory.
|
* An object shared by BlogTag and BlogCategory.
|
||||||
*
|
*
|
||||||
* @package silverstripe
|
|
||||||
* @subpackage blog
|
|
||||||
*/
|
*/
|
||||||
trait BlogObject
|
trait BlogObject
|
||||||
{
|
{
|
||||||
|
@ -30,9 +30,6 @@ use SilverStripe\View\Requirements;
|
|||||||
/**
|
/**
|
||||||
* An individual blog post.
|
* An individual blog post.
|
||||||
*
|
*
|
||||||
* @package silverstripe
|
|
||||||
* @subpackage blog
|
|
||||||
*
|
|
||||||
* @method ManyManyList Categories()
|
* @method ManyManyList Categories()
|
||||||
* @method ManyManyList Tags()
|
* @method ManyManyList Tags()
|
||||||
* @method ManyManyList Authors()
|
* @method ManyManyList Authors()
|
||||||
|
@ -4,10 +4,6 @@ namespace SilverStripe\Blog\Model;
|
|||||||
|
|
||||||
use PageController;
|
use PageController;
|
||||||
|
|
||||||
/**
|
|
||||||
* @package silverstripe
|
|
||||||
* @subpackage blog
|
|
||||||
*/
|
|
||||||
class BlogPostController extends PageController
|
class BlogPostController extends PageController
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -17,8 +17,6 @@ use SilverStripe\Security\Permission;
|
|||||||
* This is responsible for filtering only published posts to users who do not have permission to
|
* This is responsible for filtering only published posts to users who do not have permission to
|
||||||
* view non-published posts.
|
* view non-published posts.
|
||||||
*
|
*
|
||||||
* @package silverstripe
|
|
||||||
* @subpackage blog
|
|
||||||
*/
|
*/
|
||||||
class BlogPostFilter extends DataExtension
|
class BlogPostFilter extends DataExtension
|
||||||
{
|
{
|
||||||
|
@ -11,8 +11,6 @@ use SilverStripe\Blog\Model\CategorisationObject;
|
|||||||
/**
|
/**
|
||||||
* A blog tag for keyword descriptions of a blog post.
|
* A blog tag for keyword descriptions of a blog post.
|
||||||
*
|
*
|
||||||
* @package silverstripe
|
|
||||||
* @subpackage blog
|
|
||||||
*
|
*
|
||||||
* @method Blog Blog()
|
* @method Blog Blog()
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user