issue 70 menu working. Not yet completed source

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8590 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-07-13 01:51:44 +00:00
parent d803e8b89d
commit 683f041593
12 changed files with 393 additions and 292 deletions

View file

@ -695,5 +695,22 @@
return $output->data->member_srl;
}
function getAdminGroupSrl($site_srl = 0)
{
$groupSrl = 0;
$output = $this->getGroups($site_srl);
if(is_array($output))
{
foreach($output AS $key=>$value)
{
if($value->is_admin == 'Y')
{
$groupSrl = $value->group_srl;
break;
}
}
}
return $groupSrl;
}
}
?>