About Zend_acl, how to solve

Source: Internet
Author: User
About ZEND_ACL
With Zend_acl, I put the last generation of $acl into a file, and now I'm going to take it back out and become an array. But I have to take out a separate role and resources to judge very troublesome, do not know what Daniel did, and would like to listen to the advice.

PHP Code
  Zend_acl object ([_roleregistry:protected] = Zend_acl_role_registry object ([_roles:protected] = > Array ([guest] = = Array ([in  Stance] = Zend_acl_role Object ([_roleid:protected]                                = = Guest) [parents] = = Array                                    () [children] = = Array (                                            [member] = Zend_acl_role Object (                                [_roleid:protected] = member)                            )) [member] = = Array ( [Instance]= = Zend_acl_role Object ([_roleid:protected] = m                                    Ember) [parents] = = Array (                                            [Guest] = Zend_acl_role Object (                                [_roleid:protected] = guest)                                ) [children] = = Array (                            )) [admin] = = Array ( [Instance] = Zend_acl_role Object ([_roleid:prot                                Ected] = admin) [parents] = = Array             (                   ) [children] = = Array (            ))) [_resources:protected] = = Array (                        [entertain] = = Array ([instance] = Zend_acl_resource Object                    ([_resourceid:protected] = entertain)                [Parent] = [children] = = Array ()                        ) [Sports] = = Array ([instance] = Zend_acl_resource Object                    ([_resourceid:protected] = sports)                [Parent] = [children] = = Array () ) [News] = Array ([instance] = Zend_acl_resource Object (                     [_resourceid:protected] = news) [Parent] = [children] = = Array ())) [_isallowedro Le:protected] [_isallowedresource:protected] = [_isallowedprivilege:protected] [_rules:protect                        ed] = Array ([allresources] = Array ([allroles] = array                                    ([allprivileges] = = Array (                                 [Type] = Type_deny [assert] = =                                ) [Byprivilegeid] = = Array (               )         ) [Byroleid] = = Array ())                            [Byresourceid] = = Array ([entertain] = = Array ( [Byroleid] = = Array ([gues T] = Array ([Byprivilegeid] = A Rray ([watch] = ARR Ay ([ty                                                         PE] = Type_allow [assert] = =                                            )                                                ) [Allprivileges] = ARray ([type] = =                                        [assert] = =)                                        ) [member] = = Array                                                ([Byprivilegeid] = = Array                                                        ([watch] = = Array                                                            ([Type] = Type_allow                                                    [assert] = =)                                      [Edit] = = Array (                      [Type] = Type_allow [assert] = = ) [Add] = ARR Ay ([ty                                                         PE] = Type_allow [assert] = =                                            )                                                )                                                    [Allprivileges] = = Array (                                                 [Type] = = [assert] = =                                    )) [admin] = = Array    ([Byprivilegeid] = = Array                                                        ([watch] = = Array                                                            ([Type] = Type_allow                                                    [assert] = =)                                                            [Edit] = = Array (                                                            [Type] = Type_allow                                                    [assert] = =)                                                            [Add] = = Array ( [TypE] = = Type_allow [assert] = =                                                        ) [delete] = = Array                                                            ([Type] = Type_allow                                                         [Assert] = = )) [Allprivileges] =                                                     Array ([Type] =                                        [assert] = =)  ) ) )..................)
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.