1. Question: To read data in a database table, which methods we need to call?

    A
    find()

    B
    findAll()

    C
    read()

    D
    readByPk()

    E
    findByAttributes(

    Note: Not available
    1. Report
  2. Question: Which is correct ?

    A
    Chtml::Error()

    B
    CHtml::error()

    C
    form->error()

    D
    form->error

    Note: Not available
    1. Report
  3. Question: Which is correct ?

    A
    $form->hiddenField()

    B
    CHtml ->hiddenField()

    C
    CHtml:: hiddenField()

    D
    none of the above

    Note: Not available
    1. Report
  4. Question: Which is correct ?

    A
    $form-> submitButton ()

    B
    CHtml -> submitButton ()

    C
    CHtml::submitButton()

    D
    none of the above

    Note: Not available
    1. Report
  5. Question: Which represents a query criteria, such as conditions, ordering by, limit/offset?

    A
    Query

    B
    CDbCriteria

    C
    CQuery

    D
    CdQuery

    Note: Not available
    1. Report
  6. Question: AR stands for in Yii framework

    A
    Auto Read

    B
    Active Rules

    C
    All Records

    D
    Active Records

    Note: Not available
    1. Report
  7. Question: . ____method use to delete a row of data ?

    A
    delete()

    B
    remove()

    C
    truncate()

    D
    All of them

    Note: Not available
    1. Report
  8. Question: The validation is based on the rules specified in the ______method of the AR class?

    A
    rules()

    B
    Validation()

    C
    Check()

    D
    Check

    Note: Not available
    1. Report
  9. Question: when you create a new object of widget class, what is you have to write?

    A
    Widget

    B
    CWidget

    C
    $this->beginWidget()

    D
    $this->Widget()

    Note: Not available
    1. Report
  10. Question: What is the first parameter of widget object

    A
    CActiveForm

    B
    id

    C
    htmlOptions

    D
    enableAjaxValidation

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