<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.ext-9.eprints-hosting.org/w/index.php?action=history&amp;feed=atom&amp;title=API_EPrints%2FDataObj</id>
	<title>API EPrints/DataObj - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?action=history&amp;feed=atom&amp;title=API_EPrints%2FDataObj"/>
	<link rel="alternate" type="text/html" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?title=API_EPrints/DataObj&amp;action=history"/>
	<updated>2026-05-10T00:43:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://wiki.ext-9.eprints-hosting.org/w/index.php?title=API_EPrints/DataObj&amp;diff=6628&amp;oldid=prev</id>
		<title>Tdb01r: Removing all content from page</title>
		<link rel="alternate" type="text/html" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?title=API_EPrints/DataObj&amp;diff=6628&amp;oldid=prev"/>
		<updated>2009-08-10T16:29:58Z</updated>

		<summary type="html">&lt;p&gt;Removing all content from page&lt;/p&gt;
&lt;a href=&quot;https://wiki.ext-9.eprints-hosting.org/w/index.php?title=API_EPrints/DataObj&amp;amp;diff=6628&amp;amp;oldid=6621&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Tdb01r</name></author>
	</entry>
	<entry>
		<id>https://wiki.ext-9.eprints-hosting.org/w/index.php?title=API_EPrints/DataObj&amp;diff=6621&amp;oldid=prev</id>
		<title>Tdb01r: New page: &lt;!-- Pod2Wiki=_preamble_  This page has been automatically generated from the EPrints source. Any wiki changes made between the &#039;Pod2Wiki=*&#039; and &#039;End of Pod2Wiki&#039; comments will be lost.  -...</title>
		<link rel="alternate" type="text/html" href="https://wiki.ext-9.eprints-hosting.org/w/index.php?title=API_EPrints/DataObj&amp;diff=6621&amp;oldid=prev"/>
		<updated>2009-08-10T16:24:22Z</updated>

		<summary type="html">&lt;p&gt;New page: &amp;lt;!-- Pod2Wiki=_preamble_  This page has been automatically generated from the EPrints source. Any wiki changes made between the &amp;#039;Pod2Wiki=*&amp;#039; and &amp;#039;End of Pod2Wiki&amp;#039; comments will be lost.  -...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;!-- Pod2Wiki=_preamble_ &lt;br /&gt;
This page has been automatically generated from the EPrints source. Any wiki changes made between the &amp;#039;Pod2Wiki=*&amp;#039; and &amp;#039;End of Pod2Wiki&amp;#039; comments will be lost.&lt;br /&gt;
 --&amp;gt;[[Category:API]]&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=head_name --&amp;gt;=NAME=&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;EPrints::DataObj&amp;#039;&amp;#039;&amp;#039; - Base class for records in EPrints.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=head_description --&amp;gt;=DESCRIPTION=&lt;br /&gt;
This module is a base class which is inherited by [[API_EPrints/DataObj/EPrint]],[[API_EPrints/User]], [[API_EPrints/DataObj/Subject]] and[[API_EPrints/DataObj/Document]] and several other classes.&lt;br /&gt;
It is ABSTRACT - its methods should not be called directly.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_get_system_field_info --&amp;gt;==get_system_field_info==&lt;br /&gt;
&lt;br /&gt;
  $sys_fields = EPrints::DataObj-&amp;amp;gt;get_system_field_info&lt;br /&gt;
&lt;br /&gt;
Return an array describing the system metadata of the this dataset.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_new --&amp;gt;==new==&lt;br /&gt;
&lt;br /&gt;
  $dataobj = EPrints::DataObj-&amp;amp;gt;new( $session, $id [, $dataset] )&lt;br /&gt;
&lt;br /&gt;
Return new data object, created by loading it from the database.&lt;br /&gt;
If $dataset is not defined uses the default dataset for this object.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_new_from_data --&amp;gt;==new_from_data==&lt;br /&gt;
&lt;br /&gt;
  $dataobj = EPrints::DataObj-&amp;amp;gt;new_from_data( $session, $data [, $dataset ] )&lt;br /&gt;
&lt;br /&gt;
Construct a new EPrints::DataObj object based on the $data hash reference of metadata.&lt;br /&gt;
Used to create an object from the data retrieved from the database.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_get_defaults --&amp;gt;==get_defaults==&lt;br /&gt;
&lt;br /&gt;
  $defaults = EPrints::User-&amp;amp;gt;get_defaults( $session, $data, $dataset )&lt;br /&gt;
