<?php
classMetaTagextendsDataObject {static$db=array(
'Name'=>'Text',
'http_equiv'=>'Text',
'Content'=>'Text',
);
static$has_one=array(
'Page'=>'Page',
);
/* This will limit each meta tag to being attached to one page, if you want the same meta tag to be available on multiple pages, look at using a many_many relationship */functiongetCMSFields_forPopup() {
returnnewFieldSet(
newTextField('Name'),
newTextField('http_equiv'),
newTextField('Content')
);
}
}
?>