00001 <?php
00002 require_once dirname(__FILE__) . '/dataobject.post.base.cls.php';
00003
00004
00005
00006
00007 abstract class DataObjectPostOriginatedBase extends DataObjectPostBase {
00008 public $license;
00009 public $originator;
00010 public $originator_source;
00011 public $originator_url;
00012 public $originator_data;
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 protected function collect_field_definitions() {
00023 return array_merge(
00024 array(
00025 new DBFieldText('license', 100),
00026 new DBFieldText('originator', 100),
00027 new DBFieldText('originator_source', 100),
00028 new DBFieldTextUrl('originator_url', null, DBField::NONE),
00029 new DBFieldText('originator_data', 255)
00030 ),
00031 parent::collect_field_definitions()
00032 );
00033 }
00034 }