&lt;br /&gt;
Return default values for this object based on the starting data.&lt;br /&gt;
Should be subclassed.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_remove --&amp;gt;==remove==&lt;br /&gt;
&lt;br /&gt;
  $success = $dataobj-&amp;amp;gt;remove&lt;br /&gt;
&lt;br /&gt;
Remove this data object from the database and any sub-objects or related files. &lt;br /&gt;
Return true if successful.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_clear_changed --&amp;gt;==clear_changed==&lt;br /&gt;
&lt;br /&gt;
  $dataobj-&amp;amp;gt;clear_changed( )&lt;br /&gt;
&lt;br /&gt;
Clear any changed fields, which will result in them not being committed unlessforce is used.&lt;br /&gt;
This method is used by the Database to avoid unnecessary commits.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_commit --&amp;gt;==commit==&lt;br /&gt;
&lt;br /&gt;
  $success = $dataobj-&amp;amp;gt;commit( [$force] )&lt;br /&gt;
&lt;br /&gt;
Write this object to the database and reset the changed fields.&lt;br /&gt;
If $force isn&amp;#039;t true then it only actually modifies the databaseif one or more fields have been changed.&lt;br /&gt;
Commit may also queue indexer jobs or log changes, depending on the object.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_get_value --&amp;gt;==get_value==&lt;br /&gt;
&lt;br /&gt;
  $value = $dataobj-&amp;amp;gt;get_value( $fieldname )&lt;br /&gt;
&lt;br /&gt;
Get a the value of a metadata field. If the field is not set then it returnsundef unless the field has the property multiple set, in which case it returns [] (a reference to an empty array).&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_set_value --&amp;gt;==set_value==&lt;br /&gt;
&lt;br /&gt;
  $dataobj-&amp;amp;gt;set_value( $fieldname, $value )&lt;br /&gt;
&lt;br /&gt;
Set the value of the named metadata field in this record.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_get_values --&amp;gt;==get_values==&lt;br /&gt;
&lt;br /&gt;
  @values = $dataobj-&amp;amp;gt;get_values( $fieldnames )&lt;br /&gt;
&lt;br /&gt;
Returns a list of all the values in this record of all the fields specifiedby $fieldnames. $fieldnames should be in the format used by browse views - slashseperated fieldnames with an optional .id suffix to indicate the id part ratherthan the main part. &lt;br /&gt;
For example &amp;quot;author.id/editor.id&amp;quot; would return a list of all author and editorids from this record.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_get_session --&amp;gt;==get_session==&lt;br /&gt;
&lt;br /&gt;
  $session = $dataobj-&amp;amp;gt;get_session&lt;br /&gt;
&lt;br /&gt;
Returns the EPrints::Session object to which this record belongs.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_get_data --&amp;gt;==get_data==&lt;br /&gt;
&lt;br /&gt;
  $data = $dataobj-&amp;amp;gt;get_data&lt;br /&gt;
&lt;br /&gt;
Returns a reference to the hash table of all the metadata for this record keyed by fieldname.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_get_dataset_id --&amp;gt;==get_dataset_id==&lt;br /&gt;
&lt;br /&gt;
  $dataset = EPrints::DataObj-&amp;amp;gt;get_dataset_id&lt;br /&gt;
&lt;br /&gt;
Returns the id of the [[API_EPrints/DataSet]] object to which this record belongs.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_get_dataset --&amp;gt;==get_dataset==&lt;br /&gt;
&lt;br /&gt;
  $dataset = $dataobj-&amp;amp;gt;get_dataset&lt;br /&gt;
&lt;br /&gt;
Returns the [[API_EPrints/DataSet]] object to which this record belongs.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_is_set --&amp;gt;==is_set==&lt;br /&gt;
&lt;br /&gt;
  $bool = $dataobj-&amp;amp;gt;is_set( $fieldname )&lt;br /&gt;
&lt;br /&gt;
Returns true if the named field is set in this record, otherwise false.&lt;br /&gt;
Warns if the field does not exist.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_exists_and_set --&amp;gt;==exists_and_set==&lt;br /&gt;
&lt;br /&gt;
  $bool = $dataobj-&amp;amp;gt;exists_and_set( $fieldname )&lt;br /&gt;
