本文整理汇总了PHP中caGetRelationDisplayString函数的典型用法代码示例。如果您正苦于以下问题:PHP caGetRelationDisplayString函数的具体用法?PHP caGetRelationDisplayString怎么用?PHP caGetRelationDisplayString使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了caGetRelationDisplayString函数的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _t
?>
" class="caRelationQuickAddPanel">
<div id="caRelationEditorPanel<?php
print $vs_id_prefix;
?>
ContentArea">
<div class='dialogHeader'><?php
print _t('Relation editor', $t_item->getProperty('NAME_SINGULAR'));
?>
</div>
</div>
<textarea class='caBundleDisplayTemplate' style='display: none;'>
<?php
print caGetRelationDisplayString($this->request, 'ca_list_items', array(), array('display' => '_display', 'makeLink' => false));
?>
</textarea>
</div>
<script type="text/javascript">
var caRelationBundle<?php
print $vs_id_prefix;
?>
;
jQuery(document).ready(function() {
<?php
if (!(bool) $va_settings['restrictToTermsRelatedToCollection']) {
?>
jQuery('#<?php
print $vs_id_prefix;
示例2: _t
?>
" class="caRelationQuickAddPanel">
<div id="caRelationEditorPanel<?php
print $vs_id_prefix;
?>
ContentArea">
<div class='dialogHeader'><?php
print _t('Relation editor', $t_item->getProperty('NAME_SINGULAR'));
?>
</div>
</div>
<textarea class='caBundleDisplayTemplate' style='display: none;'>
<?php
print caGetRelationDisplayString($this->request, 'ca_occurrences', array(), array('display' => '_display', 'makeLink' => false));
?>
</textarea>
</div>
<script type="text/javascript">
var caRelationQuickAddPanel<?php
print $vs_id_prefix;
?>
;
var caRelationBundle<?php
print $vs_id_prefix;
?>
;
jQuery(document).ready(function() {
jQuery('#<?php
示例3: caGetRelationDisplayString
_id{n}" id="<?php
print $vs_id_prefix;
?>
_id{n}" value="{id}"/>
</div>
<?php
break;
case 'bubbles':
default:
?>
<div id="<?php
print $vs_id_prefix;
?>
Item_{n}" class="labelInfo roundedRel caRelatedItem">
<?php
print caGetRelationDisplayString($this->request, 'ca_objects', array('class' => 'caEditItemButton', 'id' => "{$vs_id_prefix}_edit_related_{n}"), array('display' => '_display', 'makeLink' => true));
?>
<input type="hidden" name="<?php
print $vs_id_prefix;
?>
_type_id{n}" id="<?php
print $vs_id_prefix;
?>
_type_id{n}" value="{type_id}"/>
<input type="hidden" name="<?php
print $vs_id_prefix;
?>
_id{n}" id="<?php
print $vs_id_prefix;
?>
_id{n}" value="{id}"/>
示例4: caGetRelationDisplayString
</div>
<?php
break;
case 'bubbles':
default:
?>
<div id="<?php
print $vs_id_prefix;
?>
Item_{n}" class="labelInfo roundedRel caRelatedItem">
<span id='<?php
print $vs_id_prefix;
?>
_BundleTemplateDisplay{n}'>
<?php
print caGetRelationDisplayString($this->request, 'ca_sets', array('class' => 'caEditItemButton', 'id' => "{$vs_id_prefix}_edit_related_{n}"), array('display' => '_display', 'makeLink' => true, 'relationshipTypeDisplayPosition' => 'none'));
?>
</span>
<input type="hidden" name="<?php
print $vs_id_prefix;
?>
_type_id{n}" id="<?php
print $vs_id_prefix;
?>
_type_id{n}" value="{type_id}"/>
<input type="hidden" name="<?php
print $vs_id_prefix;
?>
_id{n}" id="<?php
print $vs_id_prefix;
?>