Kimai_Registry::getConfig PHP Method

getConfig() public static method

Return the global configuration, merged with all user related configurations.
public static getConfig ( ) : Kimai_Config
return Kimai_Config
    public static function getConfig()
    {
        return self::get('Kimai_Config');
    }

Usage Example

Example #1
0
File: View.php Project: kimai/kimai
 public function init()
 {
     $this->setBasePath(APPLICATION_PATH . '/templates/');
     $this->addHelperPath(APPLICATION_PATH . '/templates/helpers/', 'Zend_View_Helper');
     $this->addHelperPath(APPLICATION_PATH . '/libraries/Kimai/View/Helper/', 'Kimai_View_Helper');
     parent::init();
     $kga = Kimai_Registry::getConfig();
     $this->assign('kga', $kga);
 }
All Usage Examples Of Kimai_Registry::getConfig