&lt;br /&gt;
Returns true if the named field is set in this record, otherwise false.&lt;br /&gt;
If the field does not exist, just return false.&lt;br /&gt;
This method is useful for plugins which may operate on multiple repositories, and the fact a field does not exist is not an issue.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_get_id --&amp;gt;==get_id==&lt;br /&gt;
&lt;br /&gt;
  $id = $dataobj-&amp;amp;gt;get_id&lt;br /&gt;
&lt;br /&gt;
Returns the value of the primary key of this record.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_get_gid --&amp;gt;==get_gid==&lt;br /&gt;
&lt;br /&gt;
  $id = $dataobj-&amp;amp;gt;get_gid&lt;br /&gt;
&lt;br /&gt;
DEPRECATED (see uri())&lt;br /&gt;
Returns the globally referential fully-qualified identifier for this object orundef if this object can not be externally referenced.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_get_datestamp --&amp;gt;==get_datestamp==&lt;br /&gt;
&lt;br /&gt;
  $datestamp = $dataobj-&amp;amp;gt;get_datestamp&lt;br /&gt;
&lt;br /&gt;
Returns the datestamp of this object in &amp;quot;YYYY-MM-DD hh:mm:ss&amp;quot; format.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_render_value --&amp;gt;==render_value==&lt;br /&gt;
&lt;br /&gt;
  $xhtml = $dataobj-&amp;amp;gt;render_value( $fieldname, [$showall] )&lt;br /&gt;
&lt;br /&gt;
Returns the rendered version of the value of the given field, as appropriatefor the current session. If $showall is true then all values are rendered - this is usually used for staff viewing data.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_render_citation --&amp;gt;==render_citation==&lt;br /&gt;
&lt;br /&gt;
  $xhtml = $dataobj-&amp;amp;gt;render_citation( [$style], [%params] )&lt;br /&gt;
&lt;br /&gt;
Renders the record as a citation. If $style is set then it uses that citationstyle from the citations config file. Otherwise $style defaults to the typeof this record. If $params{url} is set then the citiation will link to the specifiedURL.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_render_citation_link --&amp;gt;==render_citation_link==&lt;br /&gt;
&lt;br /&gt;
  $xhtml = $dataobj-&amp;amp;gt;render_citation_link( [$style], %params )&lt;br /&gt;
&lt;br /&gt;
Renders a citation (as above) but as a link to the URL for this item. Forexample - the abstract page of an eprint. &lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_render_description --&amp;gt;==render_description==&lt;br /&gt;
&lt;br /&gt;
  $xhtml = $dataobj-&amp;amp;gt;render_description&lt;br /&gt;
&lt;br /&gt;
Returns a short description of this object using the default citation stylefor this dataset.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_render --&amp;gt;==render==&lt;br /&gt;
&lt;br /&gt;
  ($xhtml, $title ) = $dataobj-&amp;amp;gt;render&lt;br /&gt;
&lt;br /&gt;
Return a chunk of XHTML DOM describing this object in the normal way.This is the public view of the record, not the staff view.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_render_full --&amp;gt;==render_full==&lt;br /&gt;
&lt;br /&gt;
  ($xhtml, $title ) = $dataobj-&amp;amp;gt;render_full&lt;br /&gt;
&lt;br /&gt;
Return an XHTML table in DOM describing this record. All values ofall fields are listed. This is the staff view.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_uri --&amp;gt;==uri==&lt;br /&gt;
&lt;br /&gt;
  $url = $dataobj-&amp;amp;gt;uri&lt;br /&gt;
&lt;br /&gt;
Returns a unique URI for this object. Not certain to resolve as a URL.&lt;br /&gt;
If $c-&amp;amp;gt;{dataobj_uri}-&amp;amp;gt;{eprint} is a function, call that to work it out.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_internal_uri --&amp;gt;==internal_uri==&lt;br /&gt;
&lt;br /&gt;
  $uri = $dataobj-&amp;amp;gt;internal_uri()&lt;br /&gt;
