2015-05-09 16:33:12 +02:00
|
|
|
<?php
|
|
|
|
|
2016-12-15 04:41:49 +01:00
|
|
|
namespace SilverStripe\Blog\Model;
|
|
|
|
|
2019-10-15 04:35:47 +02:00
|
|
|
use SilverStripe\ORM\ManyManyList;
|
|
|
|
|
2015-05-09 16:33:12 +02:00
|
|
|
/**
|
2019-10-15 04:35:47 +02:00
|
|
|
* @method ManyManyList|BlogPost[] BlogPosts()
|
2015-05-09 16:33:12 +02:00
|
|
|
*/
|
2015-11-21 07:17:29 +01:00
|
|
|
interface CategorisationObject
|
|
|
|
{
|
2019-10-15 06:37:06 +02:00
|
|
|
/**
|
|
|
|
* Number of times this object has blog posts in the current blog
|
|
|
|
*
|
|
|
|
* @return int
|
|
|
|
*/
|
|
|
|
public function getBlogCount();
|
2015-05-09 16:33:12 +02:00
|
|
|
}
|