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 |
What is authorization in zend framework?
What is bootstrapping?
How can I detect if an optional file has been uploaded?
How can I add extra html (such as a link) to my form element?
How to get all get data?
Do you know what is the function lucene?
What do you mean by service manager in zf2?
Which class extend the zend controller?
Why zend framework?
Explain form element decorators in zend framework2?
What are the default methods provided by decorators?
Write a program to retrieve the view object within plugin?