⚲
Project
General
Profile
Sign in
Home
Projects
Help
Search
:
TYPO3 Core
All Projects
TYPO3 Core
Overview
Activity
Roadmap
Issues
Repository
Download (384 Bytes)
Bug #15246
» class.user_firstMainGroup.php
Administrator Admin, 2006-01-02 10:55
<?php
class
user_firstMainGroup
{
function
checkFirstMainGroup
(
$params
,
$this
)
{
# Set $search to the string in the groupname
# that needs to be set as the first group
# for this user.
$search
=
"typo3"
;
$groupname
=
$params
[
'row'
][
'title'
];
if
(
ereg
(
$search
,
$groupname
))
{
$uid
=
$params
[
'row'
][
'uid'
];
$this
->
firstMainGroup
=
$uid
;
}
return
$this
;
}
}
?>
« Previous
1
2
3
4
Next »
(3-3/4)
Loading...