I'm reading the document http://www.yiiframew...ide/topics.auth, but have following questions for authManager:
1. In the config file:
'authManager'=>array( 'class'=>'CDbAuthManager', 'connectionID'=>'db', ),
but, what's the real difference between 'CDbAuthManager' and 'CPhpAuthManager'?
2.
$auth=Yii::app()->authManager;
$auth->createOperation('createPost','create a post');
$auth->createOperation('readPost','read a post');
$auth->createOperation('updatePost','update a post');
$auth->createOperation('deletePost','delete a post');
Where we should add these codes to, in a controller?
3. can we add some complex logic codes in $bizRule?

Help













