Open Semantic Framework PHP API  3.0
 All Data Structures Namespaces Files Functions Variables Pages
GetEquivalentClassesFunction.php
Go to the documentation of this file.
1 <?php
2 
5 
11 
20  class GetEquivalentClassesFunction extends \StructuredDynamics\osf\php\api\framework\OntologyFunctionCall
21  {
22  function __construct()
23  {
24  // Default values
25  $this->getClassesUris();
26  }
27 
39  public function uri($uri)
40  {
41  $this->params["uri"] = $uri;
42 
43  return($this);
44  }
45 
53  public function getClassesUris()
54  {
55  $this->params["mode"] = "uris";
56 
57  return($this);
58  }
59 
67  public function getClassesDescriptions()
68  {
69  $this->params["mode"] = "descriptions";
70 
71  return($this);
72  }
73  }
74 
76 ?>
getClassesDescriptions()
Get the list of classes description for the equivalent-classes described in this ontology.
Class used to define the parameters to use send a "getEquivalentClasses" call to the Ontology: Read w...
uri($uri)
URI of the class for which the requester want its equivalent-classes.
getClassesUris()
Get a list of URIs that refers to the equivalent-classes described in this ontology.