Basic
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 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
Question:
Which method is incorrect
A
$this->render
B
$this->renderPartial
C
$this-> loadModel
D
$this-> performAjaxValidation
E
$this->Validation
Note:
Not available
Show answer
Show Note
Report
Question:
A controller is an instance of
A
CController
B
CModel
C
CBase Class
D
CComponent
Note:
Not available
Show answer
Show Note
Report
Question:
. A controller has a default action. The default action will be executed by default, the default action is named as
A
View
B
Index
C
Render
D
Action
Note:
Not available
Show answer
Show Note
Report
Question:
Which can be defined as a method whose name starts with the word action?
A
Index
B
Controller
C
Action
D
Model
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
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 © 2024. Powered by
Intellect Software Ltd