I have been reading this book and is beneficial.
Some of the things I have not yet grasped , but may be because I am a newbie and no fault of the author :-)
On Page 167 , there is a line :
$role->addChild('createProject');
Is "addChild" a typo or am I missing something? . Because CDbAuthManager details page (http://www.yiiframew...temChild-detail) does not lists this method.
Thanks!
Page 1 of 1
Cdbauthmanager Api Method - Page 167
#2
Posted 10 January 2013 - 10:19 AM
yii_help, on 09 January 2013 - 04:41 PM, said:
I have been reading this book and is beneficial.
Some of the things I have not yet grasped , but may be because I am a newbie and no fault of the author :-)
On Page 167 , there is a line :
$role->addChild('createProject');
Is "addChild" a typo or am I missing something? . Because CDbAuthManager details page (http://www.yiiframew...temChild-detail) does not lists this method.
Thanks!
Some of the things I have not yet grasped , but may be because I am a newbie and no fault of the author :-)
On Page 167 , there is a line :
$role->addChild('createProject');
Is "addChild" a typo or am I missing something? . Because CDbAuthManager details page (http://www.yiiframew...temChild-detail) does not lists this method.
Thanks!
$roleis a reference to an instance of the authorization item, not the manager:
http://www.yiiframew...addChild-detail
#3
Posted 14 January 2013 - 10:38 PM
jefftulsa, on 10 January 2013 - 10:19 AM, said:
$roleis a reference to an instance of the authorization item, not the manager:
http://www.yiiframew...addChild-detail
Thanks for the clarification, it helped.Still learning... :-)
Share this topic:
Page 1 of 1

Help












