Re: 0.16.2 tomorrow

Jens Kleikamp <lists.jens-z4600/[email protected]>
Newsgroups gmane.comp.php.pear.liveuser
Organization codes & concepts
Message-ID <[email protected]>
Lukas Smith wrote:

> Jens Kleikamp wrote:
>
>> I don´t know it is an issue or just an fault by me :)
>> I tried latest cvs versions of LU and LU_Admin, but I can´t get the 
>> hierarchy subgroups working.
>> I just get a plain array with all groups.
>>
>> My Code looks like:
>>
>> $options = array(
>>                'select' => 'all',
>>                'rekey' => true,
>>                'filters' => array(),
>>                'subgroups' => 'hierarchy'
>>         );            $gg = $admin->perm->getGroups($options);
>> var_dump($gg);
>
>
> so what do you get as output?
>
> regards,
> Lukas Smith
> [email protected]

I get the following output:

string(117) query: SELECT group_id, group_type, group_define_name, is_active, owner_user_id, owner_group_id
            FROM liveuser_groups

string(127) query: SELECT group_id, subgroup_id
            FROM liveuser_group_subgroups
            WHERE group_id IN (1, 2)
            AND subgroup_id NOT IN (1, 2)

array(2) {
    1 => array(5) {
        group_type        => NULL
        group_define_name => string(6) GROUP1
        is_active         => bool true
        owner_user_id     => NULL
        owner_group_id    => NULL
    }
    2 => array(5) {
        group_type        => NULL
        group_define_name => string(6) GROUP2
        is_active         => bool true
        owner_user_id     => NULL
        owner_group_id    => NULL
    }
}

In the table liveuser_group_subgroups I inserted one record.(group_id=1 ; subgroup_id=2)

Thank You
Jens
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.