API:EPrints/DataObj/Message

From EPrints Documentation
Revision as of 18:29, 11 August 2009 by Tdb01r (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Latest Source Code (3.3, 3.2) | Revision Log | Before editing this page please read Pod2Wiki

NAME

EPrints::DataObj::Message - user system message

DESCRIPTION

This is an internal class that shouldn't be used outside EPrints::Database.

METHODS

get_system_field_info

 $thing = EPrints::DataObj::Access->get_system_field_info

Core fields.

Constructor Methods

new

 $thing = EPrints::DataObj::Message->new( $session, $id )

The data object identified by $id.

new_from_data

 $thing = EPrints::DataObj::Message->new_from_data( $session, $known )

A new EPrints::DataObj::Message object containing data $known (a hash reference).

Class Methods

remove_all

 EPrints::DataObj::Message::remove_all( $session )

Remove all records from the message dataset.

get_defaults

 $defaults = EPrints::DataObj::Message->get_defaults( $session, $data )

Return default values for this object based on the starting data.

Object Methods

remove

 $foo = $thing->remove()

Remove this record from the data set (see EPrints::Database).

SEE ALSO

EPrints::DataObj and EPrints::DataSet.