Basic
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:
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
Question:
Which is correct ?
A
Chtml::Error()
B
CHtml::error()
C
form->error()
D
form->error
Note:
Not available
Show answer
Show Note
Report
Question:
Which is correct ?
A
$form->hiddenField()
B
CHtml ->hiddenField()
C
CHtml:: hiddenField()
D
none of the above
Note:
Not available
Show answer
Show Note
Report
Question:
Which is correct ?
A
$form-> submitButton ()
B
CHtml -> submitButton ()
C
CHtml::submitButton()
D
none of the above
Note:
Not available
Show answer
Show Note
Report
Question:
Which represents a query criteria, such as conditions, ordering by, limit/offset?
A
Query
B
CDbCriteria
C
CQuery
D
CdQuery
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