本文整理汇总了PHP中ca_sets::getItemSetMembershipHTMLFormBundle方法的典型用法代码示例。如果您正苦于以下问题:PHP ca_sets::getItemSetMembershipHTMLFormBundle方法的具体用法?PHP ca_sets::getItemSetMembershipHTMLFormBundle怎么用?PHP ca_sets::getItemSetMembershipHTMLFormBundle使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ca_sets
的用法示例。
在下文中一共展示了ca_sets::getItemSetMembershipHTMLFormBundle方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: getBundleFormHTML
//.........这里部分代码省略.........
# -------------------------------
// This bundle is only available when editing objects of type ca_representation_annotations
case 'ca_representation_annotation_properties':
if ($vb_batch) {
return null;
}
// not supported in batch mode
if (!$this->useInEditor()) {
return null;
}
foreach ($this->getPropertyList() as $vs_property) {
$vs_element .= $this->getPropertyHTMLFormBundle($pa_options['request'], $pa_options['formName'], $ps_placement_code, $vs_property, $pa_options);
}
break;
# -------------------------------
// This bundle is only available when editing objects of type ca_sets
# -------------------------------
// This bundle is only available when editing objects of type ca_sets
case 'ca_set_items':
if ($vb_batch) {
return null;
}
// not supported in batch mode
$vs_element .= $this->getSetItemHTMLFormBundle($pa_options['request'], $pa_options['formName'], $ps_placement_code, $pa_options, $pa_bundle_settings);
break;
# -------------------------------
// This bundle is only available for types which support set membership
# -------------------------------
// This bundle is only available for types which support set membership
case 'ca_sets':
require_once __CA_MODELS_DIR__ . "/ca_sets.php";
// need to include here to avoid dependency errors on parse/compile
$t_set = new ca_sets();
$vs_element .= $t_set->getItemSetMembershipHTMLFormBundle($pa_options['request'], $pa_options['formName'], $ps_placement_code, $this->tableNum(), $this->getPrimaryKey(), $pa_options['request']->getUserID(), $pa_bundle_settings, $pa_options);
break;
# -------------------------------
// This bundle is only available when editing objects of type ca_editor_uis
# -------------------------------
// This bundle is only available when editing objects of type ca_editor_uis
case 'ca_editor_ui_screens':
if ($vb_batch) {
return null;
}
// not supported in batch mode
$vs_element .= $this->getScreenHTMLFormBundle($pa_options['request'], $pa_options['formName'], $ps_placement_code, $pa_options);
break;
# -------------------------------
// This bundle is only available when editing objects of type ca_editor_uis
# -------------------------------
// This bundle is only available when editing objects of type ca_editor_uis
case 'ca_editor_ui_type_restrictions':
if ($vb_batch) {
return null;
}
// not supported in batch mode
$vs_element .= $this->getTypeRestrictionsHTMLFormBundle($pa_options['request'], $pa_options['formName'], $ps_placement_code, $pa_options);
break;
# -------------------------------
// This bundle is only available when editing objects of type ca_editor_ui_screens
# -------------------------------
// This bundle is only available when editing objects of type ca_editor_ui_screens
case 'ca_editor_ui_screen_type_restrictions':
$t_editor = new ca_editor_uis($this->get('ui_id'));
$vs_element .= $this->getTypeRestrictionsHTMLFormBundle($pa_options['request'], $pa_options['formName'], $ps_placement_code, $pa_options);
break;
# -------------------------------