gautoloader mindplay-dk's Fix for Namespaces

  1. Requirements
  2. Install and Usage
  3. Resources

This is just a repackage of mindplay-dk's GAutoloader https://gist.github.com/4234540

Requirements

Tested with Yii 1.1.13

Install and Usage

Extract under /protected/extensions/

//Add to config/main.php
//Add to Extensions
'import'=>array(...
    'application.extensions.gautoloader.*'
...),

//Add to Components
'components'=>array( ....
    'autoloader'=>array(
            'class'=>'ext.gautoloader.EAutoloader'
        ),
....),


//Your Application
//Usage
Yii::app()->autoloader->getAutoloader()->addNamespace('Yournamespace\goes\here', '/path/to/namespace');

Resources

Thank mindplay-dk for this fix. https://gist.github.com/4234540

1 0
1 follower
618 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Others
Developed by: rapidtransit440
Created on: Jan 23, 2013
Last updated: 5 years ago

Downloads

show all

Related Extensions