/** * act_link * * @access public * @return void */ public function act_link() { $entities = array('event' => _t('EVENT'), 'person' => _t('PERSON'), 'act' => _t('ACT'), 'involvement' => _t('INVOLVEMENT'), 'information' => _t('INFORMATION'), 'intervention' => _t('INTERVENTION')); foreach ($entities as $entity_id => $entity) { $links[$entity_id] = Browse::getDocumentLinks($this->supporting_docs->doc_id, $entity_id); } $this->entities = $entities; $this->links = $links; }