.

DataObjectPostOriginatedBase Class Reference

A post that has an origin (auithor, license, etc). More...

Inheritance diagram for DataObjectPostOriginatedBase:
DataObjectPostBase DataObjectTimestampedCached ISelfDescribing DataObjectCached ITimeStamped DataObjectBase IDataObject IActionSource ISearchAdapter IDBTable IDBWhereHolder

List of all members.

Public Attributes

  $license
  $originator
  $originator_data
  $originator_source
  $originator_url

Protected Member Functions

  collect_field_definitions ()
  Collect all table fields.

Detailed Description

A post that has an origin (auithor, license, etc).

Definition at line 7 of file dataobject.post.originated.base.php.


Member Function Documentation

DataObjectPostOriginatedBase::collect_field_definitions (  )  [protected]

Collect all table fields.

Should be overloaded only by classes which single purpose is to be overloaded itself. The rest should overload get_additional_field_definitions()

Returns:
array

Reimplemented from DataObjectPostBase.

Definition at line 22 of file dataobject.post.originated.base.php.

00022                                                        {
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         }

Member Data Documentation

DataObjectPostOriginatedBase::$license

Definition at line 8 of file dataobject.post.originated.base.php.

DataObjectPostOriginatedBase::$originator

Definition at line 9 of file dataobject.post.originated.base.php.

DataObjectPostOriginatedBase::$originator_data

Definition at line 12 of file dataobject.post.originated.base.php.

DataObjectPostOriginatedBase::$originator_source

Definition at line 10 of file dataobject.post.originated.base.php.

DataObjectPostOriginatedBase::$originator_url

Definition at line 11 of file dataobject.post.originated.base.php.


The documentation for this class was generated from the following file: