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 do two colons mean in php?

1 Answers  


How to set up 2 navigations in zend framework 2?

1 Answers  


Features of mvc in zend framework?

1 Answers  


What is the function of action helper in zend?

1 Answers  


Explain the working with form elements in array notation?

1 Answers  


Which class extend the zend model? Zend_db_table_abstract

1 Answers  


Write a program to show the execution of the application?

1 Answers  


What zend acl?

1 Answers  


How do you set module name, controller name, and action name in zend framework?

1 Answers  


What is the latest version of zend framework?

1 Answers  


What are plugins in the zend framework?

1 Answers  


Where is the model in zf's mvc implementation?

1 Answers  


Categories