Thanks,
I have a question about this.
Please let me explain:
I have two modules: blog and administration. The administration module is accessible of admins only and the blog module for guests and registered users.
Lets say that in my blog module i have a model with a function which selects information about a blog entry from the database. An admin should also be able to use this function. The only problem is that from the admin module i can't get to the blog functions in its model.
How would you address this problem?
On Fri, May 9, 2008 at 7:48 PM, Andrew Sledge <
andrew.j.sledge@...> wrote:
Hi Jigal,
The functionality you are looking for is located in Zend_Acl. There have been quite a few posts in relation to using it and there are numerous how-to's out there. Take a look at the listserv archive at http://framework.zend.com/archives. Also, check out the following resources that I have found useful:
http://framework.zend.com
http://weierophinney.net/matthew/
http://www.zfforums.com/
On Fri, May 9, 2008 at 11:11 AM, Jigal sanders <
jigalroecha@...> wrote:
Hello everyone.
I would like to ask how do you divide your admin pages and user pages.
For example, lets say you have a blog. The user can only see the posts on the blogs. But the Administrator can see the posts but can also edit them and create new posts.
So how would you divide this up into your mvc?
--
Met vriendelijke groet,
Jigal Sanders
A.J. Ernststraat 739
1082 LK Amsterdam
Mobiel: 06-42111489
--
Andrew Sledge
--