Source for file ScopedObjectsIndex.interface.php

Documentation is available at ScopedObjectsIndex.interface.php

  1. <?PHP
  2. /**
  3. * @package org.phptmapi.index.core
  4. */
  5. require_once('../org.phptmapi.index/Index.interface.php');
  6. /**
  7. * Interface ScopedObjectsIndexInterface: An index of all ScopedObjectInterfaces (AssociationInterface, TopicNameInterface, OccurrenceInterface and VariantInterface) instances in the indexed topic map. This index provides methods to retrieve all of the ScopedObjectInterface instances in the topic map with a particular topic or set of topics in their scope, and to retrieve all of the topics used in the scope of one or more scoped objects in the topic map.
  8. *
  9. * @author Johannes Schmidt - t8d <kontakt@t8d.de>
  10. */
  11. interface ScopedObjectsIndexInterface extends IndexInterface{
  12. /**
  13. * getScopedObjectsByScopingTopic: Returns all ScopedObjectInterface instances where the specified topic is one of the themes in the scope of the ScopedObjectInterface. The return value may be an empty array but must never be null.
  14. * @param object TopicInterface $scopingTopic The topic that must be in the scope of each returned ScopedObjectInterface. If $scopingTopic is null an array containing all ScopedObjectInterfaces that have no scope will be returned.
  15. * @access public
  16. * @return array - An array of ScopedObjectInterface instances.
  17. */
  18. public function getScopedObjectsByScopingTopic($scopingTopic);
  19. /**
  20. * getScopedObjectsByScopingTopics: Returns all ScopedObjectInterface instances where some or all of the specified topics are in the scope of the scoped object. The return value may be an empty array but must never be null.
  21. * @param array $scopingTopics
  22. * @param boolean $matchAll
  23. * @access public
  24. * @return array An array of ScopedObjectInterface instances.
  25. */
  26. public function getScopedObjectsByScopingTopics($scopingTopics, $matchAll);
  27. /**
  28. * getScopingTopics: Returns all TopicInterface instances which are present in the scope of one or more ScopedObjectInterface instances in the indexed topic map. The return value may be an empty array but must never be null.
  29. * @access public
  30. * @return array An array of TopicInterface instances.
  31. */
  32. public function getScopingTopics();
  33. }
  34. ?>

Documentation generated on Fri, 30 Jun 2006 13:06:59 +0200 by phpDocumentor 1.3.0RC4