本文整理汇总了PHP中Groups::getInfo方法的典型用法代码示例。如果您正苦于以下问题:PHP Groups::getInfo方法的具体用法?PHP Groups::getInfo怎么用?PHP Groups::getInfo使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Groups
的用法示例。
在下文中一共展示了Groups::getInfo方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Groups
<?php
require 'init.php';
$tpl->assign('groups', 'index');
$Groups = new Groups(array('groupid' => intval($_GET['id'])));
$Rooms = new Rooms();
if (!$Groups->Exist()) {
redirection($config->url_site);
}
$GroupsInfo = $Groups->getInfo();
$tpl->assign('Groups', $GroupsInfo);
$tpl->assign('Rooms_groups', $Rooms->getRoomsUser($GroupsInfo['username']));
$tpl->assign('Membres', $Groups->getGroupsMemberships());
//print_r($Groups->getGroupsMemberships());
$tpl->display('header.tpl');
$tpl->display('groups_discussions.tpl');
$tpl->display('footer.tpl');
示例2: Groups
<?php
require '../../../../init.php';
if (!isset($_GET['groupId']) or !is_numeric($_GET['groupId'])) {
exit;
}
$Groups = new Groups(array('groupid' => intval($_GET['groupId'])));
if (!$Groups->Exist()) {
exit;
}
$data = $Groups->getInfo();
?>
<div id="badge-editor-flash" align="center">
<strong>Flash is required to use this tool</strong>
</div>
<script type="text/javascript" language="JavaScript">
var swfobj = new SWFObject("<?php
echo $config->url_site;
?>
/web-gallery/flash/BadgeEditor.swf", "badgeEditor", "280", "366", "8");
swfobj.addParam("base", "<?php
echo $config->url_site;
?>
/web-gallery/flash/");
swfobj.addParam("bgcolor", "#FFFFFF");
swfobj.addVariable("post_url", "<?php
echo $config->url_site;
?>