Yii Framework Forum: Typo? - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Typo? Page 55

#1 User is offline   Prithviraj 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 01-October 11

Posted 01 October 2011 - 03:25 AM

Page 55, Under the recipe "Using base controller"

Under "how to do it", point 1:

<?php
class SecureController extends Controller



is'nt it supposed to be 'extends CController' ? there is an missing 'C'

or am i wrong?
0

#2 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 5,142
  • Joined: 17-January 09
  • Location:Russia

Posted 01 October 2011 - 06:14 PM

Both CController and Controller are OK. Controller is generated by yiic webapp by default and includes some definitions used for breadcrumbs and context menus.
Yii 2.0 Development Cookbook

Enjoying Yii? Star us at github

Support me so I work on Yii fulltime: https://www.patreon.com/samdark
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users