API:EPrints/BackCompatibility

From EPrints Documentation
Jump to: navigation, search

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects


API: Core API

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


NAME

EPrints::BackCompatibility - Provide compatibility for older versions of the API.

User Comments


DESCRIPTION

A number of EPrints packages have been moved or renamed. This module provides stub versions of these packages under there old names so that existing code will require few or no changes.

It also sets a flag in Perl to think the packages have been loaded from their original locations. This causes calls such as:

use EPrints::Document;
 

to do nothing as they know the module is already loaded.

User Comments


Superseded Classes or Methods

The following classes have been fully superseded or have methods that have been superseded by methods for different classes.

User Comments


EPrints::Document

Superseded by EPrints::DataObj::Document.

User Comments


EPrints::EPrint

Superseded by EPrints::DataObj::EPrint.

User Comments


EPrints::Subject

Superseded by EPrints::DataObj::Subject.

User Comments


EPrints::Subscription

Superseded by EPrints::DataObj::SavedSearch.

User Comments


EPrints::User

Superseded by EPrints::DataObj::User.

User Comments


EPrints::DataObj::User

The following methods are deprecated and replaced by other methods in the class:

can_edit
get_owned_eprints
get_editable_eprints
get_eprints
 

User Comments


EPrints::Utils

The following methods are deprecated and replaced by other methods in the EPrints::Email, EPrints::XML::EPC, EPrints::Time and EPrints::Platform (subsequently superseded by EPrints::System):

send_mail 
send_mail_via_smtp 
send_mail_via_sendmail 
collapse_conditions 
render_date 
render_short_date 
datestring_to_timet 
gmt_off 
get_month_label 
get_month_label_short 
get_date 
get_date_array 
get_datestamp 
get_iso_date 
get_timestamp 
human_time 
human_delay 
get_iso_timestamp
df_dir
mkdir
join_path
 

User Comments


EPrints::Archive

Superseded by EPrints::Repository.

User Comments


EPrints::SearchExpression

Superseded by EPrints::Search.

User Comments


EPrints::SearchField

Superseded by EPrints::Search::Field.

User Comments


EPrints::SearchCondition

Superseded by EPrints::Search::Condition.

User Comments


EPrints::AnApache

Superseded by EPrints::Apache::AnApache.

User Comments


EPrints::Auth

Superseded by EPrints::Apache::Auth.

User Comments


EPrints::DataSet

The following methods are deprecated:

get_page_fields
get_type_pages
get_type_fields
get_required_type_fields
is_valid_type
get_types
get_type_names
get_type_name
render_type_name
load_workflows
 

User Comments


EPrints::Index

The following methods are superseded by methods in EPrints::Index::Tokenizer:

split_words
apply_mapping
 

User Comments


EPrints::Session

Superseded by EPrints::Repository.

User Comments


EPrints::Platform

Superseded by EPrints::System.

User Comments


EPrints::Repository

The following methods are superseded by methods in other classes:

render_toolbar
freshen_citation
get_citation_spec
get_citation_type
 

User Comments


COPYRIGHT

© Copyright 2023 University of Southampton.

EPrints 3.4 is supplied by EPrints Services.

http://www.eprints.org/eprints-3.4/

LICENSE

This file is part of EPrints 3.4 http://www.eprints.org/.

EPrints 3.4 and this file are released under the terms of the GNU Lesser General Public License version 3 as published by the Free Software Foundation unless otherwise stated.

EPrints 3.4 is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with EPrints 3.4. If not, see http://www.gnu.org/licenses/.

User Comments