Esempio n. 1
0
 public function getDisplayDescription($useDefault = true)
 {
     return RelationshipTable::getDisplayDescription($this, $useDefault);
 }
Esempio n. 2
0
<?php

echo RelationshipTable::getDisplayDescription($relationship, true);
?>

<?php 
include_partial('relationship/onelinerdate', array('relationship' => $relationship));
Esempio n. 3
0
<?php

use_helper('LsNumber');
?>

<span class="text_big">
<?php 
slot('share_text');
echo entity_link($relationship['Entity1']);
?>
 <?php 
echo $current === NULL ? "has/had" : ($current == '1' ? "has" : "had");
?>
 a position 
<?php 
echo RelationshipTable::getDisplayDescription($relationship) ? '(' . RelationshipTable::getDisplayDescription($relationship) . ')' : '';
?>
 
<?php 
echo $relationship['Entity2']['primary_ext'] == 'Person' ? 'under' : 'at';
?>
 <?php 
echo entity_link($relationship['Entity2']);
end_slot();
echo get_slot('share_text');
slot('share_text', RelationshipTable::formatSentenceForShare(get_slot('share_text')));
?>
</span>

<br />
<br />