silverstripe-blog/model/BlogTag.php

25 lines
425 B
PHP
Raw Normal View History

2013-07-21 12:23:35 +02:00
<?php
/**
* A blog tag for keyword descriptions of a Blog post
*
* @package silverstripe
* @subpackage blog
*
* @author Michael Strong <micmania@hotmail.co.uk>
**/
class BlogTag extends DataObject {
private static $db = array(
"Title" => "Varchar(255)",
);
private static $has_one = array(
"Blog" => "Blog",
);
private static $many_many = array(
"BlogPosts" => "BlogPost",
);
}