interop_program_repository = new SapphireInteropProgramVersion(); } function BrandingMenu() { return TRUE; } public function getInteropProgramVersions() { list($res, $size) = $this->interop_program_repository->getAllOrdered(); return new ArrayList($res); } function getCapabilitiesTable() { $html = ''; $versions = $this->getInteropProgramVersions(); foreach ($versions as $key => $version) { $capabilities = $version->Capabilities()->sort('Order'); $html .= '
Required Capabilities |
Licensing Program |
||||||||
| Platform | Compute | Object Storage | |||||||
| '.$capability->Type()->Name.' | |||||||||
| '.$capability->Name.' | '; if ($capability->isPlatform()) { if ($capability->Status == 'Required') { $html .= '✓ | '; } else { $html .= ''.$capability->Status.' | '; } } else { $html .= ''; } if ($capability->isCompute()) { if ($capability->Status == 'Required') { $html .= ' | ✓ | '; } else { $html .= ''.$capability->Status.' | '; } } else { $html .= ''; } if ($capability->isStorage()) { if ($capability->Status == 'Required') { $html .= ' | ✓ | '; } else { $html .= ''.$capability->Status.' | '; } } else { $html .= ''; } $html .= ' |
Designated Sections |
|||
| Platform | Compute | Object Storage | ✓ | '; } else { $html .= ''.$dsection->Status.' | '; } } else { $html .= ''; } if ($dsection->isCompute()) { if ($dsection->Status == 'Required') { $html .= ' | ✓ | '; } else { $html .= ''.$dsection->Status.' | '; } } else { $html .= ''; } if ($dsection->isStorage()) { if ($dsection->Status == 'Required') { $html .= ' | ✓ | '; } else { $html .= ''.$dsection->Status.' | '; } } else { $html .= ''; } $html .= ''; } $html .= ' |