Basic
Test
Model Test
Ebook
quiz-1: CakePHP Model Test
Index
CakePHP Home
Basic
65
Libraries
2
Models
3
Controllers
1
Views
1
Installation
3
Schools
Ebook
Question:
_________often represent a single function or interface in an application.
A
View
B
Controller
C
Model
D
Actions
Note:
Not available
Show answer
Show Note
Report
Question:
To take a advantage of the validation features in cakephp, you'll need to use Cake's FormHelper in your:
A
action
B
helper
C
controller
D
views
Note:
Not available
Show answer
Show Note
Report
Question:
The single instruction in the action uses _______to pass data from the controller to view .
A
set()
B
show()
C
view()
D
get()
Note:
Not available
Show answer
Show Note
Report
Question:
cake's view files are stored in/app/View inside a folder named after the controller they correspond to .So for controller named PostController the view folderlocation will be
A
/app/posts
B
/app/views/Posts/
C
/app/View/post/
D
/app/View/posts/
Note:
Not available
Show answer
Show Note
Report
Question:
In cakephp,the view /template file extension is:
A
php
B
html
C
ctp
D
ctm
Note:
Not available
Show answer
Show Note
Report
Question:
$this->Html is the instance of cakephp's________class.
A
HtmlHelper
B
ViewHelper
C
htmlhelper
D
viewHelper
Note:
Not available
Show answer
Show Note
Report
Question:
How to create a form in cakephp?
A
$this->create()
B
$this->FormHelper->create()
C
$this->FormController->create()
D
$this->Form->create()
Note:
Not available
Show answer
Show Note
Report
Question:
In cakephp validation rules are defined in:
A
controller
B
model
C
view
D
helper
Note:
Not available
Show answer
Show Note
Report
Question:
Every cakePHP request includes a CakeRequest object object which is accessible using $this->request.
A
true
B
false
C
none
Note:
Not available
Show answer
Show Note
Report
Question:
Cake's routing is found in:
A
/app/Config/core.php
B
/app/Config/database.php
C
/app/Config/routes.php
D
/app/routes.php
Note:
Not available
Show answer
Show Note
Report
First
Prev
3
4
5
6
7
Next
Last
/7
Go
Schools
App Store
Whiteboard
Blogs
Quiz
Test
Apply Course
Games
Freelancers
Professionals
Newspapers
Terms
Privacy
Copyright © 2024. Powered by
Intellect Software Ltd