Yii Framework Forum: Typo? - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

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: 3,134
  • 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 1.1 Application Development Cookbook

Enjoying Yii? Star us at github: 1.1 and 2.0.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

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