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:
Cakephp allows you to setup a combination of controllers ,models and views and release as a packaged application.
A
Helper
B
Plugin
C
Views
D
Behavior
Note:
Not available
Show answer
Show Note
Report
Question:
Session can be configured in a number of ways in cakephp?
A
$this->Session->write('Persion.eyeColor',Green');
B
array('user'=>array(
'username'=>'clark-kent@dailyplanet.com
'));
C
'username'=>'clark-kent@dailyplanet.com
';
D
array(
'username'=>'clark-kent@dailyplanet.com
'));
Note:
Not available
Show answer
Show Note
Report
Question:
How to retrieve the session value in CakePHP?
A
$green=$this->session->retrieve('Person.eyeColor');
B
$green=$this->session->get('Person.eyeColor');
C
$green=$this->session->read('Person.eyeColor');
Note:
Not available
Show answer
Show Note
Report
Question:
Which method will delete the session cookie and all session data stored in the temporary file system?
A
Nullable()
B
destroy()
C
unset()
Note:
Not available
Show answer
Show Note
Report
Question:
In CakePHP,what are the server built-in ways of authenticating users stored in your application?
A
Fromauthenticate
B
Databaseauthenticate
C
Basicauthenticate
D
Digestauthenticate
Note:
Not available
Show answer
Show Note
Report
Question:
What are the name of datasource in CakePHP Configuratoin array
A
Database/SqlServer
B
Database/MySql
C
Database/postgee
D
All of them
Note:
Not available
Show answer
Show Note
Report
Question:
How to load plug in one by one or all of them in a single call?
A
CakeLoad('ContractManager');
B
CakePlugin::loadAll();
C
CakePlugin::load('ContractManager');
D
Cake.LoadAll();
Note:
Not available
Show answer
Show Note
Report
Question:
Behaviors add extra funtionality to our models.CakePHP comes with a number of built-n behavior such as
A
Authentication
B
tree
C
Translate
D
Session
Note:
Not available
Show answer
Show Note
Report
Question:
Which helper use to create a forms quickly?
A
HTMLHelper
B
JsHelper
C
FormHelper
D
CacheHelper
Note:
Not available
Show answer
Show Note
Report
Question:
Which Helper contains method to make text more usable and friendly in our views?
A
HTMLHelper
B
JsHelper
C
FormHelper
D
TextHelper
Note:
Not available
Show answer
Show Note
Report
First
Prev
1
2
3
4
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