本文整理汇总了PHP中License::getOrganizationName方法的典型用法代码示例。如果您正苦于以下问题:PHP License::getOrganizationName方法的具体用法?PHP License::getOrganizationName怎么用?PHP License::getOrganizationName使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类License
的用法示例。
在下文中一共展示了License::getOrganizationName方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Configuration
?>
<a href='ajax_forms.php?action=getLicenseForm&licenseID=<?php
echo $licenseID;
?>
&height=260&width=260&modal=true' class='thickbox'>edit license</a> | <a href='javascript:deleteLicense("<?php
echo $licenseID;
?>
");'>remove license</a>
<?php
}
echo "<div style='margin-bottom:8px;'>";
//make sure they have org module installed before we give them a link to view the organization
$config = new Configuration();
if ($config->settings->organizationsModule == 'Y') {
$util = new Utility();
echo $license->getOrganizationName() . " <a href='" . $util->getOrganizationURL() . $license->organizationID . "' target='_blank'>edit organization</a>";
if ($license->consortiumID) {
echo "<br />" . $license->getConsortiumName();
}
} else {
echo $license->getOrganizationName();
if ($license->consortiumID) {
echo "<br />" . $license->getConsortiumName();
}
}
?>
</div>
</td>
<td style='text-align:right'>
<?php
if ($user->canEdit()) {
示例2: Configuration
?>
</a> | <a href='javascript:deleteLicense("<?php
echo $licenseID;
?>
");'><?php
echo _("remove license");
?>
</a>
<?php
}
echo "<div style='margin-top:10px;margin-bottom:20px;'>";
//make sure they have org module installed before we give them a link to view the organization
$config = new Configuration();
if ($config->settings->organizationsModule == 'Y') {
$util = new Utility();
echo $license->getOrganizationName() . " <a href='" . $util->getOrganizationURL() . $license->organizationID . "' target='_blank' style='text-decoration:none;'><i class='fa fa-pencil-square-o' style='margin-left:15px;'></i>" . _("edit organization") . "</a>";
if ($license->consortiumID) {
echo "<br />" . $license->getConsortiumName();
}
} else {
echo $license->getOrganizationName();
if ($license->consortiumID) {
echo "<br />" . $license->getConsortiumName();
}
}
?>
</div>
</td>
<td style='text-align:right'>
<?php
if ($user->canEdit()) {