src/wcmf/lib/model/Node.php
public function getRelationNames() {
    $result = [];
    $relations = $this->getRelations();
    foreach ($relations as $curRelation) {
      $result[] = $curRelation->getOtherRole();
    }
    return $result;
  }
public function getRelationNames() {
    $result = [];
    $relations = $this->getRelations();
    foreach ($relations as $curRelation) {
      $result[] = $curRelation->getOtherRole();
    }
    return $result;
  }
public function getRelationNames ( ) { $ result = [ ] ; $ relations = $ this -> getRelations ( ) ; foreach ( $ relations as $ curRelation ) { $ result [ ] = $ curRelation -> getOtherRole ( ) ; } return $ result ; }
Get the names of all relations.
@return An array of relation names.
Get the names of all relations .