&lt;br /&gt;
Return an internal URI for this object (independent of repository hostname).&lt;br /&gt;
To retrieve an object by internal URI use [[API_EPrints/DataSet]]::get_object_from_uri().&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_get_url --&amp;gt;==get_url==&lt;br /&gt;
&lt;br /&gt;
  $url = $dataobj-&amp;amp;gt;get_url&lt;br /&gt;
&lt;br /&gt;
Returns the URL for this record, for example the URL of the abstract pageof an eprint.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_get_control_url --&amp;gt;==get_control_url==&lt;br /&gt;
&lt;br /&gt;
  $url = $dataobj-&amp;amp;gt;get_control_url&lt;br /&gt;
&lt;br /&gt;
Returns the URL for the control page for this object. &lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_get_type --&amp;gt;==get_type==&lt;br /&gt;
&lt;br /&gt;
  $type = $dataobj-&amp;amp;gt;get_type&lt;br /&gt;
&lt;br /&gt;
Returns the type of this record - type of user, type of eprint etc.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_to_xml --&amp;gt;==to_xml==&lt;br /&gt;
&lt;br /&gt;
  $xmlfragment = $dataobj-&amp;amp;gt;to_xml( %opts )&lt;br /&gt;
&lt;br /&gt;
Convert this object into an XML fragment. &lt;br /&gt;
%opts are:&lt;br /&gt;
no_xmlns=&amp;amp;gt;1 : do not include a xmlns attribute in the outer element. (This assumes this chunk appears in a larger tree where the xmlns is already set correctly.&lt;br /&gt;
showempty=&amp;amp;gt;1 : fields with no value are shown.&lt;br /&gt;
version=&amp;amp;gt;&amp;quot;code&amp;quot; : pick what version of the EPrints XML formatto use &amp;quot;1&amp;quot; or &amp;quot;2&amp;quot;&lt;br /&gt;
embed=&amp;amp;gt;1 : include the data of a file, not just it&amp;#039;s URL.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_xml_to_epdata --&amp;gt;==xml_to_epdata==&lt;br /&gt;
&lt;br /&gt;
  $epdata = EPrints::DataObj-&amp;amp;gt;xml_to_epdata( $session, $xml, %opts )&lt;br /&gt;
&lt;br /&gt;
Populates $epdata based on $xml. This is the inverse of to_xml() but doesn&amp;#039;t create a new object.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_export --&amp;gt;==export==&lt;br /&gt;
&lt;br /&gt;
  $plugin_output = $detaobj-&amp;amp;gt;export( $plugin_id, %params )&lt;br /&gt;
&lt;br /&gt;
Apply an output plugin to this items. Return the results.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_queue_changes --&amp;gt;==queue_changes==&lt;br /&gt;
&lt;br /&gt;
  $dataobj-&amp;amp;gt;queue_changes&lt;br /&gt;
&lt;br /&gt;
Add all the changed fields into the indexers todo queue.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_queue_all --&amp;gt;==queue_all==&lt;br /&gt;
&lt;br /&gt;
  $dataobj-&amp;amp;gt;queue_all&lt;br /&gt;
&lt;br /&gt;
Add all the fields into the indexers todo queue.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_queue_fulltext --&amp;gt;==queue_fulltext==&lt;br /&gt;
&lt;br /&gt;
  $dataobj-&amp;amp;gt;queue_fulltext&lt;br /&gt;
&lt;br /&gt;
Add a fulltext index into the indexers todo queue.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_has_owner --&amp;gt;==has_owner==&lt;br /&gt;
&lt;br /&gt;
  $boolean = $dataobj-&amp;amp;gt;has_owner( $user )&lt;br /&gt;
&lt;br /&gt;
Return true if $user owns this record. Normally this means they created it, but a group of users could count as owners of the samerecord if you wanted.&lt;br /&gt;
It&amp;#039;s false on most dataobjs, except those which override this method.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_in_editorial_scope_of --&amp;gt;==in_editorial_scope_of==&lt;br /&gt;
&lt;br /&gt;
  $boolean = $dataobj-&amp;amp;gt;in_editorial_scope_of( $user )&lt;br /&gt;
&lt;br /&gt;
As for has_owner, but if the user is identified as someone with aneditorial scope which includes this record.&lt;br /&gt;
Defaults to true. Which doesn&amp;#039;t mean that they have the right to edit it, just that their scope matches. You also need editor rightsto use this. It&amp;#039;s currently used just to filter eprint editors sothat only ones with a scope AND a priv can edit.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_validate --&amp;gt;==validate==&lt;br /&gt;
&lt;br /&gt;
  $problems = $dataobj-&amp;amp;gt;validate( [ $for_archive ], $workflow_id )&lt;br /&gt;
&lt;br /&gt;
Return a reference to an array of XHTML DOM objects describingvalidation problems with the entire $dataobj based on $workflow_id.&lt;br /&gt;
If $workflow_id is undefined defaults to &amp;quot;default&amp;quot;.&lt;br /&gt;
A reference to an empty array indicates no problems.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_get_warnings --&amp;gt;==get_warnings==&lt;br /&gt;
&lt;br /&gt;
  $warnings = $dataobj-&amp;amp;gt;get_warnings( )&lt;br /&gt;
&lt;br /&gt;
Return a reference to an array of XHTML DOM objects describingproblems with the entire $dataobj.&lt;br /&gt;
A reference to an empty array indicates no problems.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_add_stored_file --&amp;gt;==add_stored_file==&lt;br /&gt;
&lt;br /&gt;
  $file = $dataobj-&amp;amp;gt;add_stored_file( $filename, $filehandle [, $filesize ] )&lt;br /&gt;
&lt;br /&gt;
Convenience method to add the file record for $filename to this object. Reads data from $filehandle. If $filesize is defined it may used to determine where the file should be stored.&lt;br /&gt;
Returns the file object or undef if the storage failed.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_get_stored_file --&amp;gt;==get_stored_file==&lt;br /&gt;
&lt;br /&gt;
  $file = $dataobj-&amp;amp;gt;get_stored_file( $filename )&lt;br /&gt;
&lt;br /&gt;
Get the file object for $filename.&lt;br /&gt;
Returns the file object or undef if the file doesn&amp;#039;t exist.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=head_related_objects --&amp;gt;==Related Objects==&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_add_object_relations --&amp;gt;===add_object_relations===&lt;br /&gt;
&lt;br /&gt;
  $dataobj-&amp;amp;gt;add_object_relations( $target, $has =&amp;amp;gt; $is [, $has =&amp;amp;gt; $is ] )&lt;br /&gt;
&lt;br /&gt;
Add a relation between this object and $target of type $has. If $is is defined will also add the reciprocal relationship $is from $target to this object. May be repeated to add multiple relationships.&lt;br /&gt;
You must commit $target after calling this method.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_has_object_relations --&amp;gt;===has_object_relations===&lt;br /&gt;
&lt;br /&gt;
  $bool = $dataobj-&amp;amp;gt;has_object_relations( $target, @types )&lt;br /&gt;
&lt;br /&gt;
Returns true if this object is related to $target by all @types.&lt;br /&gt;
If @types is empty will return true if any relationships exist.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_has_related_objects --&amp;gt;===has_related_objects===&lt;br /&gt;
&lt;br /&gt;
  $bool = $dataobj-&amp;amp;gt;has_related_objects( @types )&lt;br /&gt;
&lt;br /&gt;
Returns true if get_related_objects() would return some objects, but without actually retrieving the related objects from the database.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_get_related_objects --&amp;gt;===get_related_objects===&lt;br /&gt;
&lt;br /&gt;
  $dataobjs = $dataobj-&amp;amp;gt;get_related_objects( @types )&lt;br /&gt;
&lt;br /&gt;
Returns a list of objects related to this object by @types.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=item_remove_object_relations --&amp;gt;===remove_object_relations===&lt;br /&gt;
&lt;br /&gt;
  $dataobj-&amp;amp;gt;remove_object_relations( $target [, $has =&amp;amp;gt; $is [, $has =&amp;amp;gt; $is ] )&lt;br /&gt;
&lt;br /&gt;
Remove relations between this object and $target. If $has =&amp;amp;gt; $is pairs are defined will only remove those relationships given.&lt;br /&gt;
You must commit $target after calling this method.&lt;br /&gt;
&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;br /&gt;
&amp;lt;!-- Pod2Wiki=_postamble_ --&amp;gt;&amp;lt;!-- End of Pod2Wiki --&amp;gt;&lt;/div&gt;</summary>
		<author><name>Tdb01r</name></author>
	</entry>
</feed>