| 
<?
 
 class Tag extends dbObject
 {
 function __construct($ID=false)
 {
 $this->__setupDatabase('tags', // database table
 array('ID_Tag' => 'ID',    // database field => mapped object property
 'strTag' => 'Tag'),
 'ID_Tag', // primary table key
 $ID);    // value of primary key to init with (can be false for new empty object / row)
 $this->addRelation('Blog', 'BlogTag'); // define a many:many relation to Blog through BlogTags
 
 }
 }
 
 
 
 ?>
 |