Basic
Test
Model Test
Ebook
Quiz-1: Yii Basic
Index
Yii Home
Basic
51
Controller
1
Model
3
Yii Component
1
Schools
Ebook
Question:
AR stands for in Yii framework
A
Auto Read
B
Active Rules
C
All Records
D
Active Records
Note:
Not available
Show answer
Show Note
Report
Question:
. ____method use to delete a row of data ?
A
delete()
B
remove()
C
truncate()
D
All of them
Note:
Not available
Show answer
Show Note
Report
Question:
The validation is based on the rules specified in the ______method of the AR class?
A
rules()
B
Validation()
C
Check()
D
Check
Note:
Not available
Show answer
Show Note
Report
Question:
when you create a new object of widget class, what is you have to write?
A
Widget
B
CWidget
C
$this->beginWidget()
D
$this->Widget()
Note:
Not available
Show answer
Show Note
Report
Question:
What is the first parameter of widget object
A
CActiveForm
B
id
C
htmlOptions
D
enableAjaxValidation
Note:
Not available
Show answer
Show Note
Report
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
First
Prev
1
2
3
4
Next
Last
/6
Go
Schools
App Store
Whiteboard
Blogs
Quiz
Test
Apply Course
Games
Freelancers
Professionals
Newspapers
Terms
Privacy
Copyright © 2024. Powered by
Intellect Software Ltd