[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/alfresco/Service/ -> Session.php (summary)

(no description)

File Size: 271 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Session:: (17 methods):
  __construct()
  createStore()
  getStore()
  getStoreFromString()
  getNode()
  getNodeFromString()
  addNode()
  getNodeImpl()
  save()
  clear()
  getIdMap()
  query()
  getTicket()
  getRepository()
  getNamespaceMap()
  getStores()
  nextSessionId()


Class: Session  - X-Ref

__construct($repository, $ticket)   X-Ref
Constructor

param: userName the user name
param: ticket the currenlty authenticated users ticket

createStore($address, $scheme="workspace")   X-Ref
Creates a new store in the current respository

param: $address the address of the new store
param: $scheme the scheme of the new store, default value of 'workspace'
return: Store the new store

getStore($address, $scheme="workspace")   X-Ref
Get the store

param: $address the address of the store
param: $scheme the scheme of the store.  The default it 'workspace'
return: Store the store

getStoreFromString($value)   X-Ref
Get the store from it string representation (eg: workspace://SpacesStore)

param: $value the stores string representation
return: Store the store

getNode($store, $id)   X-Ref
No description

getNodeFromString($value)   X-Ref
No description

addNode($node)   X-Ref
Adds a new node to the session.


getNodeImpl($store, $id)   X-Ref
No description

save($debug=false)   X-Ref
Commits all unsaved changes to the repository


clear()   X-Ref
Clears the current session by emptying the node cache.

WARNING:  all unsaved changes will be lost when clearing the session.

getIdMap($result)   X-Ref
No description

query($store, $query, $language='lucene')   X-Ref
No description

getTicket()   X-Ref
No description

getRepository()   X-Ref
No description

getNamespaceMap()   X-Ref
No description

getStores()   X-Ref
No description

nextSessionId()   X-Ref
No description



Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1