示例#1
0
 /**
  * Return all people associated with a publication.
  *
  * @internal
  *
  * @param string $eprintid The eprint id.
  */
 public function get_divisions($eprintid)
 {
     if (!isset($this->_internal_cache->{$eprintid . '_divisions'})) {
         $this->cache_divisions(array($eprintid));
     }
     $data = $this->_internal_cache->get($eprintid . '_divisions');
     if (!is_array($data)) {
         return;
     }
     return Division::create_paths_from_api($this, $data);
 }