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 do you define the library path in zend ?



How do you define the library path in zend ?..

Answer / Desh Deepak Diwakar

To define the library path in Zend Framework, you can use the `setAutoloaderNamespaces()` method of the application factory. Here's an example:

```php
$application = new ZendMvcApplication(array(
'autoloader' => array(
'ZendLoaderClassMapAutoloader' => array(
__DIR__ . '/autoload_classmap.php',
),
'ZendLoaderStandardAutoloader' => array(
'namespaces' => array(
__NAMESPACE__ => __DIR__ . '/src',
),
),
),
));
```

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Zend Interview Questions

What is authorization in zend framework?

1 Answers  


What is bootstrapping?

1 Answers  


How can I detect if an optional file has been uploaded?

1 Answers  


How can I add extra html (such as a link) to my form element?

1 Answers  


How to get all get data?

1 Answers  


Do you know what is the function lucene?

1 Answers  


What do you mean by service manager in zf2?

1 Answers  


Which class extend the zend controller?

1 Answers  


Why zend framework?

1 Answers  


Explain form element decorators in zend framework2?

1 Answers  


What are the default methods provided by decorators?

1 Answers  


Write a program to retrieve the view object within plugin?

1 Answers  


Categories