1. Question: Paginator in CakePHP is offered by a component in the controller to make building paginated queries easier.How to declare paginator component in a controller?

    A
    Public $myPage=array('Paginator');

    B
    Public $components=array('Paginator');

    C
    Public $helper=array('Paginator');

    Note: Not available
    1. Report
  2. Question: How to send email by using CakePHP?

    A
    $email=new cakeEmail(); $email=send('app@aaa.com','test');

    B
    $email=new cakeEmail();

    C
    $email=sender('app@aaa.com','test');

    D
    $email=new CakeEmail(); $email=sender('app@aaa.com','test');

    Note: Not available
    1. Report
  3. Question: The security Component create an easy way to integrate tighter security in our application.Its provides methods for various tasks like..

    A
    Restriction which HTTP Methods

    B
    Requiring that SSl be used

    C
    Limiting cross controller communication

    D
    All of them

    Note: Not available
    1. Report
  4. Question: _____ensures that the model is loaded when it is needed.

    A
    Uses('AppModel','Model');

    B
    App::uses('AppModel",Modelname');

    C
    App::uses('AppModel','Model');

    D
    ('AppModel",Model');

    Note: Not available
    1. Report
  5. Question: Which is the default cache Engine in CakePHP?

    A
    Filecache

    B
    Apccache

    C
    Wincache

    D
    XcacheEngine

    Note: Not available
    1. Report
  6. Question: What are commonly used components of cakephp?

    A
    Security

    B
    Sessions

    C
    Access control lists

    D
    Emails

    E
    All of them

    Note: Not available
    1. Report
  7. Question: What are commonly used helpers of cakephp?

    A
    CacheHelper

    B
    FormHelper

    C
    HtmlHelper

    D
    jsHelper

    Note: Not available
    1. Report
  8. Question: What is an Element?

    A
    Element in cakephpare smaller and reusable bits of view code

    B
    Used to display the views that contain presentational code.

    C
    Used to change the way that models behaves and enforcing model to act as something else.

    Note: Not available
    1. Report
  9. Question: How to including helpers in controller?

    A
    $helper=array('From','Html','Js','Time');

    B
    array('From','Html','Js','Time');

    C
    public $helpers=array('From','Html','Js','Time');

    Note: Not available
    1. Report
  10. Question: A copy of CakePHP's database configuration file is found in

    A
    /app/Config/database.php.default

    B
    /app/database.php.default

    C
    /app/Config/database/database.php.default

    D
    /app/Config/database.default

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd