Yii
Test
Model Test
Ebook
Quiz-1: Yii Basic
Index
Yii Home
Basic
51
Controller
1
Model
3
Yii Component
1
Schools
Ebook
Question:
By default Ajax Validation is false
A
Write
B
Wrong
Note:
Not available
Show answer
Show Note
Report
Question:
Yii is equipped with a Web-based code generation tool called
A
Yii
B
Gii
C
Zii
D
CI
Note:
Not available
Show answer
Show Note
Report
Question:
Which base class use to manage authorization?
A
CUserIdentity
B
CUserAuthentication
C
UserIdentity
D
UserIdentityert
Note:
Not available
Show answer
Show Note
Report
Question:
UserIdentity class is located at
A
protected\extention
B
protected\controller
C
protected\components
D
protectedcomponents
Note:
Not available
Show answer
Show Note
Report
Question:
Which is correct
A
this->Error_Username_Invalid
B
this->ERROR_USERNAME_INVALID
C
self:: error_username_invalid
D
self::ERROR_USERNAME_INVALID
Note:
Not available
Show answer
Show Note
Report
Question:
By default Yii has only one demo user
A
true
B
false
Note:
Not available
Show answer
Show Note
Report
Question:
Only digit are support in text field for this which validation rules have to apply
A
alphanumeric
B
integer
C
numeric
D
numerical
Note:
Not available
Show answer
Show Note
Report
Question:
Where you have to define the relations method
A
controller
B
view
C
module
D
components
E
None of the above
Note:
Not available
Show answer
Show Note
Report
Question:
What is correct
A
public $layout='/layouts/aaa;
B
public $layout='//layouts/aaa/;
C
public $layout='/layouts/aaa/;
D
public $layout='//layouts/aaa;
Note:
Not available
Show answer
Show Note
Report
Question:
By which symbol in access rule define “only login user can access a action “
A
*
B
@
C
#
D
none of the above
Note:
Not available
Show answer
Show Note
Report
First
Prev
1
2
3
4
5
Next
Last
/6
Go
Schools
App Store
Whiteboard
Blogs
Quiz
Test
Apply Course
Games
Freelancers
Professionals
Newspapers
Terms
Privacy
Copyright © 2025. Powered by
Intellect Software Ltd