Yii
Test
Model Test
Ebook
Quiz-1: Yii Basic
Index
Yii Home
Basic
51
Controller
1
Model
3
Yii Component
1
Schools
Ebook
Question:
A controller don’t have any default action
A
True
B
False
Note:
Not available
Show answer
Show Note
Report
Question:
The prefix of any method name of a controller is
A
function
B
method
C
action
D
index
Note:
Not available
Show answer
Show Note
Report
Question:
A filter can also be an instance of
A
CFilter
B
CController
C
CDatabase
D
CModel
Note:
Not available
Show answer
Show Note
Report
Question:
Which models are used to store data collected from user input?
A
Active Record Model
B
Form Model
C
Widget
D
CMode
Note:
Not available
Show answer
Show Note
Report
Question:
To create a text input field, we can call
A
CHtml::textField();
B
CForm::textField()
C
CModel::textField()
D
$form->textField
Note:
Not available
Show answer
Show Note
Report
Question:
To create a text input field, we can call
A
CHtml::textField();
B
CForm::textField()
C
CModel::textField()
D
$form->textField
Note:
Not available
Show answer
Show Note
Report
Question:
______generates a label associated with the specified model attribute.
A
$form->labelEx
B
CHtml::Label
C
CHtml::activeLabel()
D
activeLabel
Note:
Not available
Show answer
Show Note
Report
Question:
Which is/are ways that not allow you to work with databases?
A
Active Record
B
ADO
C
Query Builder
D
SQL via DAO
Note:
Not available
Show answer
Show Note
Report
Question:
Which class represents for search from database?
A
CDbConnection
B
SQLConnection
C
DBConnection
D
CDbCriteria
Note:
Not available
Show answer
Show Note
Report
Question:
To finish the update data which method need to call?
A
Add()
B
Save()
C
Insert()
D
Insertion()
Note:
Not available
Show answer
Show Note
Report
First
Prev
1
2
3
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