Zend Framework 1.8 tutorial 8 zend_navigation and zend_acl
Top Comments
All Comments (10)
-
Hi, is it possible to view the source code for this tutorial via svn, git or downloadable as a zip?
-
thank you so much.
-
thanks how easy zf has became through your video tutorials ,plz keep posting videos like these.
-
One more thing, it would be great if you create the tutorial about adding, editing and deleting news from the beggining to the end (with connection to the mysql).
-
Very nice tutorials, good job and thank you, you can't image how grateful I am.
But still after completing this tutorials, I have 2 error messages and don't know why (I mean, I do know what this error messages means, but don't know how to fix them):
Notice: Trying to get property of non-object in ..\application\Bootstrap.php on line 41
Notice: Trying to get property of non-object in ..\application\plugins\AccessC
heck.php on line 20 I am looking forward for some more tuts and thanks again!
Hello - metK1337
I got same isse as you, i did this trick:
$role = is_object($this->_auth->getStorage()->read()) ? $this->_auth->getStorage()->read()->role : null;
$view->navigation($navContainer)->setAcl($this->_acl)->setRole($role);
and the same in AccessCheck - i guess it is because our platforms are set to show all php notices! :=) happy coding - and thanks to integral30 - nice tutorials
ksvendsendk 2 years ago 3
great job
eteflamingo1 1 year ago