Navibars
2017-02-23 13:59:33 3 举报
简单工厂模式和聚合关系
作者其他创作
大纲/内容
FAC_IN_ROLE
RoleBase
# navibars:object# acls:array = []
+ __construct()getAcls(positions_code:string)getFirstNavibars()renderSecondNavibars()
NavibarsBase
+getFirstNavibars()+renderSecondNavibars()(other algorithm is ignored)
\\Phalcon\\Mvc\\Controller
+ __construct()
RoleFactory
- instance:array = []- namespace:string
+ getInstance(role:string)- __clone()
SA_ROLE
+ getAcls(positions_code:string)+ getFirstNavibars()+ renderSecondNavibars()
0 条评论
下一页
为你推荐
查看更多
抱歉,暂无相关内容