test

Php code posted by w3build
created at 23 Jun 19:55

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php

/**
 * Aplikace Zend
 * 
 * @see Zend_Application
 */
require_once 'Zend/Application.php';

/**
 * Aplikace W3build
 * 
 * @package W3build_Application
 */
class W3build_Application extends Zend_Application {
    
    /**
     * Konstruktor
     * 
     * Vyvola {@link Zend_Application::__construct()} a nasledne si pomoci
     * {@link Zend_Registry::set()} nastavi konfiguraci do registru
     * 
     * @param string $environment
     * @param string $options 
     */
    public function __construct($environment, $options = null){
        parent::__construct($environment, $options);
        
        Zend_Registry::set('Application_Config', $this->getOptions());
    }
    
}

?>
728 Bytes in 4 ms with coderay