saniko Posted February 11, 2014 Share Posted February 11, 2014 Larry, As I mentioned before, I love your book. However, in Chapter 19, there seems to be a gap when it comes to implementing controller extensions. You've gone into some detail about how to create a controller extension by extending CExtController, but you did not mention how to actually implement one. You said it is just like any other extension, but it seems quite different. Here are the details that I know about: 1. Add a 'controllerMap' array into the return array in protected/main.php 2. Add configuration details for the extension: 'controllerMap'=>array( 'controllername'=>array( 'class'=>'ext.controllerextension.controllerextensionclassname', 'publicproperty'=>'value', ), 3. Extension can be accessed at controllername/controlleraction Can you add something like that to the next update? Take care, -saniko Link to comment Share on other sites More sharing options...
Larry Posted February 14, 2014 Share Posted February 14, 2014 Thanks for the input and the suggestion. I really appreciate it. I'll look it over and add it to the book. Thanks again! Link to comment Share on other sites More sharing options...
Recommended Posts