Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to create object of model?



How to create object of model?..

Answer / Rashmi Srivastava

In Zend Framework, you can create an object of a model by using the `new` keyword followed by the model's class name. Here's an example:n1. Assume you have a model named MyModel.php located in Application/Models.n2. To create an object, use: `$model = new Application_Models_MyModel();`

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Zend Interview Questions

What is the use of bootstrap in zend framework?

1 Answers  


Why do we need disable layout & how we can do it?

1 Answers  


In which file we can configuration in zend framework?

1 Answers  


What is zend controller front in zend framework?

1 Answers  


How to include js from controller and view in zend?

1 Answers  


Write a program to retrieve the view object within plugin?

1 Answers  


What are the methods used in decorator?

1 Answers  


How to disable zend layout from controller for ajax call only?

1 Answers  


Which class extend the zend controller?

1 Answers  


How to add custom view helpers to zend framework 2

1 Answers  


Explain what is being presented by the decorators?

1 Answers  


What do you know about zend layout?

1 Answers  


Categories