Skip to content

elrolito/zendamf-for-kohana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZendAMF Module for Kohana 3.0

Simple port to work with KO3. Includes the minimal required Zend Framework. The only modified file is Zend/Amf/Server.php to use Kohana::auto_load instead of the ZendPluginLoader.

I will eventually add some examples.

Notes

  1. This module uses the Zend Autoloader in the vendor directory and may conflict with other modules using the same autoloader...

  2. I made the AMF endpoint controller so that you can easily extend it to add your own setClassMap() in the action_index() function, i.e.

    class Controller_Gateway extends Controller_Amf {
    
        public function action_index()
        {
            $this->server->setClassMap
            (
                '{actionscript package name}', 
                '{php class name}'
            );
        }
    }
  1. I extended Request to check for an AMF request.

     Request::is_amf()
    

About

ZendAMF module ported for Kohana 3.0

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages