Correct Answer: App::uses('AppModel', 'Model'); class Ingredient extends AppModel { public $name = 'Ingredient'; }
Explanation:
Note: This Question is unanswered, help us to find answer for this one
CakePHP Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More CakePHP MCQ Questions
You want to generate three instances of a model form within the context of a view. What syntax is most correct to use with FormHelper::input() ? $i represents an incremented variable.
CakePHP will dynamically create a model object for you if it cannot find a corresponding file in /app/Model.
What kind of functionality does the Security Component provide?
Which file is processed first?
In cakePHP 2.x , the recursive property defines:
How will you include an element (header/footer etc.) within a layout?
Which function is executed before every action in the controller.
Which data retrieval function will return one result only?
By default, what controller action will be invoked if the action is not specified in the URL?
What is the default action for a controller?