A QCodo powered CMS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
763 B

  1. <% foreach ($objTable->ManyToManyReferenceArray as $objManyToManyReference) { %><%
  2. // Use the "control_update_manytomany_reference" subtemplate to generate the code
  3. // required to create/setup the control.
  4. $mixArguments = array(
  5. 'objManyToManyReference' => $objManyToManyReference,
  6. 'strObjectName' => $objCodeGen->VariableNameFromTable($objTable->Name),
  7. 'strClassName' => $objTable->ClassName,
  8. 'strControlId' => $objCodeGen->FormControlVariableNameForManyToManyReference($objManyToManyReference)
  9. );
  10. // Get the subtemplate and evaluate
  11. return $objCodeGen->EvaluateSubTemplate('control_update_manytomany_reference.tpl', $strModuleName, $mixArguments) . "\n";
  12. %><% } %>