Difference between revisions of "Talk:API:EPrints"

From EPrints Documentation
Jump to: navigation, search
(New page: I'm going to use this page to get my thoughts in order. ~~~~ ===Current 3.1 System=== Session, Repository, DataSet, MetaField ===API=== Plan: * RepositoryHandle (was Session) * MetaField...)
 
Line 10: Line 10:
 
* DataSetHandle
 
* DataSetHandle
 
* Repository, MetaField and DataSet still exist but are not part of the API.
 
* Repository, MetaField and DataSet still exist but are not part of the API.
 +
 +
$handle = EPrint->get_repository_handle()
 +
$dataset = $handle->get_dataset_handle()
 +
$field = $dataset->get_field( "foo" )
 +
$search = $dataset->get_search()

Revision as of 16:03, 2 September 2009

I'm going to use this page to get my thoughts in order. Cjg 16:58, 2 September 2009 (BST)

Current 3.1 System

Session, Repository, DataSet, MetaField

API

Plan:

  • RepositoryHandle (was Session)
  • MetaFieldHandle
  • DataSetHandle
  • Repository, MetaField and DataSet still exist but are not part of the API.
$handle = EPrint->get_repository_handle()
$dataset = $handle->get_dataset_handle()
$field = $dataset->get_field( "foo" )
$search = $dataset->get_search()