CollectionClassTo change the template for this generated file go to Window - Preferences - PHPeclipse - PHP - Code Templates
module_load_include('nc', 'CollectionClass', ''); This CLASS caches the streams so once you call a getstream once it will always return the same stream as long as you are using the instance of this class. Cached to prevent mutiple hits to fedora. maybe a bit confusing though if this class is used in a different context.
Located in /CollectionClass.inc (line 18)
Constructor __construct (line 33)
Creates a collection object. Optionally can associate it with a single collection with parameter $pid.
build_ingest_form (line 302)
grabs a xml form definition from a content model and builds
the form using drupals forms api
callMethods (line 270)
calls the methods defined in the content model rules .xml file stored in a Fedora object
createUserCollection (line 366)
getAllowedMimeTypes (line 225)
getAndDoRules (line 243)
Grabs the rules from the content model stream
file the file that has been uploaded
getCollectionPolicyStream (line 103)
getCollectionViewStream (line 123)
getContentModels (line 156)
gets a list of content models from a collection policy
getFormHandler (line 198)
gets the form handler file, class and method and returns them in an array
getIngestInterface (line 458)
getNextPid (line 183)
using the collection policies pid namespace get a new pid by calling fedora' get next pid and appending it to the namespace $pid is the $pid of the content model $dsid is the datastream id of the content model.
getPidNameSpace (line 134)
getRelatedItems (line 59)
Gets objects related to this item. It will query the object for a Query stream and use that as a itql query
or if there is no query stream it will use the default. If you pass a query to this method it will use the passed in query no matter what
getRelatedObjects (line 45)
getRelationshipElement (line 111)
getStream (line 128)
getXslContent (line 411)
Queries a collection object for an xslt to format how the collection of objects is displayed.
renderCollection (line 481)
showFieldSets (line 421)
Documentation generated on Thu, 14 Jul 2011 16:56:03 -0300 by phpDocumentor 1.